Skip to main content
Log in

A method for measuring the structure complexity of web application

  • Web Application Framework and Architecture
  • Published:
Wuhan University Journal of Natural Sciences

Abstract

The precise and effective measure results of Web applications not only facilitate good comprehension of them, but also benefit to the macro-management of software activities, such as testing, reverse engineering, reuse, etc. The paper exploits some researches on measuring the structure complexity of Web application. Through a deep analysis of the configuration and objects' interactions of Web system, two conclusions have been drawn: ¹ A generic Web application consists of static web page, dynamic page, component and database object: ² The main interactions have only three styles, that is static link, dynamic link and call/return relation. Based on analysis and modeling of the content of a Web page (static or dynamic), complexity measure methods of both control logic of script and nesting of HTML code are further discussed. In addition, two methods for measuring the complexity of inter-page navigation are also addressed by modeling the inter-page navigation behaviors of Web application via WNG graph.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Tonella P, Ricca F. Dynamic Model Extraction and Statistical Analysis of Web Applications.Proc of the 4th International Workshop on Web Site Evolution. New York: IEEE Press, 2002. 43–52.

    Google Scholar 

  2. Wu Y, Offutt J, Du X. Modeling and Testing of Dynamic Integration Aspects of Web-based Applications.Technical Reports, ISE-TR-04-01, http://www.isse.gmu.edu/techrep/2004/04_01.pdf. March 2004.

  3. Xu Lei, Xu Bao-wen, Chen Zhen-qiang. A Survey of Web Testing.Computer Science, 2003,30(3):100–104 (Ch).

    Google Scholar 

  4. Mao Cheng-ying, Lu Yan-sheng. Testing and Evaluation for Web Usability Based on Extended Markov Chain Model.Wuhan University Journal of Natural Science, 2004,9(5):687–693.

    Google Scholar 

  5. Mao Cheng-ying, Lu Yan-sheng. Web Application Testing Based on State Transition.Computer Science, 2005,32(5): 219–223 (Ch).

    Google Scholar 

  6. Ricca F, Tonella P. Web Site Analysis: Structure and Evolution.Proc of International Conference on Software Maintenance. New York: IEEE Press, 2000. 76–86.

    Google Scholar 

  7. Ling Y, Chen S, Lin X. Towards Better Performance Measurement of Web Servers.Proc of the 4th Pacific Rim Conference on Multimedia, also in Proc of the 2003 Joint Conference of the 4th International Conference on Information, Communications and Signal Processing. New York: IEEE Press, 2003. 453–457.

    Google Scholar 

  8. Mangia L, Paiano R. MMWA: A Software Sizing Mode for Web Applications.Proc of the 4th International Conferece on Web Information Systems Engineering (WISE'03). New York: IEEE Press, 2003, 53–61.

    Google Scholar 

  9. Conallen J. Modeling Web Applications with UML.White paper, Conallen Inc., http://www.conallen.com/whitepapers/webapps/ModelingWebApplications.htm, March 1999.

  10. Lucca G A D, Fasolino A R, Faralli F,et al. Testing Web Applications.Proc of International Conference on Software Maintenance (ICSM'02). New York: IEEE Press, 2002. 310–319.

    Google Scholar 

  11. Lucca G A D, Fasolino A R, Pace F,et al. Comprehending Web Applications by a Clustering Based Approach.Proc of the 10th International Workshop on Program Comprehension (IWPC'02). New York: IEEE Press, 2002. 261–270.

    Google Scholar 

  12. Bertolino A, Marre M. Automatic Generation of Path Covers Based on the Control Flow Analysis of Computer Programs.IEEE Transactions on Software Engineering, 1994,20 (12):885–899.

    Article  Google Scholar 

  13. Jorgensen P C. Software Testing: A Craftsman's Approach. Florida: CRC Press, 2002. 109–114.

    Google Scholar 

  14. Ricca F, Tonella P. Construction of the System Dependence Graph for Web Application Slicing.Proc. of the 2nd IEEE International Workshop on Source Code Analysis and Manipulation. New York: IEEE Press. 2002. 123–132.

    Google Scholar 

  15. Chidamber R, Kemerter F. A Metrics Suite for Object-Oriented Design.IEEE Transactions on Software Engineering, 1994,20(6):476–493.

    Article  Google Scholar 

  16. Brito F, Abreu E. The MOOD Metric Set.Proc of the ECOOP'95 Workshop on Metrics Berlin, Germany, 1995.

  17. Kung D C, Liu C H, Hsia P. An Object-Oriented Web Test Model for Testing Web Applications.Proc of the 1st Asia-Pacific Conference on Web Applications. New York: IEEE Press. 2000. 111–120.

    Google Scholar 

  18. Lucca G A D, Penta M D. Considering Browser Interaction in Web Application Testing.Proc. of the 5th IEEE International Workshop on Web Site Evolution. New York: IEEE Press, 2003, 74–81.

    Google Scholar 

  19. Zhou Yu-Ming, Xu Bao-wen. Measuring Structure Complexity of UML Class Diagrams.Journal of Electronics, 2003,20(3):227–231.

    Google Scholar 

  20. Yang Fu-qing. Thinking on the Development of Software Engineering Technology.Journal of Software, 2005,16(1):1–7 (Ch).

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lu Yan-sheng.

Additional information

Foundation item: Supported by the Defense Pre-Research Project of the 10th Five-Year Plant of China (413150902), and the Defense Pre-Research Project of the Navy Equipment Ministry (10104010201)

Biography: MAO Cheng-ying (1978-), male, Ph.D. candidate, research direction: software analysis, comprehension, and testing.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Cheng-ying, M., Yan-sheng, L. A method for measuring the structure complexity of web application. Wuhan Univ. J. Nat. Sci. 11, 143–150 (2006). https://doi.org/10.1007/BF02831720

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02831720

Key words

CLC number

Navigation