Research on the Method of Constructing a Unified Code Scanning Platform Based on Multiple Static Analysis Tools

Yin Bai, Zhixian Zhang, Lina Tang, Xiaoting Yu, Kairui Yang, Peng Jiang · 2024

With the rapid development of the software industry, improving code quality has become a critical aspect of the software development process. Although traditional code scanning tools can identify issues within the code, the diversity of tools and differences in usage lead to high costs and poor experiences for enterprises when employing multiple tools for scanning. This study proposes a method for constructing a unified code scanning platform based on multiple static analysis tools, aiming to integrate various tools, mask the differences between them, and provide a consistent usage approach for code scanning. This approach seeks to reduce research and development costs and enhance software quality. By implementing measures such as rule unification, service-oriented transformation of tools, and the design of a unified API interface, this research achieves unified management of multiple tool rules, thereby improving the efficiency and accuracy of code scanning. Practical validation in the China Mobile Smart Campus Big Data project demonstrates that this method can effectively enhance the coverage and accuracy of code scanning, improve code quality and product quality, and consequently reduce research and development costs for enterprises, highlighting its significant research implications and practical value.

Read the paper · More papers on PaperTik