The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Low
Effort is Default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
123 | 22 | 0 | 0 |
Bug | Category | Details | Line |
---|---|---|---|
com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound.defaultVoiceName isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 33 |
com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound.defaultVoicePackage isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 35 |
Unread field: com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound.locale | PERFORMANCE | URF_UNREAD_FIELD | 52 |
Bug | Category | Details | Line |
---|---|---|---|
Read of unwritten field audioInputStream in com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound$InputStreamAudioPlayer.close() | CORRECTNESS | NP_UNWRITTEN_FIELD | 309 |
Should com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound$InputStreamAudioPlayer be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 230-449 |
com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound$InputStreamAudioPlayer.getAudioFormat() is unsynchronized, com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound$InputStreamAudioPlayer.setAudioFormat(AudioFormat) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 270 |
Private method com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound$InputStreamAudioPlayer.waitResume() is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 422 |
Unwritten field: com.octo.captcha.component.sound.wordtosound.AbstractFreeTTSWordToSound$InputStreamAudioPlayer.audioInputStream | CORRECTNESS | UWF_UNWRITTEN_FIELD | 309 |
Bug | Category | Details | Line |
---|---|---|---|
Inconsistent synchronization of com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound.voice; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 80 |
com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound.defaultVoiceName isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 33 |
com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound.defaultVoicePackage isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 35 |
Class com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 33-170 |
Bug | Category | Details | Line |
---|---|---|---|
Read of unwritten field audioInputStream in com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound$InputStreamAudioPlayer.close() | CORRECTNESS | NP_UNWRITTEN_FIELD | 257 |
Should com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound$InputStreamAudioPlayer be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 178-387 |
com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound$InputStreamAudioPlayer.getAudioFormat() is unsynchronized, com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound$InputStreamAudioPlayer.setAudioFormat(AudioFormat) is synchronized | MT_CORRECTNESS | UG_SYNC_SET_UNSYNC_GET | 218 |
Unwritten field: com.octo.captcha.component.sound.wordtosound.FreeTTSWordToSound$InputStreamAudioPlayer.audioInputStream | CORRECTNESS | UWF_UNWRITTEN_FIELD | 257 |
Bug | Category | Details | Line |
---|---|---|---|
Exception is caught when Exception is not thrown in com.octo.captcha.engine.sound.utils.SoundCaptchaToWAV.main(String[]) | STYLE | REC_CATCH_EXCEPTION | 88 |
Exception is caught when Exception is not thrown in com.octo.captcha.engine.sound.utils.SoundCaptchaToWAV.main(String[]) | STYLE | REC_CATCH_EXCEPTION | 82 |
Bug | Category | Details | Line |
---|---|---|---|
com.octo.captcha.module.servlet.SimpleSoundCaptchaServlet.service isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 28 |
Class com.octo.captcha.module.servlet.SimpleSoundCaptchaServlet implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 26-83 |
com.octo.captcha.module.servlet.SimpleSoundCaptchaServlet is Serializable; consider declaring a serialVersionUID | BAD_PRACTICE | SE_NO_SERIALVERSIONID | 26-83 |
Bug | Category | Details | Line |
---|---|---|---|
Class com.octo.captcha.service.sound.DefaultManageableSoundCaptchaService implements same interface as superclass | STYLE | RI_REDUNDANT_INTERFACES | 34-51 |