Bug |
Category |
Details |
Line |
Priority |
Do not catch NullPointerException like in com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() |
STYLE |
DCN_NULLPOINTER_EXCEPTION |
387 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getClosureExterns() may expose internal representation by returning HtmlCompressorMojo.closureExterns |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1214 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getFileExt() may expose internal representation by returning HtmlCompressorMojo.fileExt |
MALICIOUS_CODE |
EI_EXPOSE_REP |
489 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getFileExtensions() may expose internal representation by returning HtmlCompressorMojo.fileExtensions |
MALICIOUS_CODE |
EI_EXPOSE_REP |
511 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getPredefinedPreservePatterns() may expose internal representation by returning HtmlCompressorMojo.predefinedPreservePatterns |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1005 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getPreservePatternFiles() may expose internal representation by returning HtmlCompressorMojo.preservePatternFiles |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1043 |
Medium |
com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.getPreservePatterns() may expose internal representation by returning HtmlCompressorMojo.preservePatterns |
MALICIOUS_CODE |
EI_EXPOSE_REP |
1024 |
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 |
1224 |
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 |
502 |
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 |
521 |
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 |
1015 |
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 |
1053 |
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 |
1034 |
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 |
353 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
368 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
378 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() throws alternative exception from catch block without history |
CORRECTNESS |
LEST_LOST_EXCEPTION_STACK_TRACE |
455 |
Medium |
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 |
312 |
High |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
323 |
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() makes literal string comparisons passing the literal as an argument |
STYLE |
LSC_LITERAL_STRING_COMPARISON |
340 |
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 |
422 |
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 |
423 |
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 |
452 |
Medium |
This API (java/io/File.<init>(Ljava/lang/String;)V) reads a file whose location might be specified by user input |
SECURITY |
PATH_TRAVERSAL_IN |
264 |
Medium |
Method com.tunyk.mvn.plugins.htmlcompressor.HtmlCompressorMojo.execute() does not presize the allocation of a collection |
PERFORMANCE |
PSC_PRESIZE_COLLECTIONS |
318 |
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 |
431 |
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 |
433 |
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 |
435 |
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 |
437 |
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 |
441 |
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 |
442 |
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 |
446 |
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 |
447 |
Medium |