| Violation |
Line |
| A high number of imports can indicate a high degree of coupling within an object. |
34–677 |
| Possible God class (WMC=65, ATFD=120, TCC=0.029411764705882353) |
34–677 |
| The class 'OcrService' has a Cyclomatic Complexity of 5 (Highest = 15). |
78–677 |
| Use block level rather than method level synchronization |
124–179 |
| Avoid declaring a variable if it is unreferenced before a possible exit point. |
131 |
| If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
202 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
209 |
| Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
218 |
| New exception is thrown in catch block, original stack trace may be lost |
221 |
| A throw statement in a finally block makes the control flow hard to understand. |
223–248 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
227 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
231 |
| New exception is thrown in catch block, original stack trace may be lost |
244 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
268 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
270 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
272 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
276 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
303 |
| Avoid instantiating Long objects.Call Long.valueOf() instead |
324 |
| New exception is thrown in catch block, original stack trace may be lost |
354 |
| The method trasformImagetoJacobOject() has an NPath complexity of 240 |
369–422 |
| A throw statement in a finally block makes the control flow hard to understand. |
408–419 |
| The method 'setValueImageExtensionAndContent' has a Cyclomatic Complexity of 15. |
498–568 |
| Avoid declaring a variable if it is unreferenced before a possible exit point. |
615 |
| Avoid declaring a variable if it is unreferenced before a possible exit point. |
616 |
| Avoid using Literals in Conditional Statements |
619 |
| Use explicit scoping instead of the default package private level |
641 |
| Use explicit scoping instead of the default package private level |
642 |
| Use explicit scoping instead of the default package private level |
643 |
| Returning '_byteContent' may expose an internal array. |
657 |
| The user-supplied array '_byteContent' is stored directly. |
660 |