ISISTAN   23985
INSTITUTO SUPERIOR DE INGENIERIA DEL SOFTWARE
Unidad Ejecutora - UE
congresos y reuniones científicas
Título:
Slimming JavaScript Applications: an Approach for Removing Unused Functions from JavaScript Libraries
Autor/es:
HERNAN CEFERINO VAZQUEZ; ANDRES DIAZ PACE; SANTIAGO VIDAL ; ALEXANDRE BERGEL; CLAUDIA MARCOS
Lugar:
Cleveland
Reunión:
Congreso; 35th IEEE International Conference on Software Maintenance and Evolution (ICSME 2019); 2019
Institución organizadora:
IEEE
Resumen:
Context: A common practice in JavaScript development is to ship and deploy an application as a large file, called bundle, which is the result of combining the application code along with the code of all the libraries the application depends on. Despite the benefits of having a single bundle per application, this approach leads to applications being shipped with significant portions of code that are actually not used, which unnecessarily inflates the JavaScript bundles and could slow down website loading because of the extra unused code. Although some static analysis techniques exist for removing unused code, our investigations suggest that there is still room for improvements.