Discipline Coding
Comment Density Analyzer | Instantly See How Well-Documented Your Code Is
Comment Density Analyzer | Instantly See How Well-Documented Your Code Is
Couldn't load pickup availability
Are you documenting your code enough? Comment Density Analyzer scans every Python file in a folder, calculates your comment-to-code ratio, and shows the results in a clean, sortable table.
It’s the perfect tool for self-review, team code quality checks, or tracking documentation habits over time — all in a sleek Windows 11-style interface.
Features:
Recursively scan all .py
files in a chosen folder
Per-file breakdown:
- Total lines
- Blank lines
- Comment lines (including optional triple-quoted docstrings)
- Inline comment lines
- Code lines
- Comment-to-code ratio
Filter out tiny files (set minimum line count)
Ignore noisy directories (.git
, node_modules
, etc.)
Sortable results table
Export results to CSV
Light/Dark/System appearance toggle
Built with CustomTkinter for a modern UI
** Note: Buying multiple scripts won’t unlock extra features—but every purchase directly supports indie development. Thanks for your support! **
Share
