The biggest difference between code defects and code errors is that code defects do not affect game compilation, and code error compilation does not pass. However, code defects can affect a series of bugs that occur after the game is released. I had no intention of visiting a foreign forum today to find a way to use a bit of a feeling to give the first time to share to everyone. after downloading it, it is a folder to copy the entire folder in your Unity project.
Unity 3D Gendarme Plugin:https://bitbucket.org/kzoabi/unity3d-gendarme-plugin/downloads
Then download the latest mono It is cross-platform, I use a mac so I download is a dmg file, download finished after the installation is complete.
Http://www.go-mono.com/mono-downloads/download.html
As shown, selecting the Assets->gendarme report level option will pop up the gendarme interface, you can select its priority, and then click the Start button. If you have an error, please delete the gendarme folder and the gendarme-report.html file under the Assets folder.
If your project is bigger then you need to wait patiently for about 1 minutes. When the report is generated, the following window pops up, click the Open Report button.
As shown, he will generate an HTML page locally, write it very clearly after opening it, and have the class already divided, and he will tell you how the line of code is flawed and how to modify your code. Accidentally code on a lot of hidden trouble, hurry up a change it. Hey..
Finally, we look forward to your reply and discussion.
- This article fixed link: http://www.xuanyusong.com/archives/2828
- Reprint Please specify: Rain pine Momo June 24, 2014 Yu Yussong Momo Program Research Institute published
"Reprint" The Static automatic check code defect and hidden trouble of Unity3d Institute