ProjectAction should render graph, optimize build.xml size

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: cppcheck-plugin
    • None
    • Environment:
      All

      The trend graph is part of project/job page and should be created in CppcheckProjectAction instead of in CppcheckBuildAction. Every build.xml file contains full plugin configuration including all information for rendering of trend graph, this is not needed.

            <cppcheckConfig>
              <pattern>cppcheck.xml</pattern>
              <ignoreBlankFiles>false</ignoreBlankFiles>
              <allowNoReport>false</allowNoReport>
              <configSeverityEvaluation>
                <threshold>42</threshold>
                <newThreshold>42</newThreshold>
                <failureThreshold>42</failureThreshold>
                <newFailureThreshold>42</newFailureThreshold>
                <healthy>42</healthy>
                <unHealthy>42</unHealthy>
                <severityError>true</severityError>
                <severityWarning>true</severityWarning>
                <severityStyle>true</severityStyle>
                <severityPerformance>true</severityPerformance>
                <severityInformation>true</severityInformation>
                <severityNoCategory>true</severityNoCategory>
                <severityPortability>true</severityPortability>
              </configSeverityEvaluation>
              <configGraph>
                <xSize>42</xSize>
                <ySize>42</ySize>
                <displayAllErrors>true</displayAllErrors>
                <displayErrorSeverity>true</displayErrorSeverity>
                <displayWarningSeverity>true</displayWarningSeverity>
                <displayStyleSeverity>true</displayStyleSeverity>
                <displayPerformanceSeverity>true</displayPerformanceSeverity>
                <displayInformationSeverity>true</displayInformationSeverity>
                <displayNoCategorySeverity>true</displayNoCategorySeverity>
                <displayPortabilitySeverity>true</displayPortabilitySeverity>
              </configGraph>
            </cppcheckConfig>
      

            Assignee:
            Michal Turek
            Reporter:
            Michal Turek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: