Very large file
Part of Code Quality & Syntax, which counts for 20% of the overall score. When this check fires it deducts 8 points from that category, once per scan, no matter how many places it turns up.
What it detects
Source files over 500 lines are hard to review and often mix unrelated responsibilities.
Why it matters
A file past 500 lines is hard to review, attracts merge conflicts, and usually mixes several responsibilities, which is where regressions hide. Anyone editing it (humans and AI agents alike) tends to change more than intended because everything is within reach.
How to fix it
Split along responsibility lines: pull cohesive groups (types, pure helpers, one component or class per file, data access) into their own modules, and keep the original path as a thin re-export if other files import from it. Use your editor's move/refactor commands so behavior stays identical, and keep each extraction to its own commit.
The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing
Does your repo trip this check?
Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.
Scan your repo