We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.SE

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Software Engineering

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

Abstract: 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.
Comments: 5 pages. To appear in In 19th International Conference on Mining Software Repositories (MSR '22), May 23-24, 2022, Pittsburgh, PA, USA
Subjects: Software Engineering (cs.SE)
DOI: 10.1145/3524842.3528021
Cite as: arXiv:2201.08452 [cs.SE]
  (or arXiv:2201.08452v4 [cs.SE] for this version)

Submission history

From: Ellen Arteca [view email]
[v1] Thu, 20 Jan 2022 20:54:08 GMT (45kb)
[v2] Wed, 26 Jan 2022 20:45:41 GMT (45kb)
[v3] Wed, 23 Mar 2022 02:09:12 GMT (46kb)
[v4] Wed, 30 Mar 2022 01:43:00 GMT (46kb)

Link back to: arXiv, form interface, contact.