Coverity Scan: gluster/glusterfs

Project Name gluster/glusterfs
Lines of code analyzed 624,382
On Coverity Scan since Oct 31, 2013
Last build analyzed about 8 hours ago
   
Language C/C++
Repository URL https://github.com/gluster/glusterfs.git
Homepage URL http://www.gluster.org
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 2018-10-18-273c895

Oct 18, 2018
Last Analyzed
624,382
Lines of Code Analyzed
618,773
Lines of Code in Selected Components
0.24
Defect Density

Defect changes since previous build dated Oct 17, 2018

0
Newly detected
3
Eliminated

Defects by status for current build

3,787
Total defects
150
Outstanding
3,572
Fixed
See how defect density for 'gluster/glusterfs' 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
usr-lib /usr/lib/.* Yes 487 N/A
contrib .*/contrib/.* Yes 5,122 N/A
doc /doc/.* Yes 0 N/A
ACL xlator /xlators/system/posix-acl/.* No 2,090 0.00
Arbiter xlator /xlators/features/arbiter/.* No 315 0.00
AFR xlator /xlators/cluster/afr/.* No 21,740 0.23
Barrier xlator /xlators/features/barrier/.* No 762 0.00
Block xlator /xlators/storage/bd/.* No 3,324 0.30
Bitrot xlator /xlators/features/bit-rot/.* No 7,218 0.14
Changelog xlator /xlators/features/changelog/.* No 8,452 0.24
Change time recorder xlator /xlators/features/changetimerecorder/.* No 2,827 1.77
Decompounder xlator /xlators/performance/decompounder/.* No 820 0.00
DHT xlator /xlators/cluster/dht/.* No 29,383 0.37
EC xlator /xlators/cluster/ec/.* No 34,246 0.00
Error-gen Xlator /xlators/debug/error-gen/.* No 1,356 1.47
FUSE Bridge Xlator /xlators/mount/.* No 6,134 0.16
Index Xlator /xlators/features/index/.* No 2,307 0.43
IO Cache xlator /xlators/performance/io-cache/.* No 2,663 0.38
IO stats xlator /xlators/debug/io-stats/.* No 3,709 0.00
IO threads xlator /xlators/performance/io-threads/.* No 1,351 0.74
Leases xlator /xlators/features/leases/.* No 2,184 0.00
Locks xlator /xlators/features/locks/.* No 7,232 0.28
Marker xlator /xlators/features/marker/.* No 5,195 0.19
Meta xlator /xlators/meta/.* No 2,060 0.97
Metadata-cache xlator /xlators/performance/md-cache/.* No 2,934 0.34
Negative-lookup cache xlator /xlators/performance/nl-cache/.* No 1,743 0.00
NFS Server xlator /xlators/nfs/server/.* No 21,446 0.14
Open behind xlator /xlators/performance/open-behind/.* No 1,049 0.95
POSIX Xlator /xlators/storage/posix/.* No 13,148 1.67
Quick-read xlator /xlators/performance/quick-read/.* No 1,395 0.00
Quota xlator /xlators/features/quota/.* No 5,434 0.18
Read ahead xlator /xlators/performance/read-ahead/.* No 1,567 0.00
Read ahead-dir xlator /xlators/performance/readdir-ahead/.* No 1,061 0.00
Shard xlator /xlators/features/shard/.* No 6,010 0.50
Trash xlator /xlators/features/trash/.* No 2,069 0.00
Upcall xlator /xlators/features/upcall/.* No 2,528 0.00
Write-behind xlator /xlators/performance/write-behind/.* No 2,344 0.85
WORM xlator /xlators/features/read-only/.* No 1,458 0.00
RIO xlator /xlators/experimental/dht2/.* No 63 0.00
JBR xlator /(xlators/experimental/fdl/.*)|(xlators/experimenta/jbr-client/.*)|(xlators/experimental/jbr-server/.*) No 6,106 0.00
Libglusterfs /libglusterfs/.* No 53,969 0.11
GD1 /xlators/mgmt/glusterd/.* No 87,659 0.37
CLI /cli/.* No 25,954 0.15
Utilities /extras/.* No 82 0.00
Tests /tests/.* No 0 N/A
Cloudsync Xlator /xlators/features/cloudsync/.* No 4,014 0.25
Geo Replication /geo-replication/.* No 437 6.86
Glusterfind /tools/glusterfind/.* No 0 N/A
libgfapi /api/.* No 10,532 0.38
Protocol /xlators/protocol/.* No 40,416 0.12
libgfdb /libglusterfs/src/gfdb/.* No 0 N/A
RDMA /rpc/rpc-transport/rdma/.* No 4,896 0.82
Snapshot /xlators/mgmt/glusterd/src/glusterd-snap.* No 0 N/A
Socket /rpc/rpc-transport/socket/.* No 4,430 0.45
RPC Subsystem /(rpc/rpc-lib/.*)|(rpc/xdr/.*) No 7,710 0.00
Other .* No 162,967 0.09

CWE Top 25 defects

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