|
| This Article | ||
| ||
| Share | ||
| Bibliographic References | ||
| Add to: | ||
| | ||
| Search | ||
| ||
Third International Software Metrics Symposium (METRICS'96)
An Experiment to Assess the Benefits of Inter-Module Type Checking
Berlin, GERMANY
March 25-March 26
ISBN: 0-8186-7364-8
| ASCII Text | x | ||
| Lutz Prechelt, Walter F. Tichy, "An Experiment to Assess the Benefits of Inter-Module Type Checking," Software Metrics, IEEE International Symposium on, pp. 112, Third International Software Metrics Symposium (METRICS'96), 1996. | |||
| BibTex | x | ||
| @article{ 10.1109/METRIC.1996.492448, author = {Lutz Prechelt and Walter F. Tichy}, title = {An Experiment to Assess the Benefits of Inter-Module Type Checking}, journal ={Software Metrics, IEEE International Symposium on}, volume = {0}, year = {1996}, isbn = {0-8186-7364-8}, pages = {112}, doi = {http://doi.ieeecomputersociety.org/10.1109/METRIC.1996.492448}, publisher = {IEEE Computer Society}, address = {Los Alamitos, CA, USA}, } | |||
| RefWorks Procite/RefMan/Endnote | x | ||
| TY - CONF JO - Software Metrics, IEEE International Symposium on TI - An Experiment to Assess the Benefits of Inter-Module Type Checking SN - 0-8186-7364-8 SP EP A1 - Lutz Prechelt, A1 - Walter F. Tichy, PY - 1996 VL - 0 JA - Software Metrics, IEEE International Symposium on ER - | |||
This paper reports on an experiment to assess the error detection capabilities of static, inter-module type checking. Type checking is considered an important mechanism for detecting programming errors, especially interface errors. The experiment uses Kernighan&Ritchie C and ANSI C. The relevant difference is that the ANSI C compiler checks module interfaces (i.e., the parameter lists of calls to external functions), whereas K&R C does not. The experiment employs a counterbalanced design, in which each subject writes two non-trivial programs that interface with a complex library (Motif). Each subject writes one program in K&R C and one in ANSI C. The input to each compiler run is saved and manually analyzed for errors. Results indicate that delivered ANSI C programs contain significantly fewer interface errors than delivered K&R C programs. Furthermore, after subjects have gained some familiarity with the interface they are using, ANSI C programmers remove errors faster and are more productive (measured in both time to completion and functionality implemented).
Citation:
Lutz Prechelt, Walter F. Tichy, "An Experiment to Assess the Benefits of Inter-Module Type Checking," metrics, pp.112, Third International Software Metrics Symposium (METRICS'96), 1996
Usage of this product signifies your acceptance of the Terms of Use.
