Coverity Scan: GDAL

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

Nov 17, 2024
Last Analyzed
1,792,442
Lines of Code Analyzed
1,321,241
Lines of Code in Selected Components
0.16
Defect Density

Defect changes since previous build dated Nov 11, 2024

3
Newly detected
2
Eliminated

Defects by status for current build

4,077
Total defects
205
Outstanding
3,705
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 14,261 6.38
usr_include /usr/include/.* Yes 403,699 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,539 N/A
Other .* No 1,307,583 0.05

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 34
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