Coverity Scan: OpenTTD

Project Name OpenTTD
Lines of code analyzed 555,806
On Coverity Scan since Nov 22, 2013
Last build analyzed about 1 month ago
   
Language C/C++
Repository URL https://github.com/OpenTTD/OpenTTD
Homepage URL http://www.openttd.org/
License GPL (GNU General Public License version )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 20250316-master-g5ea5855677

Mar 16, 2025
Last Analyzed
555,806
Lines of Code Analyzed
0.00
Defect Density

Defect changes since previous build dated Mar 16, 2025

0
Newly detected
8
Eliminated

Defects by status for current build

594
Total defects
0
Outstanding
370
Fixed
See how defect density for 'OpenTTD' 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
Saveload .*/saveload/.* No 13,824 0.00
Network .*/network/.* No 13,402 0.00
Scripts .*/script/.* No 24,272 0.00
NewGRF .*/newgrf.* No 20,042 0.00
Third party (Squirrel) .*/3rdparty/squirrel/.* No 9,547 0.00
Third party (MD5) .*/3rdparty/md5/.* No 245 0.00
Third party (json) .*/3rdparty/nlohmann/.* No 17,452 0.00
Third party (fmt) .*/3rdparty/fmt/.* No 11,177 0.00
Third party (catch) .*/3rdparty/catch2/.* No 13,704 0.00
Third party (standard library) .*/usr/include/.* No 185,084 0.00
Other .* No 249,953 0.00

CWE Top 25 defects

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