Code-quality checks

Find the patterns worth reviewing.

SlopCop groups deterministic findings into practical review areas. The checks identify evidence to inspect; they do not flatten every match into a claim that the code is definitely wrong.

Performance and wasted work

Find repeated database or network calls, file reads, subprocesses, parsing, serialization, regex compilation, sorting, and selected expensive nested operations inside loops.

A match identifies where work repeats. Runtime impact still depends on call frequency, input size, caching, and the surrounding execution path.

Correctness and risky behavior

Review dynamic evaluation, Python pickle deserialization, suspicious exception handling, and selected concurrency or initialization patterns that can hide failures or create surprising behavior.

Deep analysis adds supported cross-file and data-flow checks where the analyzer can establish the required identity and path evidence.

Maintainability, tests, and credentials

Structural metrics surface cognitive and cyclomatic complexity, long methods, and oversized objects. Test checks look for missing or low-value assertions. Credential checks identify suspicious locations without reproducing matched values.

Reports preserve check status and coverage. Unsupported languages, unavailable models, skipped files, time limits, and incomplete discovery remain visible rather than becoming a misleading clean bill of health.

  • 20 quick-review check families
  • 27 deep-review check families
  • Traceable locations and bounded excerpts
Talk to the SlopCop team

Your team.
Your rulebook.

Talk with us about custom checks, CI setup, or anything else you’d like to know about SlopCop.

We’ll use your email to respond. No scan or report is needed.