DETECTION AND ANALYSIS OF DUPLICATED JAVASCRIPT CODE USING JSINSPECT TOOL

Authors

  • Tamara Letić Autor

DOI:

https://doi.org/10.24867/03BE24Letic

Keywords:

Java Script, code quality, static analysis, duplicate code, JSInspect

Abstract

This paper describes the JavaScript language, its current place in the world of software engineering, as well as its potential in the future. The theme of the quality of the code is covered as an introduction and the need for the existence of a tool for its static analysis. The problem of the duplicate code appearance has been elaborated in detail, and an already existing tool for its detection has been explored through the implementation of the web application into which the tool is integrated and analysis of the results obtained during the analysis.

References

[1] N.Synytskyy, J.R.Cordy, and T.Dean.“Resolution of static clones in dynamic web pages”. In: Web Site Evolution, 2003. Theme: Architecture. Proceedings. Fifth IEEE International Workshop on. IEEE, 2003.
[2] F. Calefato, F. Lanubile, and T. Mallardo. “Function clone detection in web applications: A semiautomated approach”. In: Journal of Web Engineering 3 , pp. 3–21, 2004.
[3] Ira D. Baxter, Andrew Yahin, Leonardo Moura, Marcelo Sant’Anna, and Lorraine Bier. “Clone Detection Using Abstract Syntax Trees”. In: Proceedings of the International Conference on Software Maintenance. ICSM’98. Washington, DC, USA: IEEE Computer Society, 1998.
[4] Douglas Thain, “The Abstract syntax tree”, In: Compilers and language design, https://www3.nd.edu/~dthain/courses/cse40243/fall2016/chapter6.pdf , 2016.
[5] Robert Sedgewick, Kevin Wayne, “Algorithms, 4th Edition” , 2011.

Published

2019-06-05

Issue

Section

Electrotechnical and Computer Engineering