Static automatic check of code defects and risks

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.