Releases: kjlubick/fb-contrib-eclipse-quick-fixes
The countdown to 1.0.0 begins! No more dev builds of FindBugs
Findbugs (and the eclipse plugin) is now at 3.0.1, which means installing a special dev version of FindBugs in order to install fb-contrib-eclipse-quick-fixes is a thing of the past. As the title suggests, we begin the countdown to 1.0.0.
Also new in this version is a contributed quickfix for FindSecurityBugs and a few more on the way.
New features:
This version has new quickfixes for:
- PREDICTABLE_RANDOM (Find Security Bugs)
And the installation is a bit easier, with the introductions of "categories" in the install, which should have been done in the first place.
To install this project, open Eclipse, go to Help>Install New Software, and copy in the following link:
http://dl.bintray.com/kjlubick/fb-contrib-eclipse-quickfixes/
The p2 release - available at bintray!
I am please to announce that fb-contrib Eclipse quick fixes is now hosted at Bintray. What does this mean to you? Well, instead of needing to unzip a folder, you can simply open Eclipse, go to Help>Install New Software, and copy in the following link:
http://dl.bintray.com/kjlubick/fb-contrib-eclipse-quickfixes/
This link will have the always updated version of the plugin and a copy of the dev version of FindBugs. Fortunately, 3.0.1 of FindBugs is in RC2 at the moment, so the dev version will not be needed for much longer.
New Features
This version has new quickfixes for:
- ACEM_ABSTRACT_CLASS_EMPTY_METHODS (fb-contrib)
- HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_LOCAL (fb-contrib)
- LO_SUSPECT_LOG_CLASS (fb-contrib)
- OCP_OVERLY_CONCRETE_PARAMETER (fb-contrib)
- SPP_CONVERSION_OF_STRING_LITERAL (fb-contrib)
- SPP_EQUALS_ON_ENUM (fb-contrib)
- SPP_USE_ISEMPTY (fb-contrib)
- UVA_USE_VAR_ARGS (fb-contrib)
- CO_COMPARETO_INCORRECT_FLOATING (Findbugs)
- SF_SWITCH_NO_DEFAULT (Findbugs)
- VA_FORMAT_STRING_BAD_CONVERSION (Findbugs)
- VA_FORMAT_STRING_BAD_CONVERSION_FROM_ARRAY (Findbugs)
- VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN (Findbugs)
- VA_FORMAT_STRING_USES_NEWLINE (Findbugs)
Also, you will notice a fancy new Travis CI badge in the readme indicating build/test/deploy status. This was made possible through extensive reworking of the ant build file and many internet resources and some mild frustrations. Each push will be thoroughly and automatically tested. Additionally, new versions (e.g. 0.5.3) will be automatically deployed to bintray, which is kind of neat. I hope to add on a "nightly" version as well that will be deployed on every push.
Release Candidate 2, with prerelease findbugs plugin
Several bug fixes, support for new bug patterns and, most importantly, unit test support for bug patterns. Test coverage exceeds 90% in the quickfix package, which is pretty neat.
The pre-release supports the more flexible CustomLabelVisitor and ApplicabilityVisitor added to the FindBugsPlugin. The bundled FindBugsPlugin (3.0.1 dev) is through 835d7e067f4e.
Supported quickfixes
See the FindBugs and fb-contrib bug description pages for more info
fb-contrib
- CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET
- CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET_NAME
- COM_COPIED_OVERRIDDEN_METHOD
- LSC_LITERAL_STRING_COMPARISON
- MDM_RANDOM_SEED
- NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION
- NAB_NEEDLESS_BOXING_PARSE
- SPP_USE_BIGDECIMAL_STRING_CTOR
- SPP_USE_ISNAN
- UCPM_USE_CHARACTER_PARAMETERIZED_METHOD
- UEC_USE_ENUM_COLLECTIONS
- USBR_UNNECESSARY_STORE_BEFORE_RETURN
FindBugs
- DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD
- DLS_DEAD_LOCAL_STORE
- DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE
- DMI_INVOKING_TOSTRING_ON_ARRAY
- FE_TEST_IF_EQUAL_TO_NOT_A_NUMBER
- ITA_INEFFICIENT_TO_ARRAY
- RV_RETURN_VALUE_IGNORED
- RV_RETURN_VALUE_IGNORED_BAD_PRACTICE
- SE_BAD_FIELD
- SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH
- SQL_BAD_PREPARED_STATEMENT_ACCESS
- SQL_BAD_RESULTSET_ACCESS
- WMI_WRONG_MAP_ITERATOR
See the Readme for installation instructions.
Release Candidate 1, with prerelease findbugs plugin
More quickfixes and an updated findbugs-3.0.1 plugin. Fixed multi-fix and added colors to gutter annotations.
Supported quickfixes
See the FindBugs and fb-contrib bug description pages for more info
fb-contrib
- CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET
- CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET_NAME
- LSC_LITERAL_STRING_COMPARISON
- MDM_RANDOM_SEED
- NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION
- NAB_NEEDLESS_BOXING_PARSE
- SPP_USE_BIGDECIMAL_STRING_CTOR
- SPP_USE_ISNAN
- UCPM_USE_CHARACTER_PARAMETERIZED_METHOD
FindBugs
- DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE
- FE_TEST_IF_EQUAL_TO_NOT_A_NUMBER
- RV_RETURN_VALUE_IGNORED_BAD_PRACTICE
- SQL_BAD_PREPARED_STATEMENT_ACCESS
- SQL_BAD_RESULTSET_ACCESS
- WMI_WRONG_MAP_ITERATOR
See the Readme for installation instructions.
Updated prototype, with prerelease findbugs plugin
This version has a few more quickfixes, and also uses the CustomLabel support added by recent commits to The main FindBugs Eclipse branch
Supported quickfixes
See the FindBugs and fb-contrib bug description pages for more info
fb-contrib
- CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET
- CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET_NAME
- SPP_USE_BIGDECIMAL_STRING_CTOR
- SPP_USE_ISNAN
- LSC_LITERAL_STRING_COMPARISON
FindBugs
- DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE
- FE_TEST_IF_EQUAL_TO_NOT_A_NUMBER
- SQL_BAD_PREPARED_STATEMENT_ACCESS
- SQL_BAD_RESULTSET_ACCESS
See the Readme for installation instructions.
Most importantly, this release has the latest (as of publication) version of the FindBugs Eclipse plugin, the one that publishes the extension point fb-contrib quickfixes. You will need this installed (for now) to run fb-contrib quickfixes
Working Prototype, with prerelease findbugs plugin
This is a prototype that extends the standard set of quick-fixes by a quickfix for the fb-contrib bug pattern Literal String Comparison.
String foo = ...
if (foo.equals("bar")) {
//....
}
gets turned into
String foo = ...
if ("bar".equals(foo)) {
//....
}
See the Readme for installation instructions.
Most importantly, this release has the latest (as of publication) version of the FindBugs Eclipse plugin, the one that publishes the extension point fb-contrib quickfixes. You will need this installed (for now) to run fb-contrib quickfixes