The following document contains the results of SpotBugs
SpotBugs Version is 4.1.2
Threshold is medium
Effort is default
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
33 | 15 | 0 | 0 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Alimentation à perte d'une variable locale dans la méthode org.waarp.vitam.common.waarp.ManagerToWaarpScript.sendBackInformation(DipRequestFactory, DipRequest, String, String) | STYLE | DLS_DEAD_LOCAL_STORE | 108 | High |
Alimentation à perte d'une variable locale dans la méthode org.waarp.vitam.common.waarp.ManagerToWaarpScript.sendBackInformation(IngestRequestFactory, IngestRequest, String, String) | STYLE | DLS_DEAD_LOCAL_STORE | 75 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.waarp.vitam.common.waarp.ManagerToWaarpScript$StatusIdResult.invoke(): java.io.ByteArrayOutputStream.toString() | I18N | DM_DEFAULT_ENCODING | 233 | High |
La classe org.waarp.vitam.common.waarp.ManagerToWaarpScript$StatusIdResult devrait-elle être une classe interne static ? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 138-238 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Test de nullité dans inputStream d'une valeur préalablement déréférencée dans org.waarp.vitam.dip.DipManager.sendDIP(DipRequestFactory, DipRequest, Response) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 363 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Chemin de fichier codé en dur dans le code de org.waarp.vitam.dip.DipRequestFactory.<static initializer for DipRequestFactory>() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 65 | Medium |
Chemin de fichier codé en dur dans le code de org.waarp.vitam.dip.DipRequestFactory.parseDirectoryOption(CommandLine) | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 105 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.waarp.vitam.dip.DipRequestFactory.setBaseDir(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 116 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Test de nullité dans client d'une valeur préalablement déréférencée dans org.waarp.vitam.dip.DipTask.invoke() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 160 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.waarp.vitam.ingest.IngestManager.readInputStreamLimited(InputStream, int): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 208 | High |
Test de nullité dans inputStream d'une valeur préalablement déréférencée dans org.waarp.vitam.ingest.IngestManager.sendATR(IngestRequestFactory, IngestRequest, Response) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 571 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Chemin de fichier codé en dur dans le code de org.waarp.vitam.ingest.IngestRequestFactory.<static initializer for IngestRequestFactory>() | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 69 | Medium |
Chemin de fichier codé en dur dans le code de org.waarp.vitam.ingest.IngestRequestFactory.parseDirectoryOption(CommandLine) | STYLE | DMI_HARDCODED_ABSOLUTE_FILENAME | 109 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.waarp.vitam.ingest.IngestRequestFactory.setBaseDir(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 120 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Test de nullité dans client d'une valeur préalablement déréférencée dans org.waarp.vitam.ingest.IngestTask.invoke() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 187 | Medium |