Static code quality analyzing method and device
A quality analysis device and quality analysis technology, applied in the creation/generation of source code, software maintenance/management, software indicators, etc., can solve the problems of complex analysis process, short quality analysis time, and huge amount of analysis results.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0049] As mentioned earlier, in the current static code quality analysis methods, the method of pattern matching easily leads to a large number of false alarms, and manual screening is time-consuming and labor-intensive. The method based on logic path requires manual configuration of rules, and the accuracy of analysis results depends on the definition of the rules, and it is highly dependent on the experience of inspectors.
[0050] In the embodiment of the present invention, firstly, the code to be analyzed adopts a pattern matching method for quality analysis, and then based on the obtained quality analysis result, the defect trend of the code to be analyzed is determined. At least one second code quality inspection rule used for quality analysis of the code to be analyzed is described, and at least one second code quality inspection rule is used for quality analysis to obtain a final quality analysis result. Because the method of pattern matching can quickly obtain the qualit...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


