Liking cljdoc? Tell your friends :D

automaton-build.tasks.code-stats


cli-optsclj


clj-line-numbersclj

(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
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
raw docstring

count-linesclj

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

Count lines in the file list

Count lines in the file list
raw docstring

line-numbers->strclj

(line-numbers->str line-numbers)

runclj

(run filepath)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close