Browse > Article
http://dx.doi.org/10.9708/jksci.2014.19.2.183

A Quantitative Analysis of the Cyclomatic Complexity of the Web Software  

Kim, JeeHyun (Dept. of Computer Software, Seoil University)
Abstract
In this study Cyclomatic Complexity of Web Software has been analyzed quantitatively by correlation between complexity and Number of Classes(NOC), and Number of Methods(NOM) which are object oriented programming measures. Based on the frequency distribution of complexity, NOC and NOM of software at the Web environment, correlation between complexity threshold and NOC threshold, and NOM threshold has been measured and more than 4,000 ASP files of 10 Web real projects have been used as the sample. The empirical result shows that NOC threshold is 21, NOM threshold is 40 and complexity threshold is 68 as high value, and 8 projects among of 10 except 2 projects with especially high frequency distribution shows that NOC threshold is 12, NOM threshold is 21 and complexity threshold is 52 with relatively low value, so correlation has been found out as exists. And also 8 projects with low threshold of complexity, NOC and NOM were internal management software, and the other 2 projects were external sales service software, Number of Classes and Number of Methods can be defined at the design stage according to business properties, and also the complexity can be estimated in order to improve the software quality.
Keywords
Cyclomatic Complexity; NOC; NOM; threshold; Web software;
Citations & Related Records
Times Cited By KSCI : 4  (Citation Analysis)
연도 인용수 순위
1 JeeHyun Kim, HaeYoung Yoo, "A Study of Estimation for Web Software Size," Journal of the Korea Information Processing Society, vol. 12-D. no. 3, May 2005   과학기술학회마을   DOI   ScienceOn
2 Habra, N., Abran A., Lopez, M. & Paulus, V., "Towards a framework for Measurement Lifecycle," University of Namur, Technical Report, TR37/ Apr. 2004
3 Miguel Lopez, Naji Habra, "Relevance of the Cyclomatic Complexity Threshold for the Java Programming Language," In Proceedings of the Software Measurement European Forum(SMEF 2005), Mar. 2005
4 JeeHyun Kim, "Relevance of the Cyclomatic Complexity Threshold for Web Programming," Journal of the Korea Society of Computer and Information, vol. 17, no. 6, Jun. 2012   과학기술학회마을   DOI   ScienceOn
5 Miguel Lopez, Gregory Seront, Naji Habra, "A Quantitative Analysis of the Cyclomatic Complexity of the Java Development Framework J2SDK," In Proceedings of SMEF2006, May 2006
6 T. J. McCabe, , "A Complexity Measure," IEEE Transactions on Software Engineering, Vol. 2, No. 4, Dec. 1976
7 Linda Rosenberg, Ph.D., Lawrence Hyatt, "Developing a successful metrics program," International Conference On Software Engineering(IASTED) SanFrancisco CA, Nov. 1997
8 Britoe e Abreu, P., Poels, G., Sahraoui H.A., and Zuse, H., "Quantitative Approaches in Object-Oriented Software Engineering," Kogan Page Science, 2004
9 Thomas A. Powell , "WebSite Engineering," Prentice Hall PTR, 1998
10 JeeHyun Kim, Chel Park, "Implementation of the Module Risk Levels Measurement Tools for Web Application," Journal of the Korea Society of Computer and Information, vol. 7, no. 2, Jun. 2002   과학기술학회마을
11 V.B.Misic, D.N.Tesic, "Estimation of effort and complexity: An object-oriented case study," Journal of Systems and Software, Jan. 1999
12 Chel Park, HaeYoung Yoo, "Analysis of Cyclomatic Complexity for Web Application", Journal of the Korea Information Processing Society, v.11-D, n.4, pp.865-872, Aug. 2004   과학기술학회마을   DOI   ScienceOn
13 V.R. Basili, L.C. Briand, and W.L. Melo, "A Validation of Object Oriented Design Metrics as Quality Indicators," IEEE Trans. Software Eng., vol. 22, no. 10, pp. 751-761, Oct. 1996   DOI   ScienceOn
14 Stark G., Durst, R.C., " Using Metrics in Management Decision Making," Computer (IEEE), 1994
15 Victor Laing and Charles Coleman, "Principal Components of Orthogonal Object-Oriented Metrics," www.gsfc.nasa..gov/support/OSMASA SMSEP01/,Oct. 2001
16 Chidamber, S.R., D.P. Darcy, and C.F. Kemerer, "Managerial Use of Object-Oriented Software : An Explanatory Analysis," IEEE Transactions on Software Engineering, 24(8), Aug. 1998
17 Abran, A., Lopez, M., and Habra, N., "An Analysis of the McCabe Cyclomatic Complexity Number," in IWSM Proceedings, Berlin, 2004
18 Marco Ronchetti, Giancarlo Succi, Witold Pedrycz, Barbara Russo, "Early estimation of software size in object-oriented environments : a case study in a CMM level 3 software firm, " www.unibz .it/web4archiv/objects/pdf/cs_library/1/, 2003