Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve WMC doc #246

Merged
merged 1 commit into from
Jan 25, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/main/resources/rulesets/codesize.xml
Original file line number Diff line number Diff line change
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