The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is low
Effort is min
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
11 | 19 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The field name com.github.smokestack.jdbc.MockConnection.TransactionIsolationLevel doesn't start with a lower case letter | BAD_PRACTICE | NM_FIELD_NAMING_CONVENTION | Not available | Low |
Unread field: com.github.smokestack.jdbc.MockConnection.TransactionIsolationLevel | PERFORMANCE | URF_UNREAD_FIELD | 532 | Medium |
Unread field: com.github.smokestack.jdbc.MockConnection.autoGeneratedKeys | PERFORMANCE | URF_UNREAD_FIELD | 340 | Medium |
Unread field: com.github.smokestack.jdbc.MockConnection.resultSetConcurrency | PERFORMANCE | URF_UNREAD_FIELD | 157 | Medium |
Unread field: com.github.smokestack.jdbc.MockConnection.resultSetType | PERFORMANCE | URF_UNREAD_FIELD | 156 | Medium |
Unused field: com.github.smokestack.jdbc.MockConnection.nativeSQL | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |
Unwritten field: com.github.smokestack.jdbc.MockConnection.transactionIsolation | CORRECTNESS | UWF_UNWRITTEN_FIELD | 227 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: com.github.smokestack.jdbc.MockDriver.url | PERFORMANCE | URF_UNREAD_FIELD | 48 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method com.github.smokestack.jdbc.MockPreparedStatement.setNull(int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 234 | Medium |
Method com.github.smokestack.jdbc.MockPreparedStatement.setObject(int, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 249 | Medium |
Unread field: com.github.smokestack.jdbc.MockPreparedStatement.sql | PERFORMANCE | URF_UNREAD_FIELD | 46 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: com.github.smokestack.jdbc.MockResultSet.rsValues | PERFORMANCE | URF_UNREAD_FIELD | 56 | Medium |
Unread field: com.github.smokestack.jdbc.MockResultSet.sql | PERFORMANCE | URF_UNREAD_FIELD | 59 | Medium |
MockResultSet.parent not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available | Low |
Unwritten field: com.github.smokestack.jdbc.MockResultSet.concurrency | CORRECTNESS | UWF_UNWRITTEN_FIELD | 443 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
com.github.smokestack.jdbc.MockStatement.addBatch(String) invokes inefficient new String() constructor | PERFORMANCE | DM_STRING_VOID_CTOR | 67 | Medium |
Unread field: com.github.smokestack.jdbc.MockStatement.cursorName | PERFORMANCE | URF_UNREAD_FIELD | 503 | Medium |
Unread field: com.github.smokestack.jdbc.MockStatement.escapeProcessing | PERFORMANCE | URF_UNREAD_FIELD | 515 | Medium |
Unused field: com.github.smokestack.jdbc.MockStatement.updateCount | PERFORMANCE | UUF_UNUSED_FIELD | Not available | Medium |