Title :
An experiment in scientific program understanding
Author :
Stewart, Mark E M
Author_Institution :
Dynacs Eng. Inc., Cleveland, OH, USA
Abstract :
This paper concerns automated analysis of the meaning or semantics of scientific and engineering code. The procedure involves taking a user´s existing code, adding semantic declarations for some primitive variables, and automatically identifying formulae. Parsers encode domain knowledge and recognize formulae in different disciplines including physics, numerical methods, mathematics, and geometry. The parsers will automatically recognize and document some static, semantic concepts and help locate some program semantic errors. Results are shown for three intensively studied codes and seven blind test cases; all test cases are state of the art scientific codes. These techniques may apply to a wider range of scientific codes. If so, the techniques could reduce the time, risk, and effort required to develop and modify scientific codes
Keywords :
grammars; natural sciences computing; reverse engineering; automated analysis; domain knowledge encoding; engineering code; formulae recognition; geometry; mathematics; meaning; numerical methods; parsers; physics; primitive variables; program semantic errors; scientific code; scientific program understanding; semantic declarations; semantics; Acceleration; Documentation; Equations; Investments; Knowledge representation; Manuals; Object oriented programming; Physics; Software performance; Testing;
Conference_Titel :
Automated Software Engineering, 2000. Proceedings ASE 2000. The Fifteenth IEEE International Conference on
Conference_Location :
Grenoble
Print_ISBN :
0-7695-0710-7
DOI :
10.1109/ASE.2000.873678