Source Lines of Code Count Web Analyzer

Source Lines of Code Count Web Analyzer

Client-side SLOC and cost analyzer

written by
In Search of an Image - "No Image Associated with this article": an image by

Source Lines of Code Count Web Analyzer

Browser-based source line analysis with language breakdown and rough Basic COCOMO effort/cost estimates.

ACTIVE webapp Updated February 21, 2026
Source Lines of Code Count Web Analyzer hero image

What it does

SLOCCount Web Analyzer estimates project size from source files and produces rough effort/cost guidance using Basic COCOMO.

How to use it

  • Open: https://tedt.org/tools/sloccount-web-analyzer.html
  • Choose one input mode: Paste Code, GitHub Repository, or Upload ZIP.
  • Run analysis to see totals, language distribution, and estimated person-years/cost.
  • Tune assumptions and click recalculate for alternative scenarios.

Notes

  • Runs client-side in the browser; no server-side code ingestion by this tool.
  • GitHub mode is limited by public API availability/rate limits.
  • ZIP mode dynamically loads JSZip when needed.
  • Estimates are directional and should not be used as commitments.

Details

Tech
  • JavaScript
  • HTML
  • CSS
License
MIT
Tags
sloc cocomo estimation github zip javascript tools

Features

  • Paste code analysis with filename-based language detection
  • Public GitHub repository scan with progress status
  • ZIP upload analysis in browser
  • Language-level SLOC and file count breakdown
  • Editable Basic COCOMO assumptions and recalculation