Coverity Scan: Samba

Project Name Samba
Lines of code analyzed 3,313,086
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

Jun 25, 2026
Last Analyzed
3,313,086
Lines of Code Analyzed
2,824,236
Lines of Code in Selected Components
0.15
Defect Density

Defect changes since previous build dated Jun 22, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

14,826
Total defects
433
Outstanding
13,837
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 272,127 N/A
Library /lib/.* No 156,994 0.37
rpc_server /source./rpc_server/.* No 77,753 0.12
smbd /source./smbd/.* No 86,142 0.16
ctdb /ctdb/.* No 91,195 0.13
thirt_party /third_party/.* Yes 216,723 N/A
Other .* No 2,412,302 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