Coverity Scan: barebox

Project Name barebox
Lines of code analyzed 159,413
On Coverity Scan since Apr 24, 2014
Last build analyzed 12 days ago
   
Language C/C++
Repository URL git://git.pengutronix.de/git/barebox.git
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.03.0-g6df0ab3f7d

Mar 31, 2025
Last Analyzed
159,413
Lines of Code Analyzed
149,411
Lines of Code in Selected Components
4.63
Defect Density

Defect changes since previous build dated Mar 21, 2025

510
Newly detected
11
Eliminated

Defects by status for current build

835
Total defects
692
Outstanding
130
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 188,330 2.00
Crypto code .*/crypto/.* No 4,006 0.75
Architecture Support .*/arch/.* No 1,579 5.07
Commands .*/commands/.* No 18,423 1.36
EFI support .*/efi/.* No 153 0.00
File systems .*/fs/.* No 28,382 1.80
Networking .*/net/.* No 3,701 2.16
Test code .*/test/.* No 2,054 2.92
Common code .*/(common|lib|pbl)/.* No 70,362 1.46
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,177 4.01
Other .* No 88,608 0.03

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 45
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