-
Notifications
You must be signed in to change notification settings - Fork 60
Implement NOM metric #134
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
Implement NOM metric #134
Conversation
|
How can we consider the definition and implementation of a method? Should I count one if I declare and implement the same |
I think we should only consider raw count of definitions. |
I was thinking of this case:
We have But if we define this code and we have decided to count We could count These examples are to explain why I've used strings :) |
|
I think we should just count definition (i.e. |
c714899 to
8b03c13
Compare
Codecov Report
@@ Coverage Diff @@
## master #134 +/- ##
==========================================
+ Coverage 12.92% 14.80% +1.87%
==========================================
Files 44 45 +1
Lines 5670 5768 +98
Branches 659 684 +25
==========================================
+ Hits 733 854 +121
+ Misses 4690 4631 -59
- Partials 247 283 +36
Continue to review full report at Codecov.
|
bd5f3f2 to
54110c0
Compare
|
Thx |
NOMmetric counts the number of functions and closures contained in a file/trait/classThanks in advance for your review! :)