Coverity Scan: coreutils

Project Name coreutils
Lines of code analyzed 264,851
On Coverity Scan since Aug 17, 2011
Last build analyzed about 13 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

Feb 13, 2026
Last Analyzed
264,851
Lines of Code Analyzed
0.49
Defect Density

Defect changes since previous build dated Feb 13, 2026

0
Newly detected
0
Eliminated

Defects by status for current build

761
Total defects
129
Outstanding
587
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 3,905 1.54
gnulib /lib/.* No 99,369 0.63
dd /src/dd.c No 1,898 0.00
copy /src/copy.c No 1,954 1.02
cat /src/cat.c No 550 0.00
pinky /src/pinky.c No 464 0.00
pr /src/pr.c No 1,736 1.15
split /src/split.c No 1,350 2.22
truncate /src/truncate.c No 305 0.00
wc /src/wc.c No 781 1.28
Other .* No 153,570 0.34

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