-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address issues found by SpotBugs #1267
Comments
Thanks Tom. @jmthibault79 - Might be worth taking a look at the CRAM package part of this as you're refactoring. |
With the latest PRs all the spotbugs issues in the tests have been resolved, and there are now 19 remaining issues in the main code. I've opened issues for the CRAM ones, but there are a few more (with less obvious fixes) that need looking at - they can either be fixed or an exclusion can be added to gradle/spotbugs-exclude.xml. @lbergelson it would be good to get your opinion on these. (The easiest way to get the latest report is to checkout https://github.com/tomwhite/htsjdk/tree/spotbugs and run When all the issues have been fixed then we can merge https://github.com/tomwhite/htsjdk/tree/spotbugs to run spotbugs on each new PR to ensure no new issues are introduced. |
See more fixes in #1303 |
This was completed and spotbugs now runs automatically on pull requests. |
I ran SpotBugs on the htsjdk source and it found a number of issues that should be looked at.
To gnerate the files, checkout tomwhite@8d2f725, and type
Here are the reports that it generated (converted to PDF since GitHub doesn't support HTML attachments; however this means you can't drill down into each issue):
main.pdf
test.pdf
The text was updated successfully, but these errors were encountered: