Coverity Scan: Python

Project Name Python
Lines of code analyzed 532,425
On Coverity Scan since Feb 24, 2006
Last build analyzed about 2 months ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
Repository URL https://github.com/python/cpython/
Homepage URL http://www.python.org/
License Python (Python License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 3.10

Jul 28, 2020
Last Analyzed
532,425
Lines of Code Analyzed
469,315
Lines of Code in Selected Components
0.07
Defect Density

Defect changes since previous build dated Jul 10, 2020

0
Newly detected
0
Eliminated

Defects by status for current build

1,133
Total defects
31
Outstanding
1,014
Fixed
See how defect density for 'Python' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
usr include /usr/include/.* Yes 63,110 N/A
libffi .*/Modules/_ctypes/libffi.*/.* Yes 0 N/A
libffi_build .*/build/.*/libffi/.* Yes 0 N/A
zlib .*/Modules/zlib/.* Yes 0 N/A
libmpdec .*/Modules/_decimal/libmpdec/.* No 11,446 0.00
ctypes .*/Modules/_ctypes/.* No 9,645 0.21
expat .*/Modules/expat/.* No 11,526 0.00
Modules .*/Modules/.* No 246,023 0.07
Include (.*/Include/.*|.*/pyconfig.h) No 11,199 0.00
stringlib .*/Objects/stringlib/.* No 3,623 0.00
Objects .*/Objects/.* No 78,323 0.09
Parser .*/Parser/.* No 29,237 0.00
Programs .*/Programs/.* No 1,301 0.00
Python .*/Python/.* No 68,116 0.07
Other .* No 997 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 1
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project