From 07c36f392df3b1935806b9644fa0a4d210d3c3b1 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 24 Mar 2012 11:18:35 +0200 Subject: [PATCH] * Makefile.am: set 35 lines as the new max for function length ('make line35') --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 67c1c218..bc3bc6c8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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: