Coverity Scan: Samba

Project Name Samba
Lines of code analyzed 3,318,499
On Coverity Scan since Feb 23, 2006
Last build analyzed about 1 hour ago
   
Language C/C++
Repository URL https://git.samba.org/samba.git
Homepage URL https://www.samba.org/
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Dec 22, 2025
Last Analyzed
3,318,499
Lines of Code Analyzed
2,832,079
Lines of Code in Selected Components
0.55
Defect Density

Defect changes since previous build dated Dec 19, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

14,673
Total defects
1,555
Outstanding
12,831
Fixed
See how defect density for 'Samba' 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
torture /source./torture/.* Yes 271,084 N/A
Library /lib/.* No 155,570 0.82
rpc_server /source./rpc_server/.* No 77,144 0.31
smbd /source./smbd/.* No 86,776 1.22
ctdb /ctdb/.* No 89,782 0.08
thirt_party /third_party/.* Yes 215,336 N/A
Other .* No 2,422,807 0.27

CWE Top 25 defects

ID CWE-Name Number of Defects
131 Incorrect Calculation of Buffer Size 1
190 Integer Overflow or Wraparound 173
676 Use of Potentially Dangerous Function 118
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