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 条
  • [31] All about the with Statement in Java']JavaScript: Removing with Statements in Java']JavaScript Applications
    Park, Changhee
    Lee, Hongki
    Ryu, Sukyoung
    ACM SIGPLAN NOTICES, 2014, 49 (02) : 73 - 84
  • [32] OntoCAT - simple ontology search and integration in Java']Java, R and REST/Java']JavaScript
    Adamusiak, Tomasz
    Burdett, Tony
    Kurbatova, Natalja
    van der Velde, K. Joeri
    Abeygunawardena, Niran
    Antonakaki, Despoina
    Kapushesky, Misha
    Parkinson, Helen
    Swertz, Morris A.
    BMC BIOINFORMATICS, 2011, 12
  • [33] An Architecture to use Easy Java']Java-Java']Javascript Simulations in New Devices
    Saenz, Jacobo
    Esquembre, Francisco
    Garcia, Felix J.
    de la Torre, Luis
    Dormido, Sebastian
    IFAC PAPERSONLINE, 2015, 48 (29): : 129 - 133
  • [34] Java']JavaScript primer plus: Enhancing Web pages with Java']JavaScript programming language
    Kelly, AG
    INTERNATIONAL JOURNAL OF INFORMATION MANAGEMENT, 1998, 18 (02) : 162 - 162
  • [35] Java']JavaScript Zero: Real Java']JavaScript and Zero Side-Channel Attacks
    Schwarz, Michael
    Lipp, Moritz
    Gruss, Daniel
    25TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2018), 2018,
  • [36] The Lifetime of Android API Vulnerabilities: Case Study on the Java']JavaScript-to-Java']Java Interface
    Thomas, Daniel R.
    Beresford, Alastair R.
    Coudray, Thomas
    Sutcliffe, Tom
    Taylor, Adrian
    SECURITY PROTOCOLS XXIII, 2015, 9379 : 126 - 138
  • [37] Pure Java']JavaScript.
    Gillespie, T
    LIBRARY JOURNAL, 1999, 124 (18) : 120 - 120
  • [38] An Operational Semantics for Java']JavaScript
    Maffeis, Sergio
    Mitchell, John C.
    Taly, Ankur
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2008, 5356 : 307 - +
  • [39] Type Analysis for Java']JavaScript
    Jensen, Simon Holm
    Moller, Anders
    Thiemann, Peter
    STATIC ANALYSIS, 2009, 5673 : 238 - +
  • [40] Java']JavaScript: The Used Parts
    Gude, Sharath
    Hafiz, Munawar
    Wirfs-Brock, Allen
    2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 466 - 475