Coverity Scan: coreutils

Project Name coreutils
Lines of code analyzed 246,742
On Coverity Scan since Aug 17, 2011
Last build analyzed 12 days 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

Nov 15, 2024
Last Analyzed
246,742
Lines of Code Analyzed
1.19
Defect Density

Defect changes since previous build dated Nov 11, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

717
Total defects
294
Outstanding
366
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 6,384 2.51
gnulib /lib/.* No 101,037 1.15
dd /src/dd.c No 1,906 15.22
copy /src/copy.c No 2,345 2.99
cat /src/cat.c No 534 7.49
pinky /src/pinky.c No 463 15.12
pr /src/pr.c No 1,708 9.37
split /src/split.c No 1,294 15.46
truncate /src/truncate.c No 303 16.50
wc /src/wc.c No 740 18.92
Other .* No 129,911 0.46

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 1
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