prime-commits

PRIME module to extract commits from VCS

https://github.com/softwaresystemslaboratory/prime-commits

Science Score: 85.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
    Organization softwaresystemslaboratory has institutional domain (ssl.cs.luc.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.7%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

PRIME module to extract commits from VCS

Basic Info
  • Host: GitHub
  • Owner: SoftwareSystemsLaboratory
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 695 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 4
  • Open Issues: 3
  • Releases: 24
Created over 4 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation Zenodo

README.md

PRIME Commits

DOI Release Project

A tool to extract and compute the lines of code (LOC), thousands of lines of code (KLOC), delta lines of code (DLOC), and delta thousands of lines of code (DKLOC) of a Git repository per commit

Table of Contents

About

The Software Systems Laboratory (SSL) GitHub Issue Spoilage Project is a python tool to extract commit information from a git repository.

This project is licensed under the BSD-3-Clause. See the LICENSE for more information.

Developer Tooling

To maximize the utility of this project and the greater SSL Metrics project, the following software packages are required:

Operating System

All tools developed for the greater SSL Metrics project must target Mac OS and Linux. SSL Metrics software is not supported or recommended to run on Windows but can be modified to do so at your own risk.

It is recomendded to develop on Mac OS or Linux. However, if you are on a Windows machine, you can use WSL to develop as well.

Python Tools

  • matplotlib
  • numpy
  • pandas
  • progress
  • python-dateutil
  • scikit-learn

Shell Tools

You will need the following shell software to run this application:

  • git
  • cloc
  • SLOCCount (optional)
  • jq

How To Use

Installation

You can install the tool via pip with either of the two following one-liners:

  • pip install --upgrade pip prime-meta
  • pip install --upgrade pip prime-commits

Command Line Arguements

prime-commits-extract -h

shell options: -h, --help show this help message and exit -d DIRECTORY, --directory DIRECTORY Directory containg the .git folder of the repository to analyze -b BRANCH, --branch BRANCH Branch of the Git repository to analyze. DEFAULT: HEAD -o OUTPUT, --output OUTPUT JSON file to store the data. DEFAULT: ./commits_loc.json --cloc CLOC TXT file containing cloc options. DEFAULT: options.txt. NOTE: This is an internal options file used by the program and doesn't need to be specified/ created by you the user (you)

prime-commits-graph -h

shell options: -h, --help show this help message and exit -i INPUT, --input INPUT JSON export from PRIME Git Commit Exploder. DEFAULT: ./commits_loc.json -o OUTPUT, --output OUTPUT Filename of the graph. DEFAULT: ./commits_loc.pdf -x X Key of the x values to use for graphing. DEFAULT: author_days_since_0 -y Y Key of the y values to use for graphing. DEFAULT: lines_of_code --type TYPE Type of figure to plot. DEFAULT: line --title TITLE Title of the figure. DEFAULT: "" --x-label X_LABEL X axis label of the figure. DEFAULT: "" --y-label Y_LABEL Y axis label of the figure. DEFAULT: "" --stylesheet STYLESHEET Filepath of matplotlib stylesheet to use. DEFAULT: style.mplstyle. NOTE: This is an internal stylesheet used by the program and doesn't need to be specified/ created by you the user (you)

Owner

  • Name: Software and Systems Laboratory
  • Login: SoftwareSystemsLaboratory
  • Kind: organization
  • Email: ssl@cs.luc.edu
  • Location: Loyola University Chicago

Fostering innovation via experimentation and collaboration with an emphasis on openness.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- given-names: George
  family-names: Thiruvathukal
  email: gkt@cs.luc.edu
  affiliation: Loyola University Chicago
  orcid: 'https://orcid.org/0000-0002-0452-5571'
- given-names: Nicholas
  family-names: Synovic
  email: nsynovic@luc.edu
  affiliation: Loyola University Chicago
  orcid: 'https://orcid.org/0000-0003-0413-4594'

title: "SoftwareSystemsLaboratory/prime-commits"
version: 0.11
doi: 10.5281/zenodo.6478197
date-released: 2022-01-26
url: "https://github.com/SoftwareSystemsLaboratory/prime-commits"

GitHub Events

Total
Last Year

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 332
  • Total Committers: 4
  • Avg Commits per committer: 83.0
  • Development Distribution Score (DDS): 0.108
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Nicholas M. Synovic n****c@g****m 296
George K. Thiruvathukal g****t@c****u 28
Matthew Hyatt m****0@g****m 4
Ethan Stoneman e****n@l****u 4
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 10
  • Total pull requests: 29
  • Average time to close issues: 15 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 0.4
  • Average comments per pull request: 0.03
  • Merged pull requests: 28
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • NicholasSynovic (9)
  • gkthiruvathukal (1)
Pull Request Authors
  • NicholasSynovic (26)
  • mhyatt000 (2)
  • estoneman (1)
Top Labels
Issue Labels
documentation (3) bug (1)
Pull Request Labels
enhancement (1)

Dependencies

.github/workflows/release.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • softprops/action-gh-release v1 composite
requirements.txt pypi
  • matplotlib *
  • numpy *
  • pandas *
  • progress *
  • python-dateutil *
setup.py pypi
  • matplotlib *
  • numpy *
  • pandas *
  • progress *
  • python-dateutil *