There are a large number of open source projects in software repositories for developers to reuse. During software development and\nmaintenance, developers can leverage good interfaces in these open source projects and establish the framework of the new project\nquickly when reusing interfaces in these open source projects. However, if developers want to reuse them, they need to read a lot\nof code files and learn which interfaces can be reused. To help developers better take advantage of the available interfaces used in\nsoftware repositories, we previously proposed an approach to automatically recommend interfaces by mining existing open source\nprojects in the software repositories.We mainly used the LDA (Latent Dirichlet Allocation) topic model to construct the Feature-\nInterface Graph for each software project and recommended the interfaces based on the Feature-Interface Graph. In this paper, we\nimprove our previous approach by clustering the recommending interfaces on the Feature-Interface Graph, which can recommend\nmore accurate interfaces for developers to reuse.We evaluate the effectiveness of the improved approach and the results show that\nthe improved approach can be more efficient to recommend more accurate interfaces for reuse over our previous work.
Loading....