Coverity Scan: gluster/glusterfs

Project Name gluster/glusterfs
Lines of code analyzed 561,788
On Coverity Scan since Oct 31, 2013
Last build analyzed 17 days 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: 4.0-a3f4b71c1

Nov 27, 2017
Last Analyzed
561,788
Lines of Code Analyzed
555,983
Lines of Code in Selected Components
0.74
Defect Density

Defect changes since previous build dated Nov 04, 2017

7
Newly detected
172
Eliminated

Defects by status for current build

1,757
Total defects
413
Outstanding
1,320
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 521 N/A
contrib .*/contrib/.* Yes 5,284 N/A
cli /cli/.* No 26,123 0.42
api /api/.* No 9,308 0.11
argp-standalone /argp-standalone/.* No 0 N/A
extras /extras/.* No 81 0.00
doc /doc/.* Yes 0 N/A
geo-replication /geo-replication/.* No 452 8.85
glusterfs-hadoop /glusterfs-hadoop/.* No 0 N/A
glusterfsd /glusterfsd/.* No 4,613 3.47
libglusterfs /libglusterfs/.* No 52,326 0.67
rpc-lib /rpc/rpc-lib/.* No 7,343 0.41
rpc-transport /rpc/rpc-transport/.* No 9,510 1.05
xdr /rpc/xdr/.* No 11,605 0.00
tests /tests/.* No 0 N/A
error-gen /xlators/debug/error-gen/.* No 1,408 3.55
io-stats /xlators/debug/io-stats/.* No 3,732 0.00
trace /xlators/debug/trace/.* No 2,829 0.00
rot-13 /xlators/encryption/rot-13/.* No 162 0.00
crypt /xlators/encryption/crypt/.* No 6,307 1.11
changelog /xlators/features/changelog/.* No 8,684 0.81
compress /xlators/features/compress/.* No 718 0.00
libxlator /xlators/lib/.* No 472 0.00
glusterd /xlators/mgmt/glusterd/.* No 86,797 1.38
fuse /xlators/mount/fuse/.* No 6,046 0.33
nfs /xlators/nfs/.* No 224 0.00
io-cache /xlators/performance/io-cache/.* No 2,689 2.98
io-threads /xlators/performance/io-threads/.* No 1,089 0.92
md-cache /xlators/performance/md-cache/.* No 2,457 0.00
open-behind /xlators/performance/open-behind/.* No 764 0.00
quick-read /xlators/performance/quick-read/.* No 963 2.08
read-ahead /xlators/performance/read-ahead/.* No 1,586 0.00
readdir-ahead /xlators/performance/readdir-ahead/.* No 585 1.71
symlink-cache /xlators/performance/symlink-cache/.* No 310 3.23
write-behind /xlators/performance/write-behind/.* No 2,182 1.37
protocol-client /xlators/protocol/client/.* No 13,848 0.36
protocol-server /xlators/protocol/server/.* No 12,121 0.41
posix /xlators/storage/posix/.* No 10,894 2.48
bd /xlators/storage/bd/.* No 3,267 3.06
posix-acl /xlators/system/posix-acl/.* No 2,119 0.47
afr /xlators/cluster/afr/.* No 21,798 0.18
dht /xlators/cluster/dht/.* No 29,362 1.02
ha /xlators/cluster/ha/.* No 0 N/A
map /xlators/cluster/map/.* No 0 N/A
stripe /xlators/cluster/stripe/.* No 5,348 1.31
ec /xlators/cluster/ec/.* No 34,044 0.18
trash /xlators/features/trash/.* No 2,085 1.44
Other .* No 183,691 0.40

CWE Top 25 defects

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