Bug |
Category |
Details |
Line |
Priority |
Do not catch NullPointerException like in com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() |
STYLE |
DCN_NULLPOINTER_EXCEPTION |
384 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getClosureExterns() may expose internal representation by returning HtmlCompressorMojo.closureExterns |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1211 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getFileExt() may expose internal representation by returning HtmlCompressorMojo.fileExt |
MALICIOUS_CODE |
EI_EXPOSE_REP |
486 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getFileExtensions() may expose internal representation by returning HtmlCompressorMojo.fileExtensions |
MALICIOUS_CODE |
EI_EXPOSE_REP |
508 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getPredefinedPreservePatterns() may expose internal representation by returning HtmlCompressorMojo.predefinedPreservePatterns |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1002 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getPreservePatternFiles() may expose internal representation by returning HtmlCompressorMojo.preservePatternFiles |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1040 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getPreservePatterns() may expose internal representation by returning HtmlCompressorMojo.preservePatterns |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1021 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.setClosureExterns(String[]) may expose internal representation by storing an externally mutable object into HtmlCompressorMojo.closureExterns |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
1221 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.setFileExt(String[]) may expose internal representation by storing an externally mutable object into HtmlCompressorMojo.fileExt |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
499 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.setFileExtensions(String[]) may expose internal representation by storing an externally mutable object into HtmlCompressorMojo.fileExtensions |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
518 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.setPredefinedPreservePatterns(String[]) may expose internal representation by storing an externally mutable object into HtmlCompressorMojo.predefinedPreservePatterns |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
1012 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.setPreservePatternFiles(File[]) may expose internal representation by storing an externally mutable object into HtmlCompressorMojo.preservePatternFiles |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
1050 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.setPreservePatterns(String[]) may expose internal representation by storing an externally mutable object into HtmlCompressorMojo.preservePatterns |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
1031 |
Medium |
Class com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo defines fields that are used only as locals |
CORRECTNESS |
FCBL_FIELD_COULD_BE_LOCAL |
Not available |
Medium |
Class com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo defines fields that are used only as locals |
CORRECTNESS |
FCBL_FIELD_COULD_BE_LOCAL |
Not available |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
350 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
365 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
375 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
452 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
306 |
High |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
309 |
High |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
320 |
High |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
334 |
High |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
337 |
High |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() creates Boxed primitive from primitive only to get primitive value |
PERFORMANCE |
NAB_NEEDLESS_BOX_TO_UNBOX |
419 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() creates Boxed primitive from primitive only to get primitive value |
PERFORMANCE |
NAB_NEEDLESS_BOX_TO_UNBOX |
420 |
Medium |
Possible null pointer dereference in com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() due to return value of called method |
STYLE |
NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE |
449 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() does not presize the allocation of a collection |
PERFORMANCE |
PSC_PRESIZE_COLLECTIONS |
315 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
427 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
428 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
429 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
430 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
432 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
434 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
436 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
438 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
439 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
443 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() passes constant String of length 1 to character overridden method |
PERFORMANCE |
UCPM_USE_CHARACTER_PARAMETERIZED_METHOD |
444 |
Medium |