After 247 days of continuous research and development, Alibaba on October 14 in Hangzhou cloud Conference, officially released the expected “Alibaba Java development protocol” scan plug-in!
The global launch ceremony of the plugin, big talent gathered
Alibaba danutian group to help: Bi Xuan, xuan difficult, SONY, Ye Du, Taobao code the first person duo long, code statute author gu do statute project members, as well as industry statute ecological representatives and other heavyweights jointly issued Alibaba code statute plug-in!
Normally low-key gods, for this grand event have come ~
The plug-in is developed by Alibaba’S P3C project team. The P3C is the world’s best known anti-submarine aircraft, designed to deal with underwater submarines, and is meant to scan for all potential code vulnerabilities. This project group is a virtual project group organized by Alibaba development enthusiasts, which converts the compulsory items of Alibaba Java Development Code into automatic plug-ins and realizes partial automatic programming.
Plug-in download address
https://github.com/alibaba/p3c
Or just search for P3C on Github
What does the plug-in do?
Ali technology public account in February 9 this year for the first time announced the “Alibaba Java development protocol”, instantly caused the national code specification of the upsurge, at the end of last month and released the final VERSION of THE PDF, we enthusiastically comment, looking forward to supporting the static scanning tool open.
In order to make it more convenient and fast for developers to promote and implement the specification, Alibaba has developed a set of automatic IDE detection plug-ins (IDEA and Eclipse) based on the contents of the manual. After scanning the code, the plugin will display the non-conforming code in Blocker/Critical/Major ratings. Even on IDEA, we also provide real-time Inspection function based on Inspection mechanism, which can quickly find the problem while writing the code. For historical code, some rules implement batch one-click repair function. isn’t it worth having such a pleasing feature? Improve the quality of your code and the effectiveness of your team’s research and development, and plug-ins will go together.
Sample plug-in scan results:
Note: It can be seen from the figure that there is a block error in the scanning result (not in accordance with the naming method); There are 20 critical errors and 54 major errors. Double click can be located to the code, the right window and code batch repair function.
How to install IDEA plug-in?
At present, we have released the plug-in of IDEA version to the official WAREHOUSE of IDEA (the lowest supported version is 14.1.7, JDK1.7+). Just go to Settings >> Plugins >> Browse Repositories and type in Alibaba search.
As for how to use it, please go to the official Github warehouse to check. IDEA automatically detects the new version of the plugin and prompts it, so you don’t have to worry about updating the plugin.
Making warehouse address: https://github.com/alibaba/p3c
How do I install Eclipse plug-ins?
Eclipse plugin support 4.2 (Juno, JDK1.8+) and above, we provide our own Update Site, Through the Help > > Install New Software then enter https://p3c.alibaba.com/plugin/eclipse/update can see installation list. Help >> Check for Udates.
Become the global open source standard code specification
At the end of last month, Alibaba released the English version of alibaba Java Development Specification to overseas. Our vision is to make it the world’s open source standard code specification.
The Alibaba P3C project team will update and maintain the plug-in for a long time. We also hope that more people can participate in the project to realize more beneficial rules in addition to discovering and solving the realized detection rules, so that the plug-in can become more perfect and help more developers.
If you have any questions or suggestions while using the plugin, please feel free to contact the code specification author.
Gu Ju email: [email protected]
Reprint statement: This article is reprinted from “Ali Technology”, search “ali_tech” can be concerned.