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

CppCheck results missing File and line num when xml-version=2 is used

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The Filename and LineNumber columns in the CppCheck Results Details list are not populated when xml-version=2 is used. Works fine with xml-version=1.

        Attachments

          Issue Links

            Activity

            Hide
            gbois Gregory Boissinot added a comment -

            Could you attach sample files?
            Thanks

            Show
            gbois Gregory Boissinot added a comment - Could you attach sample files? Thanks
            Hide
            anwallen Andrew Wallen added a comment -

            Sample xml output files for Cppcheck.

            Show
            anwallen Andrew Wallen added a comment - Sample xml output files for Cppcheck.
            Hide
            anwallen Andrew Wallen added a comment -

            Results page for xml-version=1

            Show
            anwallen Andrew Wallen added a comment - Results page for xml-version=1
            Hide
            anwallen Andrew Wallen added a comment -

            Added the xml output files, versions 1 and 2 for the same set of sample files along with the screenshots showing the CppCheck results view for both files.

            Let me know if you need anything else.

            Show
            anwallen Andrew Wallen added a comment - Added the xml output files, versions 1 and 2 for the same set of sample files along with the screenshots showing the CppCheck results view for both files. Let me know if you need anything else.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Gregory Boissinot
            Path:
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckAreaRenderer.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckMetricUtil.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckProjectAction.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckReport.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckResult.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckSource.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/config/CppcheckConfig.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/config/CppcheckConfigGraph.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/config/CppcheckConfigSeverityEvaluation.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/graph/CppcheckGraph.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/model/CppcheckFile.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/model/CppcheckWorkspaceFile.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/parser/CppcheckParser.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/AbstractCppcheckBuildAction.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/AbstractCppcheckProjectAction.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/CppcheckBuildHealthEvaluator.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/CppcheckBuildResultEvaluator.java
            src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/CppcheckLogger.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckBuildAction.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckParserResult.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckReport.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckResult.java
            src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckSummary.java
            src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfig.java
            src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java
            src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigSeverityEvaluation.java
            src/main/java/org/jenkinsci/plugins/cppcheck/parser/CppcheckParser.java
            src/main/java/org/jenkinsci/plugins/cppcheck/util/AbstractCppcheckProjectAction.java
            src/main/java/org/jenkinsci/plugins/cppcheck/util/CppcheckBuildHealthEvaluator.java
            src/main/java/org/jenkinsci/plugins/cppcheck/util/CppcheckBuildResultEvaluator.java
            src/main/java/org/jenkinsci/plugins/cppcheck/util/CppcheckMetricUtil.java
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckBuildAction/summary.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction/floatingBox.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction/nodata.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.properties
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckResult/index.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckResult/nosourcepermission.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckResult/summary.jelly
            src/main/resources/org/jenkinsci/plugins/cppcheck/cppcheck-2.0.xsd
            src/main/resources/tabview/main.jelly
            src/main/resources/util/thresholds.jelly
            http://jenkins-ci.org/commit/cppcheck-plugin/e41b5804cfc4e799c5ea9f1c91c4abe42533114f
            Log:
            FIx JENKINS-10369 and JENKINS-9727

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckAreaRenderer.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckBuildAction.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckMetricUtil.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckProjectAction.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckPublisher.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckReport.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckResult.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/CppcheckSource.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/config/CppcheckConfig.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/config/CppcheckConfigGraph.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/config/CppcheckConfigSeverityEvaluation.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/graph/CppcheckGraph.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/model/CppcheckFile.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/model/CppcheckWorkspaceFile.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/parser/CppcheckParser.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/AbstractCppcheckBuildAction.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/AbstractCppcheckProjectAction.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/CppcheckBuildHealthEvaluator.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/CppcheckBuildResultEvaluator.java src/main/java/com/thalesgroup/hudson/plugins/cppcheck/util/CppcheckLogger.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckBuildAction.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckParserResult.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckPublisher.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckReport.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckResult.java src/main/java/org/jenkinsci/plugins/cppcheck/CppcheckSummary.java src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfig.java src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigGraph.java src/main/java/org/jenkinsci/plugins/cppcheck/config/CppcheckConfigSeverityEvaluation.java src/main/java/org/jenkinsci/plugins/cppcheck/parser/CppcheckParser.java src/main/java/org/jenkinsci/plugins/cppcheck/util/AbstractCppcheckProjectAction.java src/main/java/org/jenkinsci/plugins/cppcheck/util/CppcheckBuildHealthEvaluator.java src/main/java/org/jenkinsci/plugins/cppcheck/util/CppcheckBuildResultEvaluator.java src/main/java/org/jenkinsci/plugins/cppcheck/util/CppcheckMetricUtil.java src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckBuildAction/summary.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction/floatingBox.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckProjectAction/nodata.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckPublisher/config.properties src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckResult/index.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckResult/nosourcepermission.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/CppcheckResult/summary.jelly src/main/resources/org/jenkinsci/plugins/cppcheck/cppcheck-2.0.xsd src/main/resources/tabview/main.jelly src/main/resources/util/thresholds.jelly http://jenkins-ci.org/commit/cppcheck-plugin/e41b5804cfc4e799c5ea9f1c91c4abe42533114f Log: FIx JENKINS-10369 and JENKINS-9727
            Show
            gbois Gregory Boissinot added a comment - Fix available in 1.0.0 http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/cppcheck/1.0.0
            Hide
            mixalturek Michal Turek added a comment -

            Tested, closing.

            Show
            mixalturek Michal Turek added a comment - Tested, closing.

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                anwallen Andrew Wallen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: