Coverity Scan: barebox

Project Name barebox
Lines of code analyzed 521,349
On Coverity Scan since Apr 24, 2014
Last build analyzed about 2 months ago
   
Language C/C++
Repository URL https://git.pengutronix.de/git/barebox
Homepage URL http://barebox.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 2026.04.0-g019d102038

May 01, 2026
Last Analyzed
521,349
Lines of Code Analyzed
501,390
Lines of Code in Selected Components
1.68
Defect Density

Defect changes since previous build dated Apr 01, 2026

8
Newly detected
6
Eliminated

Defects by status for current build

1,090
Total defects
841
Outstanding
198
Fixed
See how defect density for 'barebox' 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
Drivers .*/drivers/.* No 226,081 1.88
Crypto code .*/crypto/.* No 3,987 1.50
Architecture Support .*/arch/.* No 1,708 4.68
Commands .*/commands/.* No 20,724 2.41
EFI support .*/efi/.* No 4,299 0.70
File systems .*/fs/.* No 31,392 2.29
Networking .*/net/.* No 6,265 2.55
Test code .*/test/.* No 2,834 3.88
Common code .*/(common|lib|pbl)/.* No 76,237 1.84
DTC .*/scripts/dtc/.*.c Yes 10,002 N/A
Kconfig .*/scripts/kconfig/.* Yes 9,957 N/A
Modpost .*/scripts/modpost/.* Yes 0 N/A
Scripts and Tools .*/scripts/.* No 24,096 4.11
Other .* No 104,550 0.11

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 11
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 63
676 Use of Potentially Dangerous Function 2
732 Incorrect Permission Assignment for Critical Resource 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