Coverity Scan: grass

Project Name grass
Lines of code analyzed 663,675
On Coverity Scan since Nov 23, 2013
Last build analyzed about 11 hours ago
   
Language C/C++
Secondary Language PHP/Python/Ruby
Repository URL https://github.com/OSGeo/grass.git
Homepage URL https://grass.osgeo.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 8.5.0dev-3973a58

Dec 23, 2024
Last Analyzed
663,675
Lines of Code Analyzed
2.05
Defect Density

Defect changes since previous build dated Dec 22, 2024

0
Newly detected
0
Eliminated

Defects by status for current build

2,416
Total defects
1,361
Outstanding
1,051
Fixed
See how defect density for 'grass' 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
external_libs /lib/external/.* No 9,376 0.43
db /db/.* No 5,240 5.34
general /general/.* No 7,131 4.21
display /display/.* No 15,902 4.46
ps /ps/.* No 8,335 2.88
raster /raster/.* No 111,742 3.31
raster3d /raster3d/.* No 12,873 2.25
temporal /temporal/.* No 105 0.00
vector /vector/.* No 69,716 2.50
misc /misc/.* No 2,851 9.12
lib_gis /lib/gis/.* No 20,624 2.76
lib_arraystats /lib/arraystats/.* No 435 18.39
lib_bitmap /lib/bitmap/.* No 417 2.40
lib_btree /lib/btree/.* No 151 0.00
lib_btree2 /lib/btree2/.* No 1,490 1.34
lib_cairodriver /lib/cairodriver/.* No 0 N/A
lib_calc /lib/calc/.* No 0 N/A
lib_cdhc /lib/cdhc/.* No 0 N/A
lib_cluster /lib/cluster/.* No 0 N/A
lib_datetime /lib/datetime/.* No 0 N/A
lib_db /lib/db/.* No 10,209 3.53
lib_display /lib/display/.* No 1,468 1.36
lib_driver /lib/driver/.* No 1,131 6.19
lib_dspf /lib/dspf/.* No 2,734 3.29
lib_fonts /lib/fonts/.* No 0 N/A
lib_gmath /lib/gmath/.* No 3,466 2.60
lib_gpde /lib/gpde/.* No 4,555 1.76
lib_html /lib/html/.* No 0 N/A
lib_htmldriver /lib/htmldriver/.* No 453 0.00
lib_imagery /lib/imagery/.* No 4,096 7.81
lib_init /lib/init/.* No 246 4.07
lib_iostream /lib/iostream/.* No 474 4.22
lib_latex /lib/latex/.* No 0 N/A
lib_lidar /lib/lidar/.* No 1,177 2.55
lib_linkm /lib/linkm/.* No 112 0.00
lib_manage /lib/manage/.* No 530 5.66
lib_nviz /lib/nviz/.* No 1,521 3.29
lib_ogsf /lib/ogsf/.* No 35,548 1.77
lib_pngdriver /lib/pngdriver/.* No 1,301 7.69
lib_proj /lib/proj/.* No 2,790 5.73
lib_psdriver /lib/psdriver/.* No 390 15.38
lib_raster /lib/raster/.* No 9,625 3.22
lib_raster3d /lib/raster3d/.* No 7,882 3.30
lib_rowio /lib/rowio/.* No 141 0.00
lib_rst /lib/rst/.* No 3,623 4.69
lib_segment /lib/segment/.* No 717 1.39
lib_stats /lib/stats/.* No 903 1.11
lib_symbol /lib/symbol/.* No 509 11.79
lib_temporal /lib/temporal/.* No 177 11.30
lib_vector /lib/vector/.* No 46,914 3.01
Other .* No 254,595 0.48

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 103
190 Integer Overflow or Wraparound 13
676 Use of Potentially Dangerous Function 11
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