首页> 外国专利> 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.
机译:用于评估代码设计质量的方法,装置和系统。用于评估代码设计质量的方法包括:基于对代码的静态扫描的结果,确定在代码中存在容易出错的模式的概率;以及将所述概率输入人工神经网络,并在所述人工神经网络的基础上,确定所述代码是否违反预设的设计规则以及所述设计规则的量化程度的预测结果;根据预测结果,评估代码的设计质量。本方法能够提高代码设计质量评估的准确性。通过检测代码中容易出错的模式的存在,可以预测在设计过程中是否违反了关键设计规则,以及预测了违反关键设计规则的量化程度。在其上评估代码的设计质量,从而实现软件代码检查过程的完全自动化,并克服了现有技术中过多的错误警告的缺陷。本发明的特征在于高评估精度。

著录项

  • 公开/公告号WO2020191627A1

    专利类型

  • 公开/公告日2020-10-01

    原文格式PDF

  • 申请/专利权人 SIEMENS AKTIENGESELLSCHAFT;SIEMENS LTD. CHINA;

    申请/专利号WO2019CN79738

  • 发明设计人 PENG FEI;HAN KE;

    申请日2019-03-26

  • 分类号G06F11/36;

  • 国家 WO

  • 入库时间 2022-08-21 11:09:21

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号