Code Monkey home page Code Monkey logo

npm-badges's Introduction

npm-badges

Signals Mostly Reliable

Appendices, data sets, and R scripts for:

"Adding Sparkle to Social Coding: An Empirical Study of Repository Badges in the npm Ecosystem."
Asher Trockman, Shurui Zhou, Christian Kästner, and Bogdan Vasilescu.
In Proceedings of the International Conference on Software Engineering, ICSE, ACM (2018).

R scripts

You can run the R scripts on the CSV files in the repository to estimate the different regression models we report on in the paper.

Before you run

Make sure you have R installed. We tested this on R 3.3.2.

We require the following dependencies: lme4, lmerTest, MuMIn, car, MASS, effects, effsize, sqldf, MASS, pROC, plyr, beanplot, RColorBrewer, ggplot2.

It may be necessary to change the Pandoc environment variable in make.R: the required path can be found by running Sys.getenv("RSTUDIO_PANDOC") in RStudio. If you are using OS X with an existing RStudio installation, this step is probably not needed.

Run using make

You can run make from the root folder to generate appendix.pdf.

Run from R

You can also run make.R directly from R by setting the working directory to this repository with setwd('/path') and running source('make.R').

If you want to change something and rebuild the appendix, it is most efficient to run source('make.R') from an existing R session. The script will detect that the data has already been loaded into memory and processed, preventing this time-consuming step from happening again.

Notes

Some data sets have been truncated to to meet GitHub's file size limit.

  • data/timeseries_freshness.csv: reduced from 3,294,725 to 47,400 rows, since we only considered projects with non-zero freshness scores in our longitudinal analysis.
  • data/master_info.csv: removed unnecessary columns such as license and author information, which were not used in our study.

npm-badges's People

Contributors

bvasiles avatar ashertrockman avatar

Stargazers

Gregory M. Kapfhammer avatar Ranjan R. Lamichhane avatar Steven avatar Fausto Carvalho Marques Silva avatar Christian Kästner avatar

Watchers

James Cloos avatar  avatar Bob Downs avatar

Forkers

shuiblue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.