[JIRA] (JENKINS-36720) Investigate/cleanup medium-severity FindBugs issues in the Jenkins core

19 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 15, 2016, 12:40:01 PM7/15/16
to jenkinsc...@googlegroups.com
Oleg Nenashev created an issue
 
Jenkins / Task JENKINS-36720
Investigate/cleanup medium-severity FindBugs issues in the Jenkins core
Issue Type: Task Task
Assignee: Unassigned
Components: core
Created: 2016/Jul/15 4:39 PM
Priority: Minor Minor
Reporter: Oleg Nenashev

Currently FindBugs settings ignore all medium-priority issues. It's bad, because this level contains NPE checks and other serious issues.

TODOs:

  • Remove filtering of medium-priority issues
  • Investigate error codes, add low-important once to the ignore list
  • Fix important issues
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 19, 2016, 5:00:01 PM8/19/16
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Task JENKINS-36720
 
Re: Investigate/cleanup medium-severity FindBugs issues in the Jenkins core

Summary:

  • 2 issues in CLI
  • 477 issues in the core

The output is too long to be published as text, I'll attach it

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 19, 2016, 5:01:01 PM8/19/16
to jenkinsc...@googlegroups.com

S.Spieker@gmx.net (JIRA)

unread,
Aug 27, 2019, 2:09:03 AM8/27/19
to jenkinsc...@googlegroups.com
Stefan Spieker assigned an issue to Stefan Spieker
Change By: Stefan Spieker
Assignee: Stefan Spieker
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

S.Spieker@gmx.net (JIRA)

unread,
Aug 29, 2019, 10:29:03 AM8/29/19
to jenkinsc...@googlegroups.com
Stefan Spieker started work on Task JENKINS-36720
 
Change By: Stefan Spieker
Status: Open In Progress

dbeck@cloudbees.com (JIRA)

unread,
Sep 24, 2019, 10:41:03 AM9/24/19
to jenkinsc...@googlegroups.com
Daniel Beck commented on Task JENKINS-36720
 
Re: Investigate/cleanup medium-severity FindBugs issues in the Jenkins core

Is this done completely in 2.191, or just partially?

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

S.Spieker@gmx.net (JIRA)

unread,
Sep 25, 2019, 5:25:04 AM9/25/19
to jenkinsc...@googlegroups.com

There are several PRs done for this and there are more to come. This is a quite huge task. I think we would be down to 400 spotbugs issues if all PRs would be merged. So I guess this will be in progress for a longer while

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:06:02 AM10/2/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:07:02 AM10/2/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Task JENKINS-36720
 
Re: Investigate/cleanup medium-severity FindBugs issues in the Jenkins core

I am thinking about Highlighting this story for Hacktoberfest. WDYT Stefan Spieker?

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 2, 2019, 4:07:02 AM10/2/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Currently FindBugs settings ignore all medium-priority issues. It's bad, because this level contains NPE checks and other serious issues.

TODOs:
- Remove filtering of medium-priority issues
- Investigate error codes, add low-important once to the ignore list
- Fix important issues
in small pull requests

This task can be handled by multiple contributors!

S.Spieker@gmx.net (JIRA)

unread,
Oct 2, 2019, 6:42:11 AM10/2/19
to jenkinsc...@googlegroups.com
Stefan Spieker commented on Task JENKINS-36720
 
Re: Investigate/cleanup medium-severity FindBugs issues in the Jenkins core

Oleg Nenashev: Yes. That is a good idea. We have a lot issues still to solve. Maybe you should mention then that changing in the main pom the line 109 with this : <findbugs.threshold>Medium</findbugs.threshold> is enough to get all spotbugs issues.

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 2, 2019, 7:00:02 AM10/2/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Currently FindBugs settings ignore all medium-priority issues. It's bad, because this level contains NPE checks and other serious issues.

TODOs:
- Remove filtering of medium-priority issues by setting <findbugs.threshold>Medium</findbugs.threshold>
- Investigate error codes, add low-important once to the ignore list
- Fix important issues in small pull requests

This task can be handled by multiple contributors!

S.Spieker@gmx.net (JIRA)

unread,
Dec 23, 2019, 9:05:02 AM12/23/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Dec 23, 2019, 10:00:03 AM12/23/19
to jenkinsc...@googlegroups.com

Ugh. But it is still a  very good progress, thanks!

S.Spieker@gmx.net (JIRA)

unread,
Jan 11, 2020, 11:13:02 AM1/11/20
to jenkinsc...@googlegroups.com

We are on a good way, but still some steps to go:

[java] Warnings generated: 362

 

o.v.nenashev@gmail.com (JIRA)

unread,
Jan 11, 2020, 4:25:04 PM1/11/20
to jenkinsc...@googlegroups.com

Thanks for your hard work Stefan Spieker! I really look forward to introduce stricter requirements at some point

raihaan.shouhell@autodesk.com (JIRA)

unread,
Feb 19, 2020, 10:37:02 PM2/19/20
to jenkinsc...@googlegroups.com

Probably due to findsecbugs we are at [java] Warnings generated: 591 right now

Reply all
Reply to author
Forward
0 new messages