automaton-build.tasks.code-stats

cli-opts

clj-line-numbers

(clj-line-numbers all-files test-files)

Build statistics on the clojure code Params: * all-files all files to count * test-files subgroup of all-files with test aliases :clj-test-nb-lines : is the total number of lines in test :clj-total-nb-lines: total number of lines, clj(c,s) test and not test :ratio-in-pct: ratio between both. - 100% means there are the same number of test lines than src lines - 50% means there are double number of lines src than test ones

count-lines

(count-lines files reader)(count-lines files reader check-existence-fn)

Count lines in the file list

line-numbers->str

(line-numbers->str line-numbers)

run

(run filepath)