Coverity Scan: GDAL

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

Jan 26, 2025
Last Analyzed
1,806,038
Lines of Code Analyzed
1,314,276
Lines of Code in Selected Components
0.28
Defect Density

Defect changes since previous build dated Jan 19, 2025

0
Newly detected
3
Eliminated

Defects by status for current build

4,369
Total defects
367
Outstanding
3,839
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,130 N/A
hdf-eos .*/frmts/hdf4/hdf-eos/.* No 5,972 0.00
usr_include /usr/include/.* Yes 404,995 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 8,725 0.11
Other .* No 1,299,904 0.21

CWE Top 25 defects

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