Restructuring computer programs
Abstract
Existing program is restructured based on a set of tasks that the existing program executes. A set of tasks is used, in conjunction with related test cases, to verify the correct functioning of the restructured program, and also to restructure the program. The restructuring process involves information about: (i) the tasks for which the original computer program is used, (ii) the inputs (including their valid ranges) to be provided to the program to accomplish the tasks, and (iii) the outputs generated by the program, known but unfixed bugs, etc. Legacy computer programs or applications for which reliable documentation is either not available or inadequate is desirably restructured for improved understanding and maintenance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of restructuring a source computer program to a target computer program, the method comprising the steps of: defining a source computer program P that consists of source code, said source code of the source computer program P comprising a main function F 0 and a set of functions {F 1 , F 2 , . . . F r }, wherein F 1 , F 2 , . . . F r are each a function other than the main function F 0 and are each adapted return a value to the main function F 0 as a result of being executed in response to being called by the main function F 0 , wherein each function in the set of functions {F 1 ,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Graunke, P., Automatically restructuring programs for the web, 2001, Northeastern Univ. Dept. of Computer Science, pp. 1-13.
- Griswold, W., Low-risk reengineering of lagacy systems, 2000, Univ. of California, Sandiago, Dept. of Computer Science & Engineering, pp. 1-4.
- Komondoor, et al., Semantics-preserving procedure extraction, 2000, ACM, 1-58113-125-9/00/1, pp. 155-169.
- Lakhotia, et al., Restructuring programs by tucking statements into functions, Dec. 1, 1998, Information and Software Technology, vol. 40, No. 11, pp. 1-20.
- Marshal, A., Template-based program restructuring, 1995, Middlesex College Computer Science Dept., pp. 1-12.