Coverity Scan: qgis/QGIS

Project Name qgis/QGIS
Lines of code analyzed 3,697,590
On Coverity Scan since Feb 03, 2015
Last build analyzed 13 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

Apr 07, 2025
Last Analyzed
3,697,590
Lines of Code Analyzed
2,981,076
Lines of Code in Selected Components
0.40
Defect Density

Defect changes since previous build dated Mar 31, 2025

13
Newly detected
15
Eliminated

Defects by status for current build

9,966
Total defects
1,194
Outstanding
8,686
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 277,676 N/A
Moc2 .*\.moc Yes 654 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 358,033 N/A
tests .*/tests/src/.* No 0 N/A
plugins .*/src/plugins/.* No 29,634 0.07
composer .*/src/core/composer/.* No 0 N/A
effects .*/src/core/effects/.* No 2,848 0.00
gui .*/src/gui/.* No 252,196 0.44
raster .*/src/core/raster/.* No 21,095 0.19
symbology .*/src/core/symbology-ng/.* No 0 N/A
pal .*/src/core/pal/.* No 6,562 1.52
core .*/src/core/.* No 1,260,782 0.25
app .*/src/app/.* No 143,718 0.51
analysis .*/src/analysis/.* No 76,367 0.97
server .*/src/server/.* No 62,360 0.35
providers .*/src/providers/.* No 118,702 0.30
Other .* No 1,008,031 0.43

CWE Top 25 defects

ID CWE-Name Number of Defects
190 Integer Overflow or Wraparound 11
676 Use of Potentially Dangerous Function 2
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