Coverity Scan: godotengine/godot

Project Name godotengine/godot
Lines of code analyzed 3,792,258
On Coverity Scan since Apr 11, 2018
Last build analyzed 17 days ago
   
Language C/C++
Repository URL https://github.com/godotengine/godot.git
Homepage URL https://github.com/godotengine/godot
License MIT (MIT license )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 4.4-2025-07-30

Jul 29, 2025
Last Analyzed
3,792,258
Lines of Code Analyzed
1,106,587
Lines of Code in Selected Components
3.03
Defect Density

Defect changes since previous build dated Jul 16, 2025

191
Newly detected
3,541
Eliminated

Defects by status for current build

6,876
Total defects
3,357
Outstanding
3,423
Fixed
See how defect density for 'godotengine/godot' 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
Thirdparty libraries /thirdparty/.* Yes 1,618,583 N/A
Generated headers (binary data) .*\.gen\.(cpp|h) Yes 930,717 N/A
Core /(core|main)/.* No 146,148 2.26
Editor /editor/.* No 240,733 1.74
Modules - GDScript /modules/gdscript/.* No 39,011 1.38
Modules - Mono /modules/mono/.* No 4 0.00
Modules - Other /modules/.* No 127,140 2.87
Platform-specific code /platform/.* No 53,011 2.23
Scene /scene/.* No 248,126 1.43
Rendering (/servers/rendering.*|drivers/(d3d12|gles3|metal|vulkan)/.*) No 95,704 1.43
Drivers /drivers/.* No 64,915 1.02
Servers /servers/.* No 28,056 2.46
System headers /usr/include/.* Yes 136,371 N/A
Other .* No 65,364 0.00

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 4
131 Incorrect Calculation of Buffer Size 2
190 Integer Overflow or Wraparound 242
676 Use of Potentially Dangerous Function 3
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