Instructions ยท Source Code Line Counter
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Choose local files, use Choose Folder to retain project paths or select Open Sample.
- Review the directory filter and select Count Lines. The default excludes complete vendor and node_modules directory names, ignoring case.
- Read the totals. Choose a file name for its counts or the reason it was skipped. A line with code and comments counts as code, and whitespace-only lines count as blank.
- Download CSV to keep the full report and counting rules, including excluded or unsupported entries.
- Use UTF-8 source. One selection holds up to 5,000 files and 2 Mi UTF-16 code units of paths. The local scan allows 3 MiB and 1 Mi UTF-16 code units per file, 32 Mi UTF-16 code units across decoded source, and up to 30 seconds per scan.
- The parser reports syntax it cannot read. Only counted files contribute to totals. Identifiers beginning like spreadsheet formulas receive an apostrophe in the CSV.
Measure source lines in a local JavaScript or TypeScript project and export the per-file counts.