Coverity Scan: qgis/QGIS

Project Name qgis/QGIS
Lines of code analyzed 3,728,777
On Coverity Scan since Feb 03, 2015
Last build analyzed 9 days ago
   
Language C/C++
Repository URL https://github.com/qgis/QGIS.git
Homepage URL http://qgis.org
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: Version

Dec 06, 2025
Last Analyzed
3,728,777
Lines of Code Analyzed
3,242,182
Lines of Code in Selected Components
0.09
Defect Density

Defect changes since previous build dated Nov 26, 2025

15
Newly detected
199
Eliminated

Defects by status for current build

9,950
Total defects
308
Outstanding
9,426
Fixed
See how defect density for 'qgis/QGIS' 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
moc .*moc_.*\.c[px][px] Yes 60,211 N/A
Moc2 .*\.moc Yes 200 N/A
sip bindings .*\.sip Yes 0 N/A
sip2 .*sip_.*\.cpp Yes 0 N/A
qtermwidget .*/qtermwidget/.* Yes 0 N/A
libdxfrw .*/libdxfrw/.* Yes 80,151 N/A
dxflib .*/dxflib/.* Yes 0 N/A
flex .*/flex_.*\.cpp Yes 0 N/A
usr /usr/.* Yes 312,436 N/A
tests .*/tests/src/.* No 0 N/A
plugins .*/src/plugins/.* No 0 N/A
composer .*/src/core/composer/.* No 0 N/A
effects .*/src/core/effects/.* No 2,937 0.00
gui .*/src/gui/.* No 0 N/A
raster .*/src/core/raster/.* No 21,399 0.05
symbology .*/src/core/symbology-ng/.* No 0 N/A
pal .*/src/core/pal/.* No 6,656 0.45
core .*/src/core/.* No 1,245,445 0.05
app .*/src/app/.* No 1 0.00
analysis .*/src/analysis/.* No 0 N/A
server .*/src/server/.* No 0 N/A
providers .*/src/providers/.* No 4,073 0.49
nlohmann .*/external/nlohmann/.* Yes 18,182 N/A
inja .*/external/inja/.* Yes 0 N/A
lazperf .*/external/lazperf/.* Yes 6,956 N/A
untwine .*/external/untwine/.* Yes 3,793 N/A
mdal .*/external/mdal/.* Yes 0 N/A
PDAL wrench .*/external/pdal_wrench/.* Yes 4,666 N/A
Other .* No 25,812 1.16

CWE Top 25 defects

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