Coverity Scan: GDAL

Project Name GDAL
Lines of code analyzed 1,845,713
On Coverity Scan since Aug 31, 2013
Last build analyzed 1 day 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

Jun 17, 2025
Last Analyzed
1,845,713
Lines of Code Analyzed
1,297,095
Lines of Code in Selected Components
0.10
Defect Density

Defect changes since previous build dated Jun 15, 2025

0
Newly detected
1
Eliminated

Defects by status for current build

4,383
Total defects
130
Outstanding
4,211
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
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,346 N/A
hdf-eos .*/frmts/hdf4/hdf-eos/.* No 5,972 0.00
usr_include /usr/include/.* Yes 400,199 N/A
msg_PublicDecompWT_SDK .*/frmts/msg/PublicDecompWT/.* Yes 0 N/A
home_even /home/even/.* Yes 0 N/A
GoogleTest .*/autotest/cpp/googletest-src/.* Yes 14,539 N/A
libjpeg12 .*/frmts/jpeg/libjpeg12/.* Yes 13,944 N/A
ods_formula_parser .*/ogr/ogrsf_frmts/ods/ods_formula_parser.cpp Yes 1,235 N/A
opt_libecwj2_include /opt/libecwj2-3.3/include/.* Yes 4,086 N/A
third_party .*/third_party/.* No 11,091 0.00
usr_local_include /usr/local/include/.* Yes 42,330 N/A
internal_libqhull .*/alg/internal_libqhull/.* Yes 19,106 N/A
Other .* No 1,280,019 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 12
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