Indian Journal of Science and Technology
DOI: 10.17485/ijst/2016/v9i40/101127
Year: 2016, Volume: 9, Issue: 40, Pages: 1-11
Original Article
Amit Verma* , Srishti Gupta and Iqbaldeep Kaur
Computer Science and Engineering, Chandigarh Engineering College, Landran, Mohali – 140307, Punjab, India; [email protected]
[email protected]
[email protected]
*Author for correspondence
Amit Verma
Computer Science and Engineering
Email: [email protected]
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
Subscribe now for latest articles and news.