首页> 外文期刊>Indian Journal of Science and Technology >Inconsistency Detection in Software Component Source Code using Ant Colony Optimization and Neural Network Algorithm
【24h】

Inconsistency Detection in Software Component Source Code using Ant Colony Optimization and Neural Network Algorithm

机译:基于蚁群算法和神经网络算法的软件组件源代码不一致性检测

获取原文
           

摘要

Objectives: Inconsistency detection is one of the major challenges in source code for the software developers. There is the need of consistent identifiers to reduce the code inconsistencies. So, developers should either have the knowledge to create conceptual identifiers or the knowledge to detect the inconsistencies in source code. Methods/Statistical Analysis: There is the availability of a list of tools for the detection of different types of inconsistencies. But the existing tools are not much appropriate for Semantic, Syntactic Inconsistencies and Part of Speech tagging. Findings: In the paper, an autonomous tool Automatic Bad Code Detector (ABCD) is developed to detect semantic, syntactic and part of speech inconsistency in the source code. ABCD tool identifies the inconsistencies in the source code based on the detected Code Clones. These Clones are detected by matching the test code with Code Repository. A java project based code repository is considered for experimentation. ABCD is evaluated for different java projects in order to find inconsistencies in source code. In ABCD tool main inconsistency detector are Ant Colony Optimization and Neural Network Back Propagation algorithm. Further, ABCD is useful in re-implementing the new versions of the java code. Applications/Improvements: The current concept is evaluated for the Semantic, Syntactic, POS-Word and POS-Phrase inconsistencies based on evaluation parameter of precision. The efficiency of ABCD is evaluated as an overall value for the precision, recall and f-measure.
机译:目标:不一致检测是软件开发人员在源代码中的主要挑战之一。需要一致的标识符以减少代码不一致。因此,开发人员应该具有创建概念标识符的知识,或者具有检测源代码不一致的知识。方法/统计分析:提供了一系列工具来检测不同类型的不一致情况。但是现有工具不适用于语义,句法不一致和语音标记。结论:本文开发了一种自动工具自动错误代码检测器(ABCD),用于检测源代码中的语义,句法和部分语音不一致情况。 ABCD工具根据检测到的代码克隆识别源代码中的不一致之处。通过将测试代码与代码存储库匹配来检测这些克隆。考虑使用基于Java项目的代码存储库进行实验。为了在源代码中发现不一致之处,对ABCD针对不同的Java项目进行了评估。在ABCD工具中,主要的不一致检测器是蚁群优化和神经网络反向传播算法。此外,ABCD在重新实现Java代码的新版本中很有用。应用/改进:基于精度评估参数,对当前概念的语义,句法,POS词和POS短语不一致进行评估。将ABCD的效率评估为精度,召回率和f测度的总值。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号