Skip to content

Commit

Permalink
Merge pull request #246 from JeroenDeDauw/doc
Browse files Browse the repository at this point in the history
Improve WMC doc
  • Loading branch information
manuelpichler committed Jan 25, 2015
2 parents 580e6ca + b1e9be9 commit 2965442
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main/resources/rulesets/codesize.xml
Expand Up @@ -357,9 +357,10 @@ order to reduce its complexity and find a way to have more fine grained objects.
externalInfoUrl="http://phpmd.org/rules/codesize.html#excessiveclasscomplexity">
<description>
<![CDATA[
The WMC of a class is a good indicator of how much time and effort is required
to modify and maintain this class. A large number of methods also means that
this class has a greater potential impact on derived classes.
The Weighted Method Count (WMC) of a class is a good indicator of how much time
and effort is required to modify and maintain this class. The WMC metric is defined
as the sum of complexities of all methods declared in a class. A large number of
methods also means that this class has a greater potential impact on derived classes.
]]>
</description>
<priority>3</priority>
Expand Down

0 comments on commit 2965442

Please sign in to comment.