Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 6,592,191
On Coverity Scan since Nov 14, 2013
Last build analyzed 3 days ago
Language C/C++
Repository URL
Homepage URL
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: coreboot_4.17-956-g5e80bcfaea

Aug 09, 2022
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Aug 05, 2022

Newly detected

Defects by status for current build

Total defects
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 79,535 N/A
vboot /3rdparty/vboot/.* Yes 27,523 N/A
opensbi /3rdparty/opensbi/.* Yes 7,197 N/A
libpayload /payloads/libpayload/.* No 53,412 0.34
payloads /payloads/.* No 16,244 0.18
romcc /util/romcc/.* No 0 N/A
host tools /util/.* No 83,209 0.72
Google vendorcode /src/vendorcode/google/.* No 930 0.00
Intel vendorcode /src/vendorcode/intel/.* No 58,318 0.00
AMD vendorcode /src/vendorcode/amd/.* No 403,940 0.36
Siemens vendorcode /src/vendorcode/siemens/.* No 580 0.00
Other vendorcode /src/vendorcode/.* No 265,558 0.22
coreboot /src/.* No 627,096 0.29
Generated Files /cb-build/.* No 4,689,155 0.00
Temp files /tmp/.* No 132 0.00
Host include files /usr/include/.* Yes 33,455 N/A
Host library files /usr/lib/.* Yes 54,743 N/A
Other 3rdparty /3rdparty/.* Yes 69,151 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 1.11
Other .* No 22,387 0.13

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 22
190 Integer Overflow or Wraparound 18
676 Use of Potentially Dangerous Function 2





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