Coverity Scan: openzfs/zfs

Project Name openzfs/zfs
Lines of code analyzed 495,890
On Coverity Scan since Sep 09, 2022
Last build analyzed 5 months ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
Repository URL https://github.com/openzfs/zfs.git
Homepage URL https://github.com/openzfs/zfs
License CDDL (Common Development and Distribution License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Nov 22, 2023
Last Analyzed
495,890
Lines of Code Analyzed
0.14
Defect Density

Defect changes since previous build dated Jun 09, 2023

32
Newly detected
11
Eliminated

Defects by status for current build

797
Total defects
71
Outstanding
601
Fixed
See how defect density for 'openzfs/zfs' 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
Libraries /lib/.* No 33,947 0.29
Commands /cmd/.* No 43,777 0.32
Kernel code - ZFS /module/(zfs|os/(linux|freebsd)/zfs)/.* No 144,900 0.16
Kernel code - SPL /module/os/(linux|freebsd)/spl/.* No 5,961 1.68
Kernel code - LUA /module/lua/.* No 10,951 0.64
Kernel code - NVPAIR /module/nvpair/.* No 3,335 0.00
Kernel code - UNICODE /module/unicode/.* No 1,863 0.00
Kernel code - ZCOMMON /module/zcommon/.* No 4,463 0.00
Kernel code - ZSTD /module/zstd/.* No 18,406 0.00
Kernel code - AVL /module/avl/.* No 512 0.00
Kernel code - ICP /module/icp/.* No 12,997 0.08
ZFS Test Suite /tests/.* No 9,253 0.54
pyzfs /contrib/pyzfs/.* No 6,290 0.00
Other .* No 196,443 0.01

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 1
676 Use of Potentially Dangerous Function 3
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