The following document contains the results of FindBugs
FindBugs Version is 2.0.3
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.apache.maven.plugins.stage.DefaultRepositoryCopier | 13 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.maven.plugins.stage.DefaultRepositoryCopier.copy(Repository, Repository, String): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 157 | High |
Found reliance on default encoding in org.apache.maven.plugins.stage.DefaultRepositoryCopier.mergeMetadata(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 347 | High |
Found reliance on default encoding in org.apache.maven.plugins.stage.DefaultRepositoryCopier.mergeMetadata(File): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 363 | High |
Read of unwritten field wagonManager in org.apache.maven.plugins.stage.DefaultRepositoryCopier.copy(Repository, Repository, String) | CORRECTNESS | NP_UNWRITTEN_FIELD | 107 | Medium |
Read of unwritten field wagonManager in org.apache.maven.plugins.stage.DefaultRepositoryCopier.scanForArtifactPaths(ArtifactRepository) | CORRECTNESS | NP_UNWRITTEN_FIELD | 499 | Medium |
org.apache.maven.plugins.stage.DefaultRepositoryCopier.checksum(File, String) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 409 | Medium |
org.apache.maven.plugins.stage.DefaultRepositoryCopier.mergeMetadata(File) may fail to clean up java.io.Reader on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 347 | Medium |
org.apache.maven.plugins.stage.DefaultRepositoryCopier.mergeMetadata(File) may fail to clean up java.io.Writer on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 363 | Medium |
org.apache.maven.plugins.stage.DefaultRepositoryCopier.scanDirectory(File, File, ZipOutputStream, String, Set) may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 309 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.maven.plugins.stage.DefaultRepositoryCopier.copy(Repository, Repository, String) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 105 | Medium |
Exceptional return value of java.io.File.delete() ignored in org.apache.maven.plugins.stage.DefaultRepositoryCopier.mergeMetadata(File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 384 | Medium |
org.apache.maven.plugins.stage.DefaultRepositoryCopier.encode(byte[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 451 | Medium |
Unwritten field: org.apache.maven.plugins.stage.DefaultRepositoryCopier.wagonManager | CORRECTNESS | UWF_UNWRITTEN_FIELD | 107 | Medium |