FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
83 54 0 0

Files

Class Bugs
org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo 51
org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo$1 1
org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo$2 1
org.apache.myfaces.trinidadbuild.plugin.jdeveloper.TldContentHandler$PluginEntityResolver 1

org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo

Bug Category Details Line
org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 337
org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 402
Use of non-localized String.toUpperCase() or String.toLowerCase I18N DM_CONVERT_CASE 1715
Read of unwritten field release in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo._parseRelease() CORRECTNESS NP_UNWRITTEN_FIELD 1830
Read of unwritten field reactorProjects in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.findDependentProject(String) CORRECTNESS NP_UNWRITTEN_FIELD 1786
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 328
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 334
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 343
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 345
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 348
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 369
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 373
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 377
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 378
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateProject() CORRECTNESS NP_UNWRITTEN_FIELD 381
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 393
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 399
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 406
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 408
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 412
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 414
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 415
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 416
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 419
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 439
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 443
Read of unwritten field testSourceRoots in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 423
Read of unwritten field testSourceRoots in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 425
Read of unwritten field testSourceRoots in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateTestProject() CORRECTNESS NP_UNWRITTEN_FIELD 434
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateWorkspace() CORRECTNESS NP_UNWRITTEN_FIELD 305
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.generateWorkspace() CORRECTNESS NP_UNWRITTEN_FIELD 307
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceLocalTagLibraries(Xpp3Dom) CORRECTNESS NP_UNWRITTEN_FIELD 982
Read of unwritten field project in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceProjects(File, Xpp3Dom) CORRECTNESS NP_UNWRITTEN_FIELD 501
Redundant nullcheck of webInfDir, which is known to be non-null in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceLocalTagLibraries(Xpp3Dom) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 984
Usage of GetResource in org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.readDOM(File, String) may be unsafe if class is extended BAD_PRACTICE UI_INHERITANCE_UNSAFE_GETRESOURCE 1635
Private method org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.replaceResourcePaths(File, List, Xpp3Dom) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 725-751
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.compiler CORRECTNESS UWF_UNWRITTEN_FIELD 1365
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.distributedTagLibraries CORRECTNESS UWF_UNWRITTEN_FIELD 1100
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.javaOptions CORRECTNESS UWF_UNWRITTEN_FIELD 1402
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.libraries CORRECTNESS UWF_UNWRITTEN_FIELD 912
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.project CORRECTNESS UWF_UNWRITTEN_FIELD 305
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.reactorProjects CORRECTNESS UWF_UNWRITTEN_FIELD 1786
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.release CORRECTNESS UWF_UNWRITTEN_FIELD 307
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.resourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 359
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.runTarget CORRECTNESS UWF_UNWRITTEN_FIELD 1405
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.sourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 350
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.testResourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 429
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.testSourceRoots CORRECTNESS UWF_UNWRITTEN_FIELD 423
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.force CORRECTNESS UWF_UNWRITTEN_FIELD 1627
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.makeProject CORRECTNESS UWF_UNWRITTEN_FIELD 1394
Unwritten field: org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo.projectHasTests CORRECTNESS UWF_UNWRITTEN_FIELD 393

org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo$1

Bug Category Details Line
The class org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo$2

Bug Category Details Line
The class org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON Not available

org.apache.myfaces.trinidadbuild.plugin.jdeveloper.TldContentHandler$PluginEntityResolver

Bug Category Details Line
Should org.apache.myfaces.trinidadbuild.plugin.jdeveloper.TldContentHandler$PluginEntityResolver be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC Not available