A Study of Cyclomatic Complexity for Web Application

KIPS Transactions on Computer and Communication Systems, Vol. 9, No. 3, pp. 447-456, Mar. 2002
10.3745/KIPSTD.2002.9.3.447, Full Text:


Web applications have different structural characteristics from conventional applications. A web application typically consists of server-side script elements which run on web servers, client-side script elements which run on the client web-browser, link elements that the user clicks, and event elements that connect user-triggered request to the client script elements. These four elements are combined to form a web application. In such environments, direct application of conventional methods for measuring application complexity may not be possible, because they are primarily designed to measure complexity of modules and classes. In this paper, therefore, we propose metrics of Cyclomatic Complexity for Web Application (CCWA). We developed a tool to measure such metrics and applied it to the real-world examples. We found that the proposed CCWA metrics can be used for measuring complexity of highly complex web applications, which is not possible with conventional module and class based measurement techniques.

Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.

Cite this article
[IEEE Style]
J. K. Ahn and H. Y. Yoo, "A Study of Cyclomatic Complexity for Web Application," KIPS Journal D (2001 ~ 2012) , vol. 9, no. 3, pp. 447-456, 2002. DOI: 10.3745/KIPSTD.2002.9.3.447.

[ACM Style]
Jong Keun Ahn and Hae Young Yoo. 2002. A Study of Cyclomatic Complexity for Web Application. KIPS Journal D (2001 ~ 2012) , 9, 3, (2002), 447-456. DOI: 10.3745/KIPSTD.2002.9.3.447.