Coverity Scan: barebox

Project Name barebox
Lines of code analyzed 438,777
On Coverity Scan since Apr 24, 2014
Last build analyzed 6 days 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: 2025.08.0-gb5561f3bdd

Aug 30, 2025
Last Analyzed
438,777
Lines of Code Analyzed
428,775
Lines of Code in Selected Components
1.87
Defect Density

Defect changes since previous build dated Mar 31, 2025

163
Newly detected
54
Eliminated

Defects by status for current build

932
Total defects
802
Outstanding
118
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 196,206 1.98
Crypto code .*/crypto/.* No 3,939 1.52
Architecture Support .*/arch/.* No 1,706 4.69
Commands .*/commands/.* No 19,800 2.63
EFI support .*/efi/.* No 341 0.00
File systems .*/fs/.* No 30,396 2.27
Networking .*/net/.* No 6,199 2.26
Test code .*/test/.* No 2,247 4.01
Common code .*/(common|lib|pbl)/.* No 72,303 1.92
DTC .*/scripts/dtc/.*.c Yes 10,002 N/A
Kconfig .*/scripts/kconfig/.* Yes 0 N/A
Modpost .*/scripts/modpost/.* Yes 0 N/A
Scripts and Tools .*/scripts/.* No 23,410 3.97
Other .* No 96,343 0.10

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 10
131 Incorrect Calculation of Buffer Size 2
190 Integer Overflow or Wraparound 55
732 Incorrect Permission Assignment for Critical Resource 12
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