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 条