From bdaeab7e4cc70ea4c8f643d4e4bddba142ff92a6 Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Sat, 12 Dec 2020 07:52:04 -0800 Subject: [PATCH] Updated cloc summary --- CODE_SUMMARY.txt | 28 ++++++++++++++++++++++++++++ makefile | 5 +---- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/CODE_SUMMARY.txt b/CODE_SUMMARY.txt index ca974337..25b5fd56 100644 --- a/CODE_SUMMARY.txt +++ b/CODE_SUMMARY.txt @@ -60,3 +60,31 @@ bin less drivers and tests directories: ------------------------------------------------------------------------------- Python 57 4024 8729 11604 ------------------------------------------------------------------------------- + + +--------------------------------------------------------------------------------------------------- +As of 12-Dec-2020 +--------------------------------------------------------------------------------------------------- +cloc --force-lang="HTML",tmpl --force-lang="INI",conf --force-lang="INI",inc bin docs examples skins util + 321 text files. + 317 unique files. + 54 files ignored. + +github.com/AlDanial/cloc v 1.84 T=0.73 s (367.6 files/s, 152852.8 lines/s) +-------------------------------------------------------------------------------- +Language files blank comment code +-------------------------------------------------------------------------------- +Python 119 9103 17309 33363 +HTML 54 3686 59 26686 +INI 55 2874 0 11229 +JavaScript 8 308 190 1317 +CSS 7 214 86 1100 +Perl 1 99 84 1027 +Markdown 5 261 0 900 +Bourne Shell 13 61 136 406 +Bourne Again Shell 2 36 186 204 +XML 2 8 12 83 +SVG 1 0 0 1 +-------------------------------------------------------------------------------- +SUM: 267 16650 18062 76316 +-------------------------------------------------------------------------------- diff --git a/makefile b/makefile index 9e610441..4f8a59ea 100644 --- a/makefile +++ b/makefile @@ -430,7 +430,4 @@ critic: perlcritic -1 --verbose 8 pkg/mkchangelog.pl code-summary: - cloc bin - @for d in weecfg weedb weeutil weewx; do \ - cloc bin/$$d/tests; \ -done + cloc --force-lang="HTML",tmpl --force-lang="INI",conf --force-lang="INI",inc bin docs examples skins util