Coverity Scan: GDAL

Project Name GDAL
Lines of code analyzed 1,969,259
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

Aug 16, 2026
Last Analyzed
1,969,259
Lines of Code Analyzed
1,422,678
Lines of Code in Selected Components
0.00
Defect Density

Defect changes since previous build dated Aug 10, 2026

3
Newly detected
1
Eliminated

Defects by status for current build

4,609
Total defects
3
Outstanding
4,431
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,978 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 4,365 0.00
usr_include /usr/include/.* Yes 398,196 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,201 N/A
opt_libecwj2_include /opt/libecwj2-3.3/include/.* Yes 4,086 N/A
third_party .*/third_party/.* No 15,626 0.00
usr_local_include /usr/local/include/.* Yes 42,185 N/A
internal_libqhull .*/alg/internal_libqhull/.* Yes 19,106 N/A
Other .* No 1,403,514 0.00

CWE Top 25 defects

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