论文标题

NPM滤波器:从NPM软件包中自动挖掘动态信息

npm-filter: Automating the mining of dynamic information from npm packages

论文作者

Arteca, Ellen, Turcotte, Alexi

论文摘要

代码存储库的静态属性,例如,代码,依赖关系,依赖项等行的行,可以从诸如GitHub之类的代码托管平台以及诸如for JavaScript的NPM等软件包管理系统中删除;尽管同样重要的是,与程序的动态属性有关的信息,例如,通过或失败的测试套件中的测试数量较少。轻松收集这些动态信息的能力对于进行语料库分析的研究人员可能非常有用,因为它们可以根据只能通过运行才能观察到的属性来区分项目。 在本文中,我们提出了NPM滤波器,这是一种自动化工具,可以通过最受欢迎的JavaScript软件包管理器NPM上的JavaScript项目的源代码下载,安装,构建,测试和运行自定义用户脚本。我们概述了此工具,描述了其实现,并表明NPM滤波器已经在开发多个JavaScript工具的评估套件方面很有用。

The static properties of code repositories, e.g., lines of code, dependents, dependencies, etc. can be readily scraped from code hosting platforms such as GitHub, and from package management systems such as npm for JavaScript; Although no less important, information related to the dynamic properties of programs, e.g., number of tests in a test suite that pass or fail, is less readily available. The ability to easily collect this dynamic information could be immensely useful to researchers conducting corpus analyses, as they could differentiate projects based on properties that can only be observed by running them. In this paper, we present npm-filter, an automated tool that can download, install, build, test, and run custom user scripts over the source code of JavaScript projects available on npm, the most popular JavaScript package manager. We outline this tool, describe its implementation, and show that npm-filter has already been useful in developing evaluation suites for multiple JavaScript tools.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源