# SLOCCount - Count Lines of Code

Analyze source code to count physical Source Lines of Code (SLOC) using Perl and C programs running via WebAssembly

Based on SLOCCount by David A. Wheeler

Paste your code here:
Filename (to detect language):
GitHub Repository URL:
Upload ZIP file containing source code:

Useful for large repositories. Upload a ZIP file containing your source code.

## Analysis Results

Total Lines
0
Languages
0
Files
0
Est. Cost (USD)*
$0
Est. Person-Years*
0

### Language Breakdown

Language | Lines | Percentage | Files
--- | --- | --- | ---

### About Cost Estimates

The cost and effort estimates use the Basic COCOMO model (Constructive Cost Model), a widely-used software engineering cost estimation method developed by Barry Boehm.

⚠️ These are EXTREMELY ROUGH estimates

Actual costs vary wildly based on project complexity, team experience, location, development practices, and many other factors. Use these numbers only as a very rough ballpark estimate.

Using estimates from:
Year 2000 (Original SLOCCount) Year 2025 (Updated)

Note: The 2025 values are very untrustworthy guesses from this ChatGPT conversation, not based on rigorous research.

Key assumptions (editable):

- Effort coefficient: × (KLOC)1.05 person-months
- Average developer salary: $/year
- Overhead multiplier: × (includes benefits, equipment, office space, etc.)

This tool uses the WebAssembly build of Perl running actual SLOCCount algorithms from licquia/sloccount.