[JIRA] (JENKINS-15707) Cppcheck Trend graph is blank even though the plugin processes stats correctly

55 views
Skip to first unread message

pierre.etienne.messier@gmail.com (JIRA)

unread,
Nov 2, 2012, 5:01:42 PM11/2/12
to jenkinsc...@googlegroups.com
Issue Type: Bug Bug
Assignee: Gregory Boissinot
Attachments: cppcheck.png
Components: cppcheck
Created: 02/Nov/12 9:01 PM
Description:

When running the cppcheck plugin, it will process successfully the .xml file (displays "Cppcheck: 494 errors." in the build, error list works nice).

On the Project scope, the Cppcheck Trend graph is blank even though other graphs display fine (see screenshot). I wonder why (missing dependencies?)

Environment: Jenkins ver. 1.488
cppcheck plugin 1.10

cppcheck binary: 1.40 & 1.57dev

Build slave: Ubuntu 10.04 32 bits
Jenkins master: Ubuntu 12.04.1 64 bits
Fix Versions: current
Project: Jenkins
Labels: plugin
Priority: Major Major
Reporter: Pierre-Etienne Messier
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

pierre.etienne.messier@gmail.com (JIRA)

unread,
Nov 6, 2012, 9:04:41 AM11/6/12
to jenkinsc...@googlegroups.com

Updated Jenkins to 1.489 and cppcheck plugin to 1.11 and the problem still persists.

gregory.boissinot@gmail.com (JIRA)

unread,
Nov 10, 2012, 4:15:41 PM11/10/12
to jenkinsc...@googlegroups.com

gregory.boissinot@gmail.com (JIRA)

unread,
Nov 10, 2012, 4:17:41 PM11/10/12
to jenkinsc...@googlegroups.com

It is a very strange behavior.
And the job build number are not display.
Maybe a conflict with other plugins.
I don't reproduce the issue on my side.
Please could you test with only the cppcheck plugin?
Thanks in advance.

beat.morf@gmail.com (JIRA)

unread,
Nov 15, 2012, 3:38:44 AM11/15/12
to jenkinsc...@googlegroups.com
Beat Morf commented on Bug JENKINS-15707

I am using Jenkins ver 1.489 and cppcheck plugin 1.11 and have the same issue!

pierre.etienne.messier@gmail.com (JIRA)

unread,
Nov 15, 2012, 2:12:43 PM11/15/12
to jenkinsc...@googlegroups.com

My bad! I didn't notice that there is a second "Advanced..." button showing up when you first clicked on the first Advanced button!

After checking the Graph configuration checkboxes, it works now!

Suggestion: you should probably just add a paragraph on the Wiki to document how to configure the plugin and/or add some default configuration so that it shows lines!

Thanks for your time!

jan_ruzicka@java.net (JIRA)

unread,
Nov 15, 2012, 4:40:41 PM11/15/12
to jenkinsc...@googlegroups.com
jan_ruzicka commented on Bug JENKINS-15707

I run into same issue.
Option under the second Advanced button are all checked.
First time after changing configuration, the trend was showing historical data.
The trend information disappeared after a new build finished.

The cpp check plugin shows tabular information with a few cpp check findings.

jan_ruzicka@java.net (JIRA)

unread,
Nov 15, 2012, 5:10:41 PM11/15/12
to jenkinsc...@googlegroups.com
 
jan_ruzicka edited a comment on Bug JENKINS-15707

I run into same issue.


Option under the second Advanced button are all checked.
First time after changing configuration, the trend was showing historical data.
The trend information disappeared after a new build finished.

The cpp check plugin shows tabular information with a few cpp check findings.

It actually looks fine now ... I don't know what happened.

beat.morf@gmail.com (JIRA)

unread,
Nov 16, 2012, 1:14:42 AM11/16/12
to jenkinsc...@googlegroups.com
Beat Morf commented on Bug JENKINS-15707

I had the same problem - didn't notice all configurations!
Cheers

scm_issue_link@java.net (JIRA)

unread,
Nov 22, 2012, 3:55:41 PM11/22/12
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java
src/main/resources/util/thresholds.jelly
http://jenkins-ci.org/commit/cppcheck-plugin/cb2aac7b448035aa8cadf5b388c4989696bae6b0
Log:
Fix JENKINS-15707

gregory.boissinot@gmail.com (JIRA)

unread,
Nov 22, 2012, 4:00:41 PM11/22/12
to jenkinsc...@googlegroups.com
Gregory Boissinot resolved Bug JENKINS-15707 as Fixed

I fixed it. Display 'all errors' is now checked by default.

Change By: Gregory Boissinot (22/Nov/12 8:59 PM)
Status: In Progress Resolved
Resolution: Fixed

mixalturek@users.sf.net (JIRA)

unread,
Mar 15, 2014, 10:40:16 AM3/15/14
to jenkinsc...@googlegroups.com
Michal Turek closed Bug JENKINS-15707 as Fixed

Closing.

Change By: Michal Turek (15/Mar/14 2:38 PM)
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages