A Study of Cyclomatic Complexity for Web Application 


Vol. 9,  No. 3, pp. 447-456, Jun.  2002
10.3745/KIPSTD.2002.9.3.447


PDF
  Abstract

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.

  Statistics


  Cite this article

[IEEE Style]

J. K. Ahn and H. Y. Yoo, "A Study of Cyclomatic Complexity for Web Application," The KIPS Transactions:PartD, 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. The KIPS Transactions:PartD, 9, 3, (2002), 447-456. DOI: 10.3745/KIPSTD.2002.9.3.447.