Coverity Scan: gluster/glusterfs

Project Name gluster/glusterfs
Lines of code analyzed 527,079
On Coverity Scan since Oct 31, 2013
Last build analyzed about 16 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: 2022-08-12-f23521c

Aug 12, 2022
Last Analyzed
527,079
Lines of Code Analyzed
519,285
Lines of Code in Selected Components
0.03
Defect Density

Defect changes since previous build dated Aug 11, 2022

0
Newly detected
0
Eliminated

Defects by status for current build

4,049
Total defects
16
Outstanding
3,873
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 3,325 N/A
contrib .*/contrib/.* Yes 4,469 N/A
doc /doc/.* Yes 0 N/A
ACL xlator /xlators/system/posix-acl/.* No 1,980 0.00
Arbiter xlator /xlators/features/arbiter/.* No 327 0.00
AFR xlator /xlators/cluster/afr/.* No 23,673 0.00
Barrier xlator /xlators/features/barrier/.* No 758 0.00
Block xlator /xlators/storage/bd/.* No 0 N/A
Bitrot xlator /xlators/features/bit-rot/.* No 7,343 0.00
Changelog xlator /xlators/features/changelog/.* No 8,663 0.12
Change time recorder xlator /xlators/features/changetimerecorder/.* No 0 N/A
Decompounder xlator /xlators/performance/decompounder/.* No 0 N/A
DHT xlator /xlators/cluster/dht/.* No 25,648 0.04
EC xlator /xlators/cluster/ec/.* No 34,872 0.00
Error-gen Xlator /xlators/debug/error-gen/.* No 1,369 0.00
FUSE Bridge Xlator /xlators/mount/.* No 7,145 0.00
Index Xlator /xlators/features/index/.* No 2,358 0.00
IO Cache xlator /xlators/performance/io-cache/.* No 2,718 0.74
IO stats xlator /xlators/debug/io-stats/.* No 3,921 0.00
IO threads xlator /xlators/performance/io-threads/.* No 1,376 0.00
Leases xlator /xlators/features/leases/.* No 2,247 0.00
Locks xlator /xlators/features/locks/.* No 8,177 0.12
Marker xlator /xlators/features/marker/.* No 5,062 0.00
Meta xlator /xlators/meta/.* No 2,008 0.00
Metadata-cache xlator /xlators/performance/md-cache/.* No 3,230 0.00
Negative-lookup cache xlator /xlators/performance/nl-cache/.* No 1,742 0.00
NFS Server xlator /xlators/nfs/server/.* No 21,632 0.00
Open behind xlator /xlators/performance/open-behind/.* No 793 0.00
POSIX Xlator /xlators/storage/posix/.* No 15,420 0.00
Quick-read xlator /xlators/performance/quick-read/.* No 1,382 0.00
Quota xlator /xlators/features/quota/.* No 5,485 0.00
Read ahead xlator /xlators/performance/read-ahead/.* No 1,573 0.00
Read ahead-dir xlator /xlators/performance/readdir-ahead/.* No 1,140 0.00
Shard xlator /xlators/features/shard/.* No 6,723 0.00
Trash xlator /xlators/features/trash/.* No 2,107 0.47
Upcall xlator /xlators/features/upcall/.* No 2,370 0.00
Write-behind xlator /xlators/performance/write-behind/.* No 2,343 0.00
WORM xlator /xlators/features/read-only/.* No 1,538 0.00
RIO xlator /xlators/experimental/dht2/.* No 0 N/A
JBR xlator /(xlators/experimental/fdl/.*)|(xlators/experimenta/jbr-client/.*)|(xlators/experimental/jbr-server/.*) No 0 N/A
Libglusterfs /libglusterfs/.* No 52,284 0.00
GD1 /xlators/mgmt/glusterd/.* No 88,147 0.02
CLI /cli/.* No 24,412 0.08
Utilities /extras/.* No 81 0.00
Tests /tests/.* No 0 N/A
Cloudsync Xlator /xlators/features/cloudsync/.* No 5,091 0.00
Geo Replication /geo-replication/.* No 439 0.00
Glusterfind /tools/glusterfind/.* No 0 N/A
libgfapi /api/.* No 12,359 0.00
Protocol /xlators/protocol/.* No 20,716 0.00
libgfdb /libglusterfs/src/gfdb/.* No 0 N/A
RDMA /rpc/rpc-transport/rdma/.* No 0 N/A
Snapshot /xlators/mgmt/glusterd/src/glusterd-snap.* No 0 N/A
Socket /rpc/rpc-transport/socket/.* No 4,455 0.00
RPC Subsystem /(rpc/rpc-lib/.*)|(rpc/xdr/.*) No 7,643 0.00
Other .* No 96,535 0.01

CWE Top 25 defects

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