Instructions ยท Source Code Line Counter

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Choose local files, use Choose Folder to retain project paths or select Open Sample.
  3. Review the directory filter and select Count Lines. The default excludes complete vendor and node_modules directory names, ignoring case.
  4. 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.
  5. Download CSV to keep the full report and counting rules, including excluded or unsupported entries.
  6. 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.
  7. 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.