Coverity Scan: FreeBSD

Project Name FreeBSD
Lines of code analyzed 12,039,167
On Coverity Scan since Feb 28, 2013
Last build analyzed 7 days ago
   
Language C/C++
Repository URL https://git.FreeBSD.org/src.git
Homepage URL https://www.FreeBSD.org
License Other: BSD + Contrib Software (Other Licenses)

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: CURRENT-2025-05-21

May 22, 2025
Last Analyzed
12,039,167
Lines of Code Analyzed
1.03
Defect Density

Defect changes since previous build dated May 15, 2025

19
Newly detected
7
Eliminated

Defects by status for current build

52,927
Total defects
12,458
Outstanding
39,259
Fixed
See how defect density for 'FreeBSD' 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
Contrib /(cddl|contrib|crypto|gnu|kerberos5)/.* No 3,189,815 1.32
Kernel /sys/.* No 5,531,000 0.74
Userland /(bin|include|lib|libexec|release|rescue|sbin|secure|usr.bin|usr.sbin)/.* No 1,311,575 2.10
Tools /(tests|tools)/.* No 87,135 12.87
Other .* No 1,922,375 0.18

CWE Top 25 defects

ID CWE-Name Number of Defects
22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 1
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 82
190 Integer Overflow or Wraparound 1203
676 Use of Potentially Dangerous Function 690
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