Codor icon indicating copy to clipboard operation
Codor copied to clipboard

A more gentle class line count sniff

Open bmitch opened this issue 8 years ago • 2 comments

The current Codor.Classes.ClassLength simply counts the number of lines between the opening { and the closing } of a class.

Sometimes the number of doc blocks plus a number of small methods can make this climb quite fast.

A more "gentle" sniff for this would be nice. One that only counts logical lines of code.

bmitch avatar Sep 12 '17 00:09 bmitch

@Exadra37 just for you :smiley:

bmitch avatar Sep 12 '17 01:09 bmitch

@Exadra37 if you don't mind could you please test this out? I tried it on a couple packages and it seemed fine. You can test with the bmitchell-112 branch.

bmitch avatar Sep 12 '17 01:09 bmitch