...
首页> 外文期刊>Journal of neurosurgical sciences >Programming Logic Modeling and Cross-Program Defect Detection Method for Object-Oriented Code
【24h】

Programming Logic Modeling and Cross-Program Defect Detection Method for Object-Oriented Code

机译:针对面向对象代码的编程逻辑建模和跨程序缺陷检测方法

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Code defects can lead to software vulnerability and even produce vulnerability risks. Existing research shows that the code detection technology with text analysis can judge whether object-oriented code files are defective to some extent. However, these detection techniques are mainly based on text features and have weak detection capabilities across programs. Compared with the uncertainty of the code and text caused by the developer's personalization, the programming language has a stricter logical specification, which reflects the rules and requirements of the language itself and the developer's potential way of thinking This article replaces text analysis with programming logic modeling, breaks through the limitation of code text analysis solely relying on the probability of sentence/word occurrence in the code, and proposes an object-oriented language programming logic construction method based on method constraint relationships, selecting features through hypothesis testing ideas, and construct support vector machine classifier to detect class files with defects and reduce the impact of personalized programming on detection methods. In the experiment, some representative Android applications were selected to test and compare the proposed methods. In terms of the accuracy of code defect detection, through cross validation, the proposed method and the existing leading methods all reach an average of more than 90%. In the aspect of cross program detection, the method proposed in this paper is superior to the other two leading methods in accuracy, recall and F1 value.
机译:代码缺陷可能导致软件漏洞甚至产生漏洞风险。现有研究表明,具有文本分析的代码检测技术可以判断面向对象的代码文件在一定程度上是否有缺陷。然而,这些检测技术主要基于文本特征,并且跨程序具有较弱的检测能力。与开发人员个性化引起的代码和文本的不确定性相比,编程语言具有更严格的逻辑规范,这反映了语言本身的规则和要求以及开发人员的潜力思维方式,替换了编程逻辑建模的文本分析,通过依赖于代码中的句子/词出现的概率来缩小代码文本分析,并提出了一种基于方法约束关系的面向对象语言编程逻辑构建方法,通过假设测试思路选择特征,并构建支持向量机器分类器检测具有缺陷的类文件,并减少个性化编程对检测方法的影响。在实验中,选择一些代表性的Android应用程序来测试和比较所提出的方法。就代码缺陷检测的准确性,通过交叉验证,所提出的方法和现有的领先方法平均达到90%以上。在交叉程序检测的方面,本文提出的方法优于另外两个主要方法,准确,召回和F1值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号