beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Wegner (JIRA)" <>
Subject [jira] [Updated] (BEAM-176) Enable FindBugs static analysis during maven build
Date Wed, 06 Apr 2016 16:56:25 GMT


Scott Wegner updated BEAM-176:
    Attachment: FindBugsResult_4_6_16_9_42_AM.xml

Findbugs report

> Enable FindBugs static analysis during maven build
> --------------------------------------------------
>                 Key: BEAM-176
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>            Reporter: Scott Wegner
>         Attachments: FindBugsResult_4_6_16_9_42_AM.html, FindBugsResult_4_6_16_9_42_AM.xml
> [FindBugs|] is a java static analysis tools to find common
coding issues that may result in bugs.
> Running it over Beam repository with default configuration surfaces 195 "bugs", 20 categorized
as "high priority". Browsing through, some are obvious issues that should be fixed. For example:
> bq. [|]:
More arguments are passed than are actually used in the format string
> bq. [|]:
Integral value cast to double and then passed to Math.ceil
> FindBugs also has a [maven plugin|],
which can be used to either generate a report of found-issues, or fail the build.
> I recommend we enable FindBugs as a quality gate during our build.

This message was sent by Atlassian JIRA

View raw message