[Mono-bugs] [Bug 685571] AvoidLargeClassesRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 11 14:50:45 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=685571

https://bugzilla.novell.com/show_bug.cgi?id=685571#c2


--- Comment #2 from Jordi Mas <jordimash at gmail.com> 2011-04-11 18:50:44 UTC ---
Hello Sebastien,

I was referring to how the rule is nowadays (no regression). 

This rule currently uses the number of fields that a class has to determine if
is "large" or not. This misses lots of large classes in real projects. 

It will be nice if AvoidLargeClassesRule uses the code size of a class (LOC or
IL instructions) to determine also if a class is "large" or not. 

This will bring consistency with AvoidLongMethodsRule that uses the same
metrics that I'm suggesting.


Regards,

Jordi,

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list