Coverity Scan: coreboot

Project Name coreboot
Lines of code analyzed 5,546,781
On Coverity Scan since Nov 14, 2013
Last build analyzed about 1 month 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.14-2243-g05ae8f2ff3

Oct 15, 2021
Last Analyzed
Lines of Code Analyzed
Lines of Code in Selected Components
Defect Density

Defect changes since previous build dated Oct 12, 2021

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 73,866 N/A
Arm Trusted Firmware /3rdparty/arm-trusted-firmware/.* Yes 67,352 N/A
vboot /3rdparty/vboot/.* Yes 28,247 N/A
opensbi /3rdparty/opensbi/.* Yes 7,197 N/A
libpayload /payloads/libpayload/.* No 50,843 0.10
payloads /payloads/.* No 16,239 0.12
romcc /util/romcc/.* No 0 N/A
host tools /util/.* No 73,851 0.47
Google vendorcode /src/vendorcode/google/.* No 934 0.00
Intel vendorcode /src/vendorcode/intel/.* No 30,633 0.00
AMD vendorcode /src/vendorcode/amd/.* No 403,414 0.26
Siemens vendorcode /src/vendorcode/siemens/.* No 580 0.00
Other vendorcode /src/vendorcode/.* No 265,554 0.01
coreboot /src/.* No 574,979 0.11
Generated Files /cb-build/.* No 3,853,343 0.00
Temp files /tmp/.* No 132 0.00
Host include files /usr/include/.* Yes 33,566 N/A
Host library files /usr/lib/.* Yes 1,358 N/A
Other 3rdparty /3rdparty/.* Yes 45,708 N/A
Coverity /cov-int/.* Yes 0 N/A
ccache .*/.ccache/.* No 0 N/A
Coverity_2 .*/coverity/.* No 0 N/A
Other .* No 21,814 0.14

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 2
190 Integer Overflow or Wraparound 6
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