Title :
Understanding COBOL systems using inferred types
Author :
Van Deursen, Arie ; Moonen, Leon
Author_Institution :
CWI, Amsterdam, Netherlands
Abstract :
In a typical COBOL program, the data division consists of 50% of the lines of code. Automatic type inference can help to understand the large collections of variable declarations contained therein, showing how variables are related based on their actual usage. The most problematic aspect of type inference is pollution, the phenomenon that types become too large, and contain variables that intuitively should not belong to the same type. The aim of the paper is to provide empirical evidence for the hypothesis that the use of subtyping is an effective way for dealing with pollution. The main results include a tool set to carry out type inference experiments, a suite of metrics characterizing type inference outcomes, and the conclusion that only one instance of pollution was found in the case study conducted
Keywords :
COBOL; reverse engineering; type theory; COBOL program; COBOL systems; automatic type inference; case study; data division; inferred types; metrics; pollution; program understanding; subtyping; tool set; type inference outcomes; variable declarations; Lab-on-a-chip; Loans and mortgages; Pollution; Programming profession;
Conference_Titel :
Program Comprehension, 1999. Proceedings. Seventh International Workshop on
Conference_Location :
Pittsburgh, PA
Print_ISBN :
0-7695-0180-x
DOI :
10.1109/WPC.1999.777746