Coverity Scan: openzfs/zfs

Project Name openzfs/zfs
Lines of code analyzed 493,098
On Coverity Scan since Sep 09, 2022
Last build analyzed 6 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

Jun 13, 2024
Last Analyzed
493,098
Lines of Code Analyzed
0.89
Defect Density

Defect changes since previous build dated Jun 13, 2024

2
Newly detected
19
Eliminated

Defects by status for current build

1,167
Total defects
441
Outstanding
598
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 34,060 0.70
Commands /cmd/.* No 44,221 1.49
Kernel code - ZFS /module/(zfs|os/(linux|freebsd)/zfs)/.* No 145,385 2.19
Kernel code - SPL /module/os/(linux|freebsd)/spl/.* No 6,032 0.99
Kernel code - LUA /module/lua/.* No 10,951 0.64
Kernel code - NVPAIR /module/nvpair/.* No 3,335 1.20
Kernel code - UNICODE /module/unicode/.* No 1,863 0.00
Kernel code - ZCOMMON /module/zcommon/.* No 4,463 0.45
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,999 0.15
ZFS Test Suite /tests/.* No 9,589 1.04
pyzfs /contrib/pyzfs/.* No 6,290 0.00
Other .* No 196,559 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