Coverity Scan: GDAL

Project Name GDAL
Lines of code analyzed 1,750,027
On Coverity Scan since Aug 31, 2013
Last build analyzed 2 days ago
   
Language C/C++
Repository URL http://github.com/OSGeo/gdal
Homepage URL gdal.org
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: master

Apr 21, 2024
Last Analyzed
1,750,027
Lines of Code Analyzed
1,285,255
Lines of Code in Selected Components
0.15
Defect Density

Defect changes since previous build dated Apr 20, 2024

0
Newly detected
3
Eliminated

Defects by status for current build

3,900
Total defects
195
Outstanding
3,577
Fixed
See how defect density for 'GDAL' 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
lib /usr/lib/.* Yes 50,833 N/A
local /usr/local/lib/.* Yes 0 N/A
swig .*/swig/.* Yes 0 N/A
libqhull .*/alg/libqhull/.* No 0 N/A
giflib .*/frmts/gif/giflib/.* No 0 N/A
osr_cs_wkt_parser .*/ogr/osr_cs_wkt_parser.c Yes 0 N/A
swq_parser_cpp .*/ogr/swq_parser.cpp Yes 2,058 N/A
hdf-eos .*/frmts/hdf4/hdf-eos/.* No 14,253 6.38
usr_include /usr/include/.* Yes 397,829 N/A
msg_PublicDecompWT_SDK .*/frmts/msg/PublicDecompWT/.* Yes 0 N/A
home_even /home/even/.* Yes 0 N/A
libjpeg12 .*/frmts/jpeg/libjpeg12/.* No 0 N/A
GoogleTest .*/autotest/cpp/googletest-src/.* Yes 14,052 N/A
Other .* No 1,271,456 0.04

CWE Top 25 defects

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