Coverity Scan: nfs-ganesha

Project Name nfs-ganesha
Lines of code analyzed 270,758
On Coverity Scan since May 05, 2014
Last build analyzed 24 days ago
   
Language C/C++
Repository URL git://github.com/nfs-ganesha/nfs-ganesha.git
Homepage URL http://nfs-ganesha.github.com
License LGPL (GNU Library or "Lesser" General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 9.0

Nov 03, 2025
Last Analyzed
270,758
Lines of Code Analyzed
0.28
Defect Density

Defect changes since previous build dated Aug 01, 2025

20
Newly detected
18
Eliminated

Defects by status for current build

832
Total defects
76
Outstanding
614
Fixed
See how defect density for 'nfs-ganesha' 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
AVL .*/avl/.* No 1,408 0.00
CIDR .*/cidr/.* No 0 N/A
Config_Parsing .*/config_parsing/.* No 7,889 0.00
DBUS .*/dbus/.* No 2,401 0.00
FSAL_CEPH .*/FSAL/FSAL_CEPH/.* No 4,508 0.22
FSAL_GPFS .*/FSAL/FSAL_GPFS/.* No 7,541 1.19
FSAL_KVSFS .*/FSAL/FSAL_KVSFS/.* No 0 N/A
FSAL_MEM .*/FSAL/FSAL_MEM/.* No 2,163 0.00
FSAL_PROXY_V3 .*/FSAL/FSAL_PROXY_V3/.* No 2,765 0.36
FSAL_PROXY_V4 .*/FSAL/FSAL_PROXY_V4/.* No 3,335 1.20
FSAL_PSEUDO .*/FSAL/FSAL_PSEUDO/.* No 722 0.00
FSAL_RGW .*/FSAL/FSAL_RGW/.* No 1,736 0.00
FSAL_VFS .*/FSAL/FSAL_VFS/.* No 5,143 0.19
FSAL_MDCACHE .*/FSAL/Stackable_FSALs/FSAL_MDCACHE/.* No 7,192 0.70
FSAL_NULL .*/FSAL/Stackable_FSALs/FSAL_NULL/.* No 1,446 0.00
FSAL_API .*/FSAL/.*\.[ch] No 16,717 0.48
FSAL_UP .*/FSAL_UP/.* No 1,595 0.00
Hashtable .*/hashtable/.* No 593 0.00
IDMapper .*/idmapper/.* No 2,741 0.36
Include .*/include/.* No 139,088 0.04
Log .*/log/.* No 2,395 0.42
NFSD .*/MainNFSD/.* No 8,169 0.49
Monitoring .*/monitoring/.* No 728 6.87
OS_FreeBSD .*/os/freebsd/.* No 0 N/A
OS_Linux .*/os/linux/.* No 95 0.00
Protocols_9P .*/Protocols/9P/.* No 0 N/A
Protocols_NFS .*/Protocols/NFS/.* No 18,130 0.11
Protocols_NFSACL .*/Protocols/NFSACL/.* No 271 3.69
Protocols_NLM .*/Protocols/NLM/.* No 1,972 0.00
Protocols_RQUOTA .*/Protocols/RQUOTA/.* No 363 0.00
Protocols_XDR .*/Protocols/XDR/.* No 2,510 0.00
RPCAL .*/RPCAL/.* No 2,826 0.71
Support .*/support/.* No 16,510 0.73
Test .*/test/.* No 0 N/A
Tracing .*/tracing/.* No 0 N/A
SAL_RECOVERY .*/SAL/recovery/.* No 2,679 0.75
SAL_API ./SAL/.*\.[ch] No 0 N/A
NTIRPC .*/ntirpc/.* Yes 0 N/A
Other .* No 10,256 1.07

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
190 Integer Overflow or Wraparound 3
676 Use of Potentially Dangerous Function 1
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