agenttix/Count lines of code (CLOC)
Count lines of code using https://github.com/AlDanial/cloc
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Files or folders to analyze | no | — |
| extract_with | This option is only needed if cloc is unable to figure out how to extract the contents of the input file(s) by itself. Use CMD to extract binary archive files (e.g.: .tar.gz, .zip, .Z). Use the literal ''>FILE<'' as a stand-in for the actual file(s) to be extracted. | no | — |
| list_file | Take the list of file and/or directory names to process from FILE, which has one file/directory name per line. Only exact matches are counted; relative path names will be resolved starting from the directory where cloc is invoked. See also --exclude-list-file. | — | — |
| by_file | Report results for every source file encountered. | no | false |
| by_file_by_lang | Report results for every source file encountered in addition to reporting by language. | no | true |
| exclude_list_file | Ignore files and/or directories whose names appear in FILE. FILE should have one file name per line. Only exact matches are ignored; relative path names will be resolved starting from the directory where cloc is invoked. See also --list-file. | no | — |
| report_file | Write the results to FILE instead of standard output. | no | cloc.txt |
Outputs
no outputs