• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology

Article

Indian Journal of Science and Technology

Year: 2016, Volume: 9, Issue: 40, Pages: 1-11

Original Article

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

Abstract

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. Keywords: Ant Colony Optimization, Automatic Bad Code Detector, Code Repository, Inconsistency Detection, Neural Network Back Propagation Algorithm

DON'T MISS OUT!

Subscribe now for latest articles and news.