AUTOMATIC PROGRAMMING ASSESSMENT

被引:24
作者
HUNG, SL
KWOK, LF
CHAN, R
机构
[1] Department of Computer Science, City Polytechnic of Hong Kong, Kowloon
关键词
D O I
10.1016/0360-1315(93)90086-X
中图分类号
TP39 [计算机的应用];
学科分类号
081203 [计算机应用技术]; 0835 [软件工程];
摘要
Software metrics have been used extensively to provide quantitative measures of software characteristics. This paper aims at evaluating the relevance of using software metrics as means of assessing students' performance in programming. The study focusses on the use of four basic software metrics which are combined to form a single assessment score. The four metrics are respectively those which measure programming skill, complexity, programming style and programming efficiency. Measurements suggested that the lines of code metric is a good candidate for measuring programming skill. McCabe's cyclomatic complexity metrics have been adopted for measuring program complexity. Program execution times are used as the measuring yardsticks for programming efficiency. To facilitate automatic assessment, a program analyzer has been constructed which can provide measures of all the relevant software metrics together with the appropriate assessment scores. The tool was tested with sample assignments of Pascal programs and good distribution of marks has been obtained.
引用
收藏
页码:183 / 190
页数:8
相关论文
共 13 条
[1]
SOFTWARE FUNCTION, SOURCE LINES OF CODE, AND DEVELOPMENT EFFORT PREDICTION - A SOFTWARE SCIENCE VALIDATION [J].
ALBRECHT, AJ ;
GAFFNEY, JE .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1983, 9 (06) :639-648
[2]
Boehm B.W., 1981, SOFTWARE ENG EC
[3]
Browne J. C., 1981, Software metrics: An analysis and evaluation, P19
[4]
Card D. N., 1990, MEASURING SOFTWARE D
[5]
IMPROVING SOFTWARE QUALITY AND PRODUCTIVITY [J].
CARD, DN ;
CLARK, TL ;
BERG, RA .
INFORMATION AND SOFTWARE TECHNOLOGY, 1987, 29 (05) :235-241
[6]
Halstead M., 1977, ELEMENTS SOFTWARE SC
[7]
HARLAN D, 1990, IEEE SOFTWARE
[8]
HENRY S, 1989, IEEE T SOFTWARE ENG
[9]
SOFTWARE COMPLEXITY MEASUREMENT [J].
KEARNEY, JK ;
SEDLMEYER, RL ;
THOMPSON, WB ;
GRAY, MA ;
ADLER, MA .
COMMUNICATIONS OF THE ACM, 1986, 29 (11) :1044-1050
[10]
MCCABE T, 1976, IEEE T SOFTWARE