Coverity Scan: Samba

Project Name Samba
Lines of code analyzed 3,333,186
On Coverity Scan since Feb 23, 2006
Last build analyzed 1 day 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

Aug 10, 2026
Last Analyzed
3,333,186
Lines of Code Analyzed
2,839,196
Lines of Code in Selected Components
0.15
Defect Density

Defect changes since previous build dated Aug 08, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

14,831
Total defects
431
Outstanding
13,842
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 277,267 N/A
Library /lib/.* No 156,157 0.35
rpc_server /source./rpc_server/.* No 78,837 0.11
smbd /source./smbd/.* No 87,100 0.17
ctdb /ctdb/.* No 92,108 0.13
thirt_party /third_party/.* Yes 216,723 N/A
Other .* No 2,425,027 0.14

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 110
676 Use of Potentially Dangerous Function 21
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