Coverity Scan: xfsprogs

Project Name xfsprogs
Lines of code analyzed 182,193
On Coverity Scan since Apr 05, 2013
Last build analyzed 12 days ago
   
Language C/C++
Repository URL git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
Homepage URL https://xfs.wiki.kernel.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: v6.14.0

Apr 14, 2025
Last Analyzed
182,193
Lines of Code Analyzed
2.03
Defect Density

Defect changes since previous build dated Apr 08, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

807
Total defects
369
Outstanding
408
Fixed
See how defect density for 'xfsprogs' 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
libxfs /libxfs/.* No 59,121 3.23
libxlog /libxlog/.* No 1,158 3.45
xfs_repair /repair/.* No 28,945 2.11
xfs_db /db/.* No 26,769 2.35
xfs_copy /copy/.* No 1,088 5.51
xfs_fsr /fsr/.* No 1,336 2.99
xfs_io /io/.* No 11,278 0.98
xfs_logprint /logprint/.* No 3,195 1.88
xfs_quota /quota/.* No 4,134 0.73
mkfs_xfs /mkfs/.* No 0 N/A
xfs_growfs /growfs/.* No 334 0.00
libdisk /libdisk/.* No 0 N/A
libhandle /libhandle/.* No 597 0.00
libxcmd /libxcmd/.* No 507 0.00
xfs_scrub /scrub/* No 7,566 1.19
Other .* No 36,165 0.36

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
190 Integer Overflow or Wraparound 19
676 Use of Potentially Dangerous Function 2
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