summaryrefslogtreecommitdiffstats
path: root/tools/check-complexity.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-complexity.sh')
-rwxr-xr-xtools/check-complexity.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/check-complexity.sh b/tools/check-complexity.sh
new file mode 100755
index 0000000..236ed56
--- /dev/null
+++ b/tools/check-complexity.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+complexity --histogram --score --thresh=3 \
+ include/libredundancyfileop.h \
+ \
+ lib/crc16.h \
+ lib/fileop.c \
+ lib/fileop.h \
+ lib/file-util.c \
+ lib/file-util.h \
+ lib/libredundancyfileop.c \
+ lib/static-configurator.c \
+ lib/static-configurator.h
+
+