首页>
外国专利>
METHOD, APPARATUS, AND SYSTEM FOR EVALUATING CODE DESIGN QUALITY
METHOD, APPARATUS, AND SYSTEM FOR EVALUATING CODE DESIGN QUALITY
展开▼
机译:评估代码设计质量的方法,装置和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method, an apparatus, and a system for evaluating code design quality. The method for evaluating code design quality comprises: on the basis of a result from static scanning of code, determining a probability of the presence of an error-prone pattern in the code; inputting the probability into an artificial neural network, and on the basis of the artificial neural network, determining a prediction result for whether the code violates a preset design rule and for a quantized degree to which the design rule is violated; and on the basis of the prediction result, evaluating the design quality of the code. The present method is able to improve the accuracy of code design quality evaluation. By means of detecting the presence of an error-prone pattern in the code, whether or not a key design rule has been violated in a design process and a quantized degree to which the key design rule is violated are predicted. The design quality of the code is evaluated thereon, thus achieving complete automation of a software code checking process, and overcoming the deficiency in the prior art of an excess of error warnings. The invention features the strength of high evaluation accuracy.
展开▼