Identifying Utility Functions in Java']Java and Java']JavaScript

被引:1
|
作者
Mendes, Tamara [1 ]
Valente, Marco Tulio [1 ]
Hora, Andre [1 ]
机构
[1] Univ Fed Minas Gerais, Dept Ciencia Comp, Belo Horizonte, MG, Brazil
关键词
Utility functions; Refactoring; Software Architecture; Modularization; Machine Learning;
D O I
10.1109/SBCARS.2016.16
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Utility functions provide generic services that can be reused in different types of systems. Theoretically, they must be implemented in specific modules. However, it is common to find such functions implemented with domain specific functions, decreasing their chances of reuse. In this paper, we propose a set of heuristics to identify utility functions. With such heuristics, recommendations can be provided to move the functions to appropriate modules. In a survey conducted with 33 developers, the proposed heuristics showed a precision of 66% and 67% when applied to Java and JavaScript systems, respectively.
引用
收藏
页码:121 / 130
页数:10
相关论文
共 50 条
  • [1] Jivin' with (Java']Java and) Java']JavaScript
    Beck, CO
    45TH ANNUAL CONFERENCE ON IMAGINATION, INNOVATION AND COMMUNICATION, 1998, : 331 - 333
  • [2] Java']Java, Java']JavaScript, network computers and healthcare
    Smith, MF
    Maclean, IW
    CURRENT PERSPECTIVES IN HEALTHCARE COMPUTING, CONFERENCE, 1997, : 219 - 226
  • [3] Web applets: Java']Java Java']JavaScript and ActiveX
    Stein, L
    TRENDS IN GENETICS, 1996, 12 (11) : 484 - 485
  • [4] Java']Javanni: A Verifier for Java']JavaScript
    Nordio, Martin
    Calcagno, Cristiano
    Furia, Carlo Alberto
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2013, 2013, 7793 : 231 - 234
  • [5] Converting Physlets and Other Java']Java Programs to Java']JavaScript
    Christian, Wolfgang
    Belloni, Mario
    Hanson, Robert M.
    Mason, Bruce
    Barbato, Lyle
    PHYSICS TEACHER, 2021, 59 (04): : 278 - 281
  • [6] Slimming java']javascript applications: An approach for removing unused functions from java']javascript libraries
    Vazquez, H. C.
    Bergel, A.
    Vidal, S.
    Diaz Pace, J. A.
    Marcos, C.
    INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 107 : 18 - 29
  • [7] Characterizing refactoring graphs in Java']Java and Java']JavaScript projects
    Brito, Aline
    Hora, Andre
    Valente, Marco Tulio
    EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (06)
  • [8] Cyberaide Java']JavaScript: A Java']JavaScript Commodity Grid Kit
    von Laszewski, Gregor
    Wang, Fugang
    Younge, Andrew
    He, Xi
    Guo, Zhenhua
    Pierce, Marlon
    GCE: 2008 GRID COMPUTING ENVIRONMENTS WORKSHOP, 2008, : 89 - +
  • [9] Identifying Classes in Legacy Java']JavaScript Code
    Silva, Leonardo Humberto
    Valente, Marco Tulio
    Bergel, Alexandre
    Anquetil, Nicolas
    Etien, Anne
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2017, 29 (08)
  • [10] Scripting DNA: Identifying the Java']JavaScript programmer
    Wisse, Wilco
    Veenman, Cor
    DIGITAL INVESTIGATION, 2015, 15 : 61 - 71