论文标题
从网络存储库中检索和排名相关的JavaScript技术
Retrieving and Ranking Relevant JavaScript Technologies from Web Repositories
论文作者
论文摘要
软件技术的选择是一项重要但复杂的任务。我们考虑JavaScript(JS)应用程序的开发人员,由于可用的技术选择的数量越来越多,JS库的评估变得困难且耗时。一种常见的策略是通过搜索引擎(例如NPM或Google)浏览软件存储库,尽管它带来了一些问题。首先,鉴于技术需求,发动机可能会返回一长串结果,这通常会导致信息超负荷问题。其次,结果应根据开发人员感兴趣的标准对结果进行排名。但是,决定如何加权这些标准做出决定并不直接。在这项工作中,我们提出了一种两阶段的方法,以帮助开发人员以半自动化的方式检索和对JS技术进行排名。第一阶段(ST-Retreval)使用一种元搜索技术来收集满足开发人员需求的JS技术。第二个相(称为ST级)依赖于基于网络中其他项目使用的标准来推断的机器学习技术,这是ST-Retreval的输出的排名。我们用NPM评估了我们的方法,并根据检索到的技术的准确性和排名的顺序获得了令人满意的结果。
The selection of software technologies is an important but complex task. We consider developers of JavaScript (JS) applications, for whom the assessment of JS libraries has become difficult and time-consuming due to the growing number of technology options available. A common strategy is to browse software repositories via search engines (e.g., NPM, or Google), although it brings some problems. First, given a technology need, the engines might return a long list of results, which often causes information overload issues. Second, the results should be ranked according to criteria of interest for the developer. However, deciding how to weight these criteria to make a decision is not straightforward. In this work, we propose a two-phase approach for assisting developers to retrieve and rank JS technologies in a semi-automated fashion. The first-phase (ST-Retrieval) uses a meta-search technique for collecting JS technologies that meet the developer's needs. The second-phase (called ST-Rank), relies on a machine learning technique to infer, based on criteria used by other projects in the Web, a ranking of the output of ST-Retrieval. We evaluated our approach with NPM and obtained satisfactory results in terms of the accuracy of the technologies retrieved and the order in which they were ranked.