Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 6,342,154
On Coverity Scan since Nov 14, 2013
Last build analyzed 7 days ago
   
Language C/C++
Repository URL http://review.coreboot.org/coreboot.git
Homepage URL http://www.coreboot.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: coreboot_4.18-833-g3d4b1710eb

Dec 02, 2022
Last Analyzed
6,342,154
Lines of Code Analyzed
5,977,591
Lines of Code in Selected Components
0.08
Defect Density

Defect changes since previous build dated Nov 29, 2022

2
Newly detected
0
Eliminated

Defects by status for current build

2,980
Total defects
473
Outstanding
2,425
Fixed
See how defect density for 'coreboot' 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
ChromeEC /3rdparty/chromeec/.* Yes 61,633 N/A
Arm Trusted Firmware /3rdparty/arm-trusted-firmware/.* Yes 85,848 N/A
vboot /3rdparty/vboot/.* Yes 27,767 N/A
opensbi /3rdparty/opensbi/.* Yes 16,968 N/A
libpayload /payloads/libpayload/.* No 53,529 0.34
payloads /payloads/.* No 16,244 0.18
romcc /util/romcc/.* No 0 N/A
host tools /util/.* No 85,458 0.67
Google vendorcode /src/vendorcode/google/.* No 930 0.00
Intel vendorcode /src/vendorcode/intel/.* No 59,132 0.00
AMD vendorcode /src/vendorcode/amd/.* No 17,978 0.00
Siemens vendorcode /src/vendorcode/siemens/.* No 580 0.00
Other vendorcode /src/vendorcode/.* No 265,562 0.22
coreboot /src/.* No 635,097 0.30
Generated Files /cb-build/.* No 4,782,708 0.00
Temp files /tmp/.* No 138 0.00
Host include files /usr/include/.* Yes 39,073 N/A
Host library files /usr/lib/.* Yes 64,116 N/A
Other 3rdparty /3rdparty/.* Yes 69,158 N/A
Coverity /cov-int/.* Yes 0 N/A
ccache .*/.ccache/.* No 0 N/A
Coverity_2 .*/coverity/.* No 0 N/A
Go .*/coreboot/go/.* No 36,135 0.17
AMD Mainboards /src/mainboard/amd/.* No 0 N/A
AMD FSP Vendorcode /src/vendorcode/amd/fsp/.* No 0 N/A
Other .* No 22,413 0.13

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 29
190 Integer Overflow or Wraparound 14
676 Use of Potentially Dangerous Function 2
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