Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can also have a glance at <a href="http://www.ndepend.com/Metrics.aspx" rel="nofollow noreferrer">NDepend documentation about code metrics</a>. <em>Disclaimer: I am one of the developer of the tool NDepend.</em></p> <p>With the <a href="http://www.ndepend.com/Features.aspx#CQL" rel="nofollow noreferrer">Code Rule and Query over LINQ (CQLinq)</a> facility, it is possible to ask for code metric evolution/trending across two different snapshots in time of the code base. For example there is a default rule proposed: <a href="http://www.ndepend.com/DefaultRules/webframe.html?Q_Avoid_making_complex_methods_even_more_complex_%28Source_CC%29.html" rel="nofollow noreferrer">Avoid making complex methods even more complex</a> illustrated by the screenshot below:</p> <p><img src="https://i.stack.imgur.com/KLEnk.png" alt="Avoid making complex methods even more complex"></p> <p>Several metric trending rules are proposed like:</p> <ul> <li><a href="http://www.crap4j.org/" rel="nofollow noreferrer">Avoid decreasing code coverage by[enter link description here]<a href="http://www.crap4j.org/" rel="nofollow noreferrer">5</a> tests of types</a></li> <li><a href="http://www.ndepend.com/DefaultRules/webframe.html?Q_Types_that_used_to_be_100__covered_but_not_anymore.html" rel="nofollow noreferrer">Types that used to be 100% covered but not anymore</a></li> <li>and also, since you mentioned Crap4J the metric C.R.A.P can be written with CQLinq, and the query could be easily tweaked to see the trending in <a href="http://www.ndepend.com/DefaultRules/webframe.html?Q_C.R.A.P_method_code_metric.html" rel="nofollow noreferrer">C.R.A.P metric</a>. </li> </ul> <p>Concerning the visualization of code metric, NDepend lets visualize code metrics values through an <a href="http://www.ndepend.com/Doc_Treemap.aspx" rel="nofollow noreferrer">interactive treemap</a>: </p> <p><img src="https://i.stack.imgur.com/DFIcR.png" alt="Code Metric viualized through Treemap"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload