Research and Implementation of Structure Inspection Algorithm for C Program Code

SUN Wei-jie,ZHANG Xiao-xin,BI Jia-hong
DOI: https://doi.org/10.3969/j.issn.1003-3114.2013.03.025
2013-01-01
Abstract:The efficient and flexible features of C language determine the file diversity of organizational forms.In accordance with the organizational forms,based on module identification technology of C language software,this paper studies the program structure,and makes conclusion on logic correlation between elements in program,then presents the metric methods for syntactic correlation between labels of elements and proposes the algorithms to extract partitions of program structure in terms of metrics for logic correlations and syntactic similarity,so as to complete code structure detection.This paper implements the algorithm and analyzes the accuracy and availability of the algorithm through the experimentation.
What problem does this paper attempt to address?