Project Name | openzfs/zfs |
---|---|
Lines of code analyzed | 493,098 |
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
Line of Code (LOC) | Defect Density |
---|---|
Less than 100,000 | 0.35 |
100,000 to 499,999 | 0.5 |
500,000 to 1 million | 0.7 |
More than 1 million | 0.65 |
Note: Defect density is measured by the number of defects per 1,000 lines of code, identified by the Coverity platform. The numbers shown above are from our 2013 Coverity Scan Report, which analyzed 250 million lines of open source code.
Note: Defect density is measured by the number of defects per 1,000 lines of code.
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 |
ID | CWE-Name | Number of Defects |
---|---|---|
190 | Integer Overflow or Wraparound | 1 |
676 | Use of Potentially Dangerous Function | 3 |
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