FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 2.0.0
Threshold is low
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
40 |
11 |
0 |
0 |
de.smartics.maven.plugin.buildmetadata.AbstractReportMojo
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in de.smartics.maven.plugin.buildmetadata.AbstractReportMojo.provideSink(): new java.io.FileWriter(File) |
I18N |
DM_DEFAULT_ENCODING |
296 |
High |
de.smartics.maven.plugin.buildmetadata.BuildMetaDataMojo
Bug |
Category |
Details |
Line |
Priority |
Class de.smartics.maven.plugin.buildmetadata.BuildMetaDataMojo is final but declares protected field de.smartics.maven.plugin.buildmetadata.BuildMetaDataMojo.buildDatePattern |
STYLE |
CI_CONFUSED_INHERITANCE |
Not available |
Low |
de.smartics.maven.plugin.buildmetadata.BuildReportMojo
Bug |
Category |
Details |
Line |
Priority |
Class de.smartics.maven.plugin.buildmetadata.BuildReportMojo is final but declares protected field de.smartics.maven.plugin.buildmetadata.BuildReportMojo.properties |
STYLE |
CI_CONFUSED_INHERITANCE |
Not available |
Low |
Class de.smartics.maven.plugin.buildmetadata.BuildReportMojo is final but declares protected field de.smartics.maven.plugin.buildmetadata.BuildReportMojo.propertyOutputFileMapping |
STYLE |
CI_CONFUSED_INHERITANCE |
Not available |
Low |
Unwritten public or protected field: de.smartics.maven.plugin.buildmetadata.BuildReportMojo.properties |
STYLE |
UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD |
196 |
Medium |
de.smartics.maven.plugin.buildmetadata.common.RevisionHelper
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in de.smartics.maven.plugin.buildmetadata.common.RevisionHelper.provideLocallyModifiedInfo(Properties, RevisionNumberFetcher) |
STYLE |
REC_CATCH_EXCEPTION |
187 |
Low |
de.smartics.maven.plugin.buildmetadata.data.MetaDataProviderBuilder
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in de.smartics.maven.plugin.buildmetadata.data.MetaDataProviderBuilder.setProperty(MetaDataProvider, String, String) |
STYLE |
REC_CATCH_EXCEPTION |
224 |
Low |
de.smartics.maven.plugin.buildmetadata.data.Provider
Bug |
Category |
Details |
Line |
Priority |
Read of unwritten field properties in de.smartics.maven.plugin.buildmetadata.data.Provider.isRunAtEndOfBuild() |
CORRECTNESS |
NP_UNWRITTEN_FIELD |
100 |
Medium |
Unwritten field: de.smartics.maven.plugin.buildmetadata.data.Provider.properties |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
87 |
Medium |
Unwritten field: de.smartics.maven.plugin.buildmetadata.data.Provider.type |
CORRECTNESS |
UWF_UNWRITTEN_FIELD |
75 |
Medium |
de.smartics.maven.plugin.buildmetadata.maven.MavenPropertyHelper
Bug |
Category |
Details |
Line |
Priority |
Exception is caught when Exception is not thrown in de.smartics.maven.plugin.buildmetadata.maven.MavenPropertyHelper.getProjectProperty(String) |
STYLE |
REC_CATCH_EXCEPTION |
143 |
Low |