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