Coverity Scan: ryao/zfs

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

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Jun 15, 2024
Last Analyzed
495,939
Lines of Code Analyzed
0.47
Defect Density

Defect changes since previous build dated Jun 14, 2024

2
Newly detected
53
Eliminated

Defects by status for current build

537
Total defects
231
Outstanding
301
Fixed
See how defect density for 'ryao/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 34,426 0.90
Commands /cmd/.* No 44,684 1.28
Kernel code - ZFS /module/(zfs|os/(linux|freebsd)/zfs)/.* No 146,643 0.44
Kernel code - SPL /module/os/(linux|freebsd)/spl/.* No 6,050 2.31
Kernel code - LUA /module/lua/.* No 10,952 0.64
Kernel code - NVPAIR /module/nvpair/.* No 3,336 1.20
Kernel code - UNICODE /module/unicode/.* No 1,863 0.00
Kernel code - ZCOMMON /module/zcommon/.* No 4,471 0.00
Kernel code - ZSTD /module/zstd/.* No 18,406 0.43
Kernel code - AVL /module/avl/.* No 512 0.00
Kernel code - ICP /module/icp/.* No 10,958 0.46
ZFS Test Suite /tests/.* No 9,885 3.54
pyzfs /contrib/pyzfs/.* No 6,290 0.00
Other .* No 197,559 0.03

CWE Top 25 defects

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