Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15707

Cppcheck Trend graph is blank even though the plugin processes stats correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
    • 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
    • Similar Issues:

      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?)

        Attachments

          Activity

          Hide
          jan_ruzicka jan_ruzicka added a comment - - edited

          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.

          Show
          jan_ruzicka jan_ruzicka added a comment - - edited 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.
          Hide
          beat_morf Beat Morf added a comment -

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

          Show
          beat_morf Beat Morf added a comment - I had the same problem - didn't notice all configurations! Cheers
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - 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
          Hide
          gbois Gregory Boissinot added a comment -

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

          Show
          gbois Gregory Boissinot added a comment - I fixed it. Display 'all errors' is now checked by default.
          Hide
          mixalturek Michal Turek added a comment -

          Closing.

          Show
          mixalturek Michal Turek added a comment - Closing.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              pemessier Pierre-Etienne Messier
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: