Hi there!

Same problem here. But: It seems that the powertool summarize the cyclomatic complexity for the whole module. The result is in our case a very high cyclomatic complexity of "11.580" in "26.060" lines of code. Is it possible, that the plugin cannot parse these strings with high metric values to integers? Wether the cyclomatic complexity nor the lines of code and class coupling are displayed in graphs in tables for the views "All classed" and "Code metrics by module".

Here is our modules metrics node from the powertool XML:

<Metrics>
<Metric Name="MaintainabilityIndex" Value="83" />
<Metric Name="CyclomaticComplexity" Value="11.580" />
<Metric Name="ClassCoupling" Value="969" />
<Metric Name="DepthOfInheritance" Value="7" />
<Metric Name="LinesOfCode" Value="26.060" />
</Metrics>

The single members and types are correctly parsed by the plugin an shows correct values in both tables and graph.

I think i can provide the whole XML file, if this helps to improve the plugin.

By the way: Thanks for this convenient plugin wich allows to gather code metrics in Jenkins so easily!

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

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to