Coverity Scan: Python

Project Name Python
Lines of code analyzed 534,546
On Coverity Scan since Feb 24, 2006
Last build analyzed a while 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

Oct 22, 2020
Last Analyzed
534,546
Lines of Code Analyzed
471,387
Lines of Code in Selected Components
0.10
Defect Density

Defect changes since previous build dated Jul 28, 2020

21
Newly detected
17
Eliminated

Defects by status for current build

1,260
Total defects
47
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,159 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,647 0.21
expat .*/Modules/expat/.* No 11,526 0.00
Modules .*/Modules/.* No 246,691 0.08
Include (.*/Include/.*|.*/pyconfig.h) No 11,474 0.00
stringlib .*/Objects/stringlib/.* No 3,623 0.00
Objects .*/Objects/.* No 79,063 0.11
Parser .*/Parser/.* No 29,372 0.44
Programs .*/Programs/.* No 1,301 0.00
Python .*/Python/.* No 67,908 0.06
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...

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