The biggest difference between code defects and code errors is that code defects do not affect game compilation, while code errors do not pass compilation. However, code defects may affect a series of bugs generated after the game is released .. I accidentally visited a foreign forum today to share it with you immediately. After the download, It is a folder that copies the entire folder to your unity project.
Unity 3D gendarme Plugin: https://bitbucket.org/kzoabi/unity3d-gendarme-plugin
Then download the latest mono, which is cross-platform. I use Mac, so I downloaded a DMG file. After the download, the installation is complete.
Http://www.go-mono.com/mono-downloads/download.html
As shown in, select assets-> gendarme report level. The gendarme interface is displayed. You can select its priority and click Start. If an error is reported, delete the gendarmefolder and gendarme-report.html file under the assets folder. If your project is large, wait patiently for about 1 minute. After the report is generated, the following window is displayed. Click Open report.
As shown in, he will generate an HTML page on the local device. After opening it, the page is clearly written and the class has been divided. He will tell you that the line of code has defects, how to modify your code. There are a lot of hidden risks when you are not careful about the code. Please modify them one by one. Hey ..
Static automatic check of code defects and risks