The following document contains the results of FindBugs Report
FindBugs Version is 1.2.1
Threshold is Ignore
Effort is Max
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 111 | 13 | 0 | 0 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Usage of GetResource in cz.startnet.utils.pgdiff.PgDiffArguments.printUsage(PrintWriter) may be unsafe if class is extended | BAD_PRACTICE | UI_INHERITANCE_UNSAFE_GETRESOURCE | 275 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Dead store of null to reader in cz.startnet.utils.pgdiff.loader.PgDumpLoader.loadDatabaseSchema(InputStream, String) | STYLE | DLS_DEAD_LOCAL_STORE_OF_NULL | 160 |
| Possible null pointer dereference in cz.startnet.utils.pgdiff.loader.PgDumpLoader.getWholeCommand(BufferedReader, String) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 273 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Nonsensical self computation of singleQuoteOn with itself cz.startnet.utils.pgdiff.parsers.ParserUtils.getCommandEnd(String, int) | CORRECTNESS | SA_LOCAL_SELF_COMPUTATION | 54 |
| Bug | Category | Details | Line |
|---|---|---|---|
| PgConstraint.definition not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| PgConstraint.tableName not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| PgFunction.declaration not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| PgFunction.name not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| PgIndex.definition not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| PgIndex.tableName not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| PgTrigger.function not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| PgTrigger.name not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| PgTrigger.tableName not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |