A Dependency Graph Generation Process for Client-side Web Applications

Автор: Tajkia R. Toma, Mohayeminul Islam, Mohammad Shoyaib, Shariful Islam

Журнал: International Journal of Information Engineering and Electronic Business(IJIEEB) @ijieeb

Статья в выпуске: 2 vol.7, 2015 года.

Бесплатный доступ

The prolific growth of the Internet density has replaced native applications with web based applications. Current trend of web applications is moving towards fat client architecture, which results in a large codebase of the client side of web applications. Manual management of this huge code is tedious and time consuming for de-velopers. We present a technique to construct a depend-ency graph to provide an overview of the code showing the inter-dependency of the code elements. We conduct a dynamic analysis to make the JavaScript call graph to address the dynamic nature of JavaScript. We further integrate HTML and CSS with the JavaScript call graph to make a dependency graph. Because we can accurately identify the HTML and CSS relations, the result of the dependency graph depends on the JavaScript call graph. Our evaluation of the JavaScript call graph on six web applications demonstrates that the precision is high for the large applications and relatively low for small applications. The recall is low for large applications and relatively higher for small applications.

Еще

Web Application, Software Maintenance, Client-side, Dynamic Analysis, Test case, Call Graph, Dependency Graph

Короткий адрес: https://sciup.org/15013338

IDR: 15013338

Список литературы A Dependency Graph Generation Process for Client-side Web Applications

  • W3Techs, "Usage of Client-side Programming Languages for Websites." http://w3techs.com/technologies/overview/client side lan-guage/all, 2014. [Online; accessed 28-February-2014].
  • V. Rajlich and N. Wilde, "The Role of Concepts in Pro-gram Comprehension," in Program Comprehension, 2002. Proceedings. 10th International Workshop on, pp. 271–278, 2002.
  • V. Rajlich and P. Gosavi, "Incremental Change in Object-Oriented Programming," Software, IEEE, vol. 21, pp. 62–69, July 2004.
  • T. R. Toma and M. S. Islam, "An Efficient Mechanism of Generating Call Graph for JavaScript Using Dynamic Analysis in Web Application," in 3rd International Con-ference on Electronics, Informatics & Vision, 2014.
  • W3C, "How Does the Internet Work." http://www.w3.org/wiki/ How does the Internet work#Static vs. Dynamic Web Sites [Online; accessed 21-April-2014].
  • "jQuery." http://jquery.com. [Online; accessed 21-April-2014].
  • "Modernizr." http://modernizr.com/ [Online; accessed 21-April-2014].
  • "MooTools." http://mootools.net. [Online; accessed 21-April-2014].
  • "prototype.js." http://prototypejs.org. [Online; accessed 21-April-2014].
  • "ASP.NET Ajax." http://www.asp.net/ajax [Online; ac-cessed 21-April-2014].
  • W3Techs, "Usage of JavaScript Libraries for Web-sites."http:// w3techs.com/technologies/overview/javascript library/all [Online; accessed 21-April-2014].
  • Mozilla Developer Network, "AJAX; Getting Started." https:// developer.mozilla.org/en-US/docs/AJAX/Getting Started. [Online; accessed 21-April-2014].
  • "IEEE Standard for Software and System Test Documen-tation," IEEE Std 829-2008, July 18, 2008.
  • T. Eisenbarth, R. Koschke, and D. Simon, "Locating Fea-tures in Source Code," Software Engineering, IEEE Transactions on, vol. 29, pp. 210–224, March 2003.
  • D. Poshyvanyk, Y.-G. Gueheneuc, A. Marcus, G. Antoni-ol, and V. Rajlich, "Feature Location Using Probabilistic Ranking of Methods Based on Execution Scenarios and Information Retrieval," Software Engineering, IEEE Transactions on, vol. 33, pp. 420–432, June 2007.
  • B. Dit, M. Revelle, M. Gethers, and D. Poshyvanyk, "Fea-ture Location in Source Code: a Taxonomy and Survey," Journal of Software: Evolution and Process, vol. 25, no. 1, pp. 53–95, 2013.
  • J. Maras, M. Stula, J. Carlson, and I. Crnkovic, "Identify-ing Code of Individual Features in Client-side Web Ap-plications," Software Engineering, IEEE Transactions on, vol. 39, pp. 1680–1697, Dec 2013.
  • S. Some, "Use Cases Based Requirements Validation with Scenarios," in Requirements Engineering, 2005. Proceed-ings. 13th IEEE International Conference on, pp. 465–466, Aug 2005.
  • "IEEE Standard Glossary of Software Engineering Ter-minology," vol. 121990, no. 1, p. 1, 1990.
  • "IEEE Standard for Software Test Documentation," IEEE Std 829-1983.
  • I. Andjelkovic and C. Artho, "Trace Server: A Tool for Storing, Querying and Analyzing Execution Traces," in JPF Workshop, Lawrence, USA, 2011.
  • S. Wei and B. G. Ryder, "A Practical Blended Analysis for Dynamic Features in JavaScript," Technical Report TR-12-11, Computer Science, Virginia Tech, 2012.
  • H. Abelson and G. J. Sussman. "Structure and Interpreta-tion of Computer Programs," 1996.
  • G. Richards, S. Lebresne, B. Burg, and J. Vitek, "An Analysis of the Dynamic Behavior of JavaScript Programs," in Proceedings of the 2010 ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI '10, (New York, NY, USA), pp. 1–12, ACM, 2010.
  • S. Jensen, A. Mller, and P. Thiemann, "Type Analysis for JavaScript," in Static Analysis (J. Palsberg and Z. Su, eds.), vol. 5673 of Lecture Notes in Computer Science, pp. 238–255, Springer Berlin Heidelberg, 2009.
  • A. Feldthaus, M. Schafer, M. Sridharan, J. Dolby, and F. Tip, "Efficient Construction of Approximate Call Graphs for JavaScript IDE Services," in Software Engineering (ICSE), 2013 35th International Conference on, pp. 752–761, May 2013.
  • M. Sridharan, J. Dolby, S. Chandra, M. Schfer, and F. Tip, "Correlation Tracking for Points-to Analysis of JavaScript," in ECOOP 2012 Object-Oriented Programming (J. Noble, ed.), vol. 7313 of Lecture Notes in Computer Science, pp. 435–458, Springer Berlin Heidelberg, 2012.
  • "T. J. Watson Libraries for Analysis (WALA)." http://wala.sf.net. [Online; accessed 21-April-2014].
  • "Index of Josip Maras." http://marjan.fesb.hr/ joma-ras/download/ FIdEvaluation2.zip, 2010. [Online; accessed 20-April-2014].
Еще
Статья научная