Coverity Scan: coreutils

Project Name coreutils
Lines of code analyzed 259,278
On Coverity Scan since Aug 17, 2011
Last build analyzed about 7 hours ago
   
Language C/C++
Repository URL git://git.sv.gnu.org/coreutils.git
Homepage URL http://www.gnu.org/software/coreutils/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Apr 19, 2025
Last Analyzed
259,278
Lines of Code Analyzed
0.53
Defect Density

Defect changes since previous build dated Apr 18, 2025

0
Newly detected
0
Eliminated

Defects by status for current build

745
Total defects
137
Outstanding
575
Fixed
See how defect density for 'coreutils' 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
gnulib-tests /gnulib-tests/.* No 7,027 1.00
gnulib /lib/.* No 93,279 0.71
dd /src/dd.c No 1,907 0.52
copy /src/copy.c No 2,352 1.28
cat /src/cat.c No 543 0.00
pinky /src/pinky.c No 463 2.16
pr /src/pr.c No 1,709 1.17
split /src/split.c No 1,294 3.09
truncate /src/truncate.c No 303 0.00
wc /src/wc.c No 740 1.35
Other .* No 149,661 0.35

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 21
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