March 2018
Intermediate to advanced
276 pages
7h 11m
English
cloc is used to calculate the number of lines of code and its GitHub page contains detailed documentation on the tool.[151] This section shows only the basic commands used to augment a change-frequency analysis with a lines-of-code dimension.
To get a summary of the content of your repository, move inside your repository and run cloc with the --quiet option:
| | adam$ cloc . --quiet |
| | ---------------------------------------------------------------------- |
| | Language files blank comment code |
| | ---------------------------------------------------------------------- |
| | JavaScript 8208 122901 130552 655610 |
| | HTML 243 1533 35 21836 |
| | ... ... ... ... ... |
| | Dockerfile 2 7 4 22 |
| | Lisp 1 0 0 6 |
| | ---------------------------------------------------------------------- ... |