首页> 外文期刊>Computers, Materials & Continua >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 Fl value.
机译:代码缺陷可能导致软件漏洞甚至产生漏洞风险。现有研究表明,具有文本分析的代码检测技术可以判断面向对象的代码文件是否有一定程度。但是,这些检测技术主要基于文本特征,并且在程序上具有弱检测能力。与开发人员个性化造成的代码和文本的不确定性相比,编程语言具有更严格的逻辑规范,这反映了语言本身的规则和要求以及开发人员的潜在思维方式。本文通过编程逻辑建模替换文本分析,通过代码文本分析的限制来依赖于代码中的句子/词出现的概率来缩小,并提出了一种基于方法约束关系的面向对象语言编程逻辑构建方法,选择通过假设检测创意功能,构建支持向量机分类器检测具有缺陷的类文件,并减少个性化编程对检测方法的影响。在实验中,选择一些代表性的Android应用程序来测试和比较所提出的方法。就代码缺陷检测的准确性,通过交叉验证,所提出的方法和现有的领先方法均达到90%以上。在交叉程序检测的方面,本文提出的方法优于另外两个主要方法,精度,召回和流量。

著录项

  • 来源
    《Computers, Materials & Continua》 |2020年第1期|273-295|共23页
  • 作者单位

    State Key Laboratory of Mathematical Engineering and Advanced Computing PLA Strategic Support Force Information Engineering University Zhengzhou 450001 China;

    State Key Laboratory of Mathematical Engineering and Advanced Computing PLA Strategic Support Force Information Engineering University Zhengzhou 450001 China;

    State Key Laboratory of Mathematical Engineering and Advanced Computing PLA Strategic Support Force Information Engineering University Zhengzhou 450001 China;

    State Key Laboratory of Mathematical Engineering and Advanced Computing PLA Strategic Support Force Information Engineering University Zhengzhou 450001 China;

    The School of Computing Newcastle University Newcastle upon Tyne NE4 5TG UK;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Method constraint relationship; programming logic; code defect; hypothesis test;

    机译:方法约束关系;编程逻辑;代码缺陷;假设试验;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号