Skip to content

sammy-SC/javascript-quality

Repository files navigation

javascript quality

Project structure

  • folder jupyter contains jupyter notebooks used to analyze the data
  • folder sources contains scripts used to load the data from various sources
  • folder sripts contains helper scripts to manage the project

To reproduce this experiment

Following dependencies

  • Postgresql 9.5
  • Python 3.5

Github Archive

Event types

in more details https://developer.github.com/v3/activity/events/types/#pushevent

type explanation
DeleteEvent Represents a deleted branch or tag.
PullRequestReviewCommentEvent Triggered when a comment on a Pull Request's unified diff is created, edited, or deleted (in the Files Changed tab).
GollumEvent Triggered when a Wiki page is created or updated.
ForkEvent Triggered when a user forks a repository.
PublicEvent Triggered when a private repository is open sourced. Without a doubt: the best GitHub event.
IssueCommentEvent Triggered when an issue comment is created, edited, or deleted.
PushEvent Triggered when a repository branch is pushed to. In addition to branch pushes, webhook push events are also triggered when repository tags are pushed.
CreateEvent Represents a created repository, branch, or tag.
PullRequestEvent Triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, or synchronized.
IssuesEvent Triggered when an issue is assigned, unassigned, labeled, unlabeled, opened, edited, closed, or reopened.
CommitCommentEvent Triggered when a commit comment is created.
ReleaseEvent Triggered when a release is published.
WatchEvent The WatchEvent is related to starring a repository, not watching.
MemberEvent Triggered when a user is added as a collaborator to a repository.

Sources

Data sources for more information

Data -> Source

List of what I have been able to get so far

  • stargazers count -> github API
  • forks count -> github API
  • open issues count -> github API
  • size -> github API
  • subsribers count -> github API
  • number of dependencies -> npm API
  • mainteners counter -> npm API
  • contributors counter -> npm API
  • has readme -> npm API
  • has stable release -> npm API
  • has tests -> npm API
  • downloads count -> npm download API
  • has linter -> ?
  • code complexity -> ?
  • issues, how fast they are attended and closed -> github archive
  • commits, frequency and size -> github archive

Trips and tricks from Borovicka and Kordik (10.8.2016)

  • look at popular packages what examine what features makes them popular
  • try to split packages into 2 groups at first and classify what group it belongs to
  • try basic classification algorithms to see whether we will get an improvement over random guessing, 5% to 10% is already a good result
  • a way to split packages would be to look at mean of popularity feature and variance, and have packages that are above and below this
  • they also mentioned that noisy data is expected

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors