Treffer: JSClassFinder: A Tool to Detect Class-like Structures in JavaScript

Title:
JSClassFinder: A Tool to Detect Class-like Structures in JavaScript
Contributors:
Departamento de Ciência da Computação [Minas Gerais] (DCC - UFMG), Universidade Federal de Minas Gerais = Federal University of Minas Gerais [Belo Horizonte, Brazil] (UFMG), PLEIAD, Computer Science Department [Santiago] (DCC), Faculty of Science, Universidad de Chile = University of Chile [Santiago] (UCHILE)-Universidad de Chile = University of Chile [Santiago] (UCHILE)-Faculty of Science, Universidad de Chile = University of Chile [Santiago] (UCHILE)-Universidad de Chile = University of Chile [Santiago] (UCHILE), Analyses and Languages Constructs for Object-Oriented Application Evolution (RMOD), Centre Inria de l'Université de Lille, Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)-Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 (CRIStAL), Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS)-Centrale Lille-Université de Lille-Centre National de la Recherche Scientifique (CNRS)
Source:
CBSOFT’15 - Brazilian Conference on Software: Theory and Practice, Sep 2015, Belo Horizonte, Brazil
Publisher Information:
CCSD, 2015.
Publication Year:
2015
Collection:
collection:CNRS
collection:INRIA
collection:INRIA-LILLE
collection:INRIA_TEST
collection:TESTALAIN1
collection:INRIA-CHILE
collection:CRISTAL
collection:INRIA2
collection:CRISTAL-RMOD
collection:UNIV-LILLE
collection:INRIA_WEB
Subject Geographic:
Original Identifier:
HAL: hal-01369705
Document Type:
Konferenz conferenceObject<br />Conference papers
Language:
English
Rights:
info:eu-repo/semantics/OpenAccess
Accession Number:
edshal.hal.01369705v1
Database:
HAL

Weitere Informationen

With the increasing usage of JavaScript in web applications, there is a great demand to write JavaScript code that is reliable and maintainable. To achieve these goals, classes can be emulated in the current JavaScript standard version. In this paper, we propose a reengineering tool to identify such class-like structures and to create an object-oriented model based on JavaScript source code. The tool has a parser that loads the AST (Abstract Syntax Tree) of a JavaScript application to model its structure. It is also integrated with the Moose platform to provide powerful visualization, e.g., UML diagram and Distribution Maps, and well-known metric values for software analysis. We also provide some examples with real JavaScript applications to evaluate the tool.