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
来源
PROCEEDINGS OF 2016 X BRAZILIAN SYMPOSIUM ON SOFTWARE COMPONENTS, ARCHITECTURES AND REUSE (SBCARS) | 2016年
关键词
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 条
  • [41] Java']JavaScript as an Embedded DSL
    Kossakowski, Grzegorz
    Amin, Nada
    Rompf, Tiark
    Odersky, Martin
    ECOOP 2012 - OBJECT-ORIENTED PROGRAMMING, 2012, 7313 : 409 - 434
  • [42] Directing Java']JavaScript with Arrows
    Phang, Khoo Yit
    Hicks, Michael
    Foster, Jeffrey S.
    Sazawal, Vibha
    ACM SIGPLAN NOTICES, 2009, 44 (12) : 49 - 58
  • [43] Symbolic Execution for Java']JavaScript
    Santos, Jose Fragoso
    Maksimovic, Petar
    Grohens, Theotime
    Dolby, Julian
    Gardner, Philippa
    PPDP'18: PROCEEDINGS OF THE 20TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2018,
  • [44] Java']JavaScript vs VBScript
    Mason, S
    INTERNET WORLD, 1998, 9 (01): : 14 - 14
  • [45] Java']JavaScript AOT Compilation
    Serrano, Manuel
    DLS'18: PROCEEDINGS OF THE 14TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON DYNAMIC LANGUAGES, 2018, : 50 - 63
  • [46] Type Checking for Java']JavaScript
    Anderson, Christopher
    Giannini, Paola
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 138 (02) : 37 - 58
  • [47] Estimating Quality of Java']JavaScript
    Misra, Sanjay
    Cafer, Ferid
    INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2012, 9 (06) : 535 - 543
  • [48] Access Control in Java']JavaScript
    Toledo, Rodolfo
    Tanter, Eric
    IEEE SOFTWARE, 2011, 28 (05) : 76 - 84
  • [49] The impact of Java']JavaScript on archivability
    Brunelle, Justin F.
    Kelly, Mat
    Weigle, Michele C.
    Nelson, Michael L.
    INTERNATIONAL JOURNAL ON DIGITAL LIBRARIES, 2016, 17 (02) : 95 - 117
  • [50] Writing Java']JavaScript applications
    Friesenhahn, B
    BYTE, 1998, 23 (02): : 59 - 60