Coverity Scan: Samba

Project Name Samba
Lines of code analyzed 3,317,957
On Coverity Scan since Feb 23, 2006
Last build analyzed 3 days 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

Jul 28, 2025
Last Analyzed
3,317,957
Lines of Code Analyzed
2,891,370
Lines of Code in Selected Components
0.58
Defect Density

Defect changes since previous build dated Jul 25, 2025

5
Newly detected
19
Eliminated

Defects by status for current build

14,614
Total defects
1,681
Outstanding
12,758
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 269,508 N/A
Library /lib/.* No 154,987 0.97
rpc_server /source./rpc_server/.* No 77,327 0.40
smbd /source./smbd/.* No 86,783 1.26
ctdb /ctdb/.* No 89,711 0.19
heimdal /third_party/heimdal/.* Yes 157,079 N/A
Other .* No 2,482,566 0.31

CWE Top 25 defects

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