This page contains actual code that has been restructured using the technology discussed in this paper.
Please find here the Original code. In order to find out the meaning of the table below, you can click on the links in the first row. Of course, the complete explanation of the functionality of the tools that we used is in the accompanying paper.
Code after initial restructuring by Sneed's reengineering workbench. After this restructuring step, the other steps are in the table below. Note, that we deleted the DATA DIVISION since we did not need to make any changes to it. It is also not necessary to find out yourself what all the differences are between steps: we put in the second column all the differences. This gives you an idea of the impact of the components that we applied to the code.
src | ||
diff | ||
#GO | ||
c01 | AddEndIf | |
c02 | RemDot | |
c03 | FlowOpt | |
c04 | ElimDeadCode | |
c05 | AddBarSec | |
c06 | ElimGoDep | |
c07 | ElimGo | |
c08 | MovePar | |
c09 | SwitchPar | |
c10 | Distribute | |
c11 | ElimCont | |
c12 | ReplacePar | |
c13 | UnfoldPar | |
c14 | RemDoubles | |
c15 | Cluster | |
c16 | NormCond | |
c17 | RemExitPar | |
c18 | RemEmptySec |