Parent Project
Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.1

Threshold is Low

Effort is Max

Summary

Classes Bugs Errors Missing Classes
75 43 0 0

org.apache.myfaces.maven.plugin.AbstractAPTMojo

Bug Category Details Line
org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() invokes java.lang.reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block BAD_PRACTICE DP_DO_INSIDE_DO_PRIVILEGED 461
Read of unwritten field tempRoot in org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() CORRECTNESS NP_UNWRITTEN_FIELD 384
Read of unwritten field tempRoot in org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() CORRECTNESS NP_UNWRITTEN_FIELD 386
Read of unwritten field workingDir in org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() CORRECTNESS NP_UNWRITTEN_FIELD 417
Read of unwritten field workingDir in org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() CORRECTNESS NP_UNWRITTEN_FIELD 419
Read of unwritten field aptOptions in org.apache.myfaces.maven.plugin.AbstractAPTMojo.setAptCommandlineSwitches(Commandline) CORRECTNESS NP_UNWRITTEN_FIELD 553
Read of unwritten field basedir in org.apache.myfaces.maven.plugin.AbstractAPTMojo.setAptSpecifics(Commandline) CORRECTNESS NP_UNWRITTEN_FIELD 574
Read of unwritten field factory in org.apache.myfaces.maven.plugin.AbstractAPTMojo.setAptSpecifics(Commandline) CORRECTNESS NP_UNWRITTEN_FIELD 592
Exception is caught when Exception is not thrown in org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() STYLE REC_CATCH_EXCEPTION 521
Exception is caught when Exception is not thrown in org.apache.myfaces.maven.plugin.AbstractAPTMojo.execute() STYLE REC_CATCH_EXCEPTION 521
Method org.apache.myfaces.maven.plugin.AbstractAPTMojo.addIncludedSources(File, List, boolean) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 740
Method org.apache.myfaces.maven.plugin.AbstractAPTMojo.quotedPathArgument(String) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 946
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.aptOptions CORRECTNESS UWF_UNWRITTEN_FIELD 549
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.basedir CORRECTNESS UWF_UNWRITTEN_FIELD 574
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.encoding CORRECTNESS UWF_UNWRITTEN_FIELD 617
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.factory CORRECTNESS UWF_UNWRITTEN_FIELD 592
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.maxmemory CORRECTNESS UWF_UNWRITTEN_FIELD 422
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.minmemory CORRECTNESS UWF_UNWRITTEN_FIELD 424
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.project CORRECTNESS UWF_UNWRITTEN_FIELD 264
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.resourceTargetPath CORRECTNESS UWF_UNWRITTEN_FIELD 314
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.targetFiles CORRECTNESS UWF_UNWRITTEN_FIELD 298
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.tempRoot CORRECTNESS UWF_UNWRITTEN_FIELD 384
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.workingDir CORRECTNESS UWF_UNWRITTEN_FIELD 417
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.debug CORRECTNESS UWF_UNWRITTEN_FIELD 605
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.force CORRECTNESS UWF_UNWRITTEN_FIELD 272
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.fork CORRECTNESS UWF_UNWRITTEN_FIELD 381
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.nocompile CORRECTNESS UWF_UNWRITTEN_FIELD 588
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.resourceFiltering CORRECTNESS UWF_UNWRITTEN_FIELD 306
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.showDeprecation CORRECTNESS UWF_UNWRITTEN_FIELD 613
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.showWarnings CORRECTNESS UWF_UNWRITTEN_FIELD 609
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.staleMillis CORRECTNESS UWF_UNWRITTEN_FIELD 290
Unwritten field: org.apache.myfaces.maven.plugin.AbstractAPTMojo.verbose CORRECTNESS UWF_UNWRITTEN_FIELD 280

org.apache.myfaces.maven.plugin.AptMojo

Bug Category Details Line
Unwritten field: org.apache.myfaces.maven.plugin.AptMojo.aptSourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 108
Unwritten field: org.apache.myfaces.maven.plugin.AptMojo.classpathElements CORRECTNESS UWF_UNWRITTEN_FIELD 98
Unwritten field: org.apache.myfaces.maven.plugin.AptMojo.compileSourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 93
Unwritten field: org.apache.myfaces.maven.plugin.AptMojo.generated CORRECTNESS UWF_UNWRITTEN_FIELD 88
Unwritten field: org.apache.myfaces.maven.plugin.AptMojo.outputDirectory CORRECTNESS UWF_UNWRITTEN_FIELD 103

org.apache.myfaces.maven.plugin.TestAptMojo

Bug Category Details Line
Unwritten field: org.apache.myfaces.maven.plugin.TestAptMojo.aptSourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 153
Unwritten field: org.apache.myfaces.maven.plugin.TestAptMojo.compileSourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 138
Unwritten field: org.apache.myfaces.maven.plugin.TestAptMojo.outputDirectory CORRECTNESS UWF_UNWRITTEN_FIELD 148
Unwritten field: org.apache.myfaces.maven.plugin.TestAptMojo.testClasspathElements CORRECTNESS UWF_UNWRITTEN_FIELD 143
Unwritten field: org.apache.myfaces.maven.plugin.TestAptMojo.testGenerated CORRECTNESS UWF_UNWRITTEN_FIELD 133
Unwritten field: org.apache.myfaces.maven.plugin.TestAptMojo.skip CORRECTNESS UWF_UNWRITTEN_FIELD 109