2011 · 61 citations · 27 references
ComputingComputer ScienceMachine LearningProgramming LanguagesSoftware EngineeringApplication Programming InterfacesClassificationSoftware MaintenanceApplication Programming Interface (Api)Empirical EvaluationProject Categorization
Software repositories contain applications whose categorization improves maintenance, but lack of source code makes automatic binary categorization difficult. This study proposes using third‑party API calls as attributes to automatically categorize software applications. API calls are extracted from byte‑code, enabling the approach to be applied to closed‑source repositories, and the method is evaluated against other machine‑learning algorithms on two large Java datasets. Using only a few API calls, the method accurately categorizes applications and the evaluation confirms its effectiveness compared to prior techniques.
Software repositories hold applications that are often categorized to improve the effectiveness of various maintenance tasks. Properly categorized applications allow stakeholders to identify requirements related to their applications and predict maintenance problems in software projects. Unfortunately, for different legal and organizational reasons the source code is often not available, thus making it difficult to automatically categorize binary executables of software applications. In this paper, we propose a novel approach in which we use Application Programming Interface (API) calls from third-party libraries as attributes for automatic categorization of software applications that use these API calls. API calls can be extracted from source code and more importantly, from the byte-code of applications, thus making automatic categorization approaches applicable to closed source repositories. We evaluate our approach along with other machine learning algorithms for software categorization on two large Java repositories: an open-source repository containing 3,286 projects and a closed-source one with 745 applications. Our contribution is twofold: not only do we propose a new approach that makes it possible to categorize software projects without any source code using a small number of API calls as attributes, but also we carried out the first comprehensive empirical evaluation of automatic categorization approaches.
27
Statistical Comparisons of Classifiers over Multiple Data Sets
Janez Demšar · 2006 · 11.2K citations
An Introduction to Variable and Feature Selection.
2003 · 6.6K citations
A Comparative Study on Feature Selection in Text Categorization
Yiming Yang, Jan Pedersen · 1997 · 4.8K citations