Permalink
Browse files

* Makefile.am: set 35 lines as the new max for function length ('make…

… line35')
  • Loading branch information...
1 parent 6bc7ce0 commit 07c36f392df3b1935806b9644fa0a4d210d3c3b1 @djcb committed Mar 24, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile.am
View
@@ -52,17 +52,17 @@ cc10:
| grep -v tests \
| sort -nr | awk '($$1 > 10)'
-# this warns about functions that are over 33 non-comment lines long, which is a
+# this warns about functions that are over 35 non-comment lines long, which is a
# sign that they need some refactoring. requires the pmccabe tool. if
# all is fine, it outputs nothing
# note, some functions are exempted from this rule.
-line33:
+line35:
@$(PMCCABE) -c `find -name '*.c' -o -name '*.cc'` \
| grep -v mu-str-normalize.c \
| grep -v config_options_group_find \
| grep -v SCM_DEFINE_PUBLIC \
| grep -v tests \
- | awk '($$5 > 33)'
+ | awk '($$5 > 35)'
# get all todo/fixme messages
fixme:

0 comments on commit 07c36f3

Please sign in to comment.