DocumentCode :
783721
Title :
Spatial complexity metrics: an investigation of utility
Author :
Gold, Nicolas E. ; Mohan, Andrew M. ; Layzell, Paul J.
Author_Institution :
Dept. of Comput. Sci., King´´s Coll., London, UK
Volume :
31
Issue :
3
fYear :
2005
fDate :
3/1/2005 12:00:00 AM
Firstpage :
203
Lastpage :
212
Abstract :
Software comprehension is one of the largest costs in the software lifecycle. In an attempt to control the cost of comprehension, various complexity metrics have been proposed to characterize the difficulty of understanding a program and, thus, allow accurate estimation of the cost of a change. Such metrics are not always evaluated. This paper evaluates a group of metrics recently proposed to assess the "spatial complexity" of a program (spatial complexity is informally defined as the distance a maintainer must move within source code to build a mental model of that code). The evaluation takes the form of a large-scale empirical study of evolving source code drawn from a commercial organization. The results of this investigation show that most of the spatial complexity metrics evaluated offer no substantially better information about program complexity than the number of lines of code. However, one metric shows more promise and is thus deemed to be a candidate for further use and investigation.
Keywords :
software cost estimation; software maintenance; software metrics; program complexity; software comprehension; software lifecycle; software maintenance; software psychology; spatial complexity metrics; Cognitive science; Computer Society; Costs; Gold; Large-scale systems; Monitoring; Preventive maintenance; Psychology; Software maintenance; Software measurement; Index Terms- Maintenance measurement; complexity measures; maintainability; software psychology.;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/TSE.2005.39
Filename :
1423992
Link To Document :
بازگشت