* Makefile.am: line40=>line35. decrease max amount of lines in a function
This commit is contained in:
@ -37,9 +37,8 @@ cc10:
|
|||||||
# this warns about functions that are over 40 non-comment lines long, which is a
|
# this warns about functions that are over 40 non-comment lines long, which is a
|
||||||
# sign that they need some refactoring. requires the pmccabe tool. if
|
# sign that they need some refactoring. requires the pmccabe tool. if
|
||||||
# all is fine, it outputs nothing
|
# all is fine, it outputs nothing
|
||||||
line40:
|
line35:
|
||||||
@pmccabe -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 40)'
|
@pmccabe -c `find -name '*.c' -o -name '*.cc'` | awk '($$5 > 35)'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EXTRA_DIST= \
|
EXTRA_DIST= \
|
||||||
|
|||||||
Reference in New Issue
Block a user