Skip to main content

python/cpython

Sample Report

The Python programming language.

63k stars30.2k forks2400+ contributors
Health Score
Overall code quality assessment
79
Grade B
Structure85%
Quality76%
Architecture74%
critical

8

high

34

medium

215

low

478

info

157

Top Issues
Most critical findings requiring attention

Buffer overflow in Unicode string handling

Objects/unicodeobject.c

Security

Integer overflow in array allocation

Modules/arraymodule.c

Security

Cyclomatic complexity of 127 exceeds threshold (15)

Python/compile.c

Complexity

Function exceeds 500 lines (max: 50)

Python/ceval.c

Code Style

Missing error handling for memory allocation

Objects/listobject.c

Error Handling
File Hotspots
Files with the most issues

ceval.c

Python/

89 issues

compile.c

Python/

67 issues

unicodeobject.c

Objects/

54 issues

typeobject.c

Objects/

48 issues

dictobject.c

Objects/

42 issues
Detector Breakdown
Issues by category
Complexity234
Code Style189
Duplication145
Security42
Error Handling98
Dead Code112
Memory Safety72

Get insights like these for your codebase

Repotoire analyzes your code structure, detects issues, and provides actionable recommendations to improve your code health.