Title :
Safety as a metric
Author :
Felleisen, Matthias ; Cartwright, Robert Corky
Author_Institution :
Dept. of Comput. Sci., Rice Univ., Houston, TX, USA
Abstract :
Most software metrics measure the syntactic qualities of a program. While measuring such properties may reveal problems in programs, these metrics fail to measure the essence of programs: (partial) correctness and robustness. We therefore propose to base metrics on semantic, instead of syntactic, criteria. To illustrate the idea of semantics-based metrics, we have built static debuggers, which are tools that detect potential run-time failures. More specifically, a static debugger analyses programs written in safe programming languages and pinpoints those program operations that might trigger a run-time error. This paper briefly recalls what safety means for a programming language. It then sketches how a static debugger works and the role it plays in measuring the robustness of a program. The last section discusses the use of static debuggers in the classroom, an NSF Educational Innovation Project
Keywords :
computer science education; program debugging; program diagnostics; safety; software metrics; NSF Educational Innovation Project; classroom; partial correctness; potential run-time failure detection; program analysis; program operations; program robustness; run-time errors; safe programming languages; safety metric; semantics-based metrics; software metrics; static debuggers; Computer languages; Computer science; Humans; Logic; Performance analysis; Programming profession; Robustness; Runtime; Safety; Software systems;
Conference_Titel :
Software Engineering Education and Training, 1999. Proceedings. 12th Conference on
Conference_Location :
New Orleans, LA
Print_ISBN :
0-7695-0131-1
DOI :
10.1109/CSEE.1999.755192