Skip to content

Commit defa62e

Browse files
committed
Improve gitstats config
See https://github.com/mnapoli/gitstats
1 parent 589556e commit defa62e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.gitstats.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tasks:
66
'Number of PHP files': "find . -type f -name '*.php' | wc -l"
77
'Number of documentation files': "find . -type f -name '*.md' | wc -l"
88
'Lines of documentation': "find . -type f -name '*.md' | xargs wc -l | tail -n 1 | awk '{print $1}'"
9-
'Lines of code': "phploc . | grep 'Lines of Code (LOC)' | awk '{print $5}'"
10-
'Lines of comments': "phploc . | grep 'Comment Lines of Code (CLOC)' | awk '{print $6}'"
11-
'Average Complexity per LLOC': "phploc . | grep 'Average Complexity per LLOC' | awk '{print $5}'"
12-
'Number of tests': "phploc . --count-tests | grep 'Methods' | tail -n 1 | awk '{print $2}'"
9+
'Lines of code': "phploc src | grep 'Lines of Code (LOC)' | awk '{print $5}'"
10+
'Lines of comments': "phploc src | grep 'Comment Lines of Code (CLOC)' | awk '{print $6}'"
11+
'Average Complexity per LLOC': "phploc src | grep 'Average Complexity per LLOC' | awk '{print $5}'"
12+
'Number of tests': "phploc tests --count-tests | grep 'Methods' | tail -n 1 | awk '{print $2}'"

0 commit comments

Comments
 (0)