MikkelHJuul / scc-docker-action

A GitHub Action to quantify lines of code and perform complexity analysis / COCOMO cost estimation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SCC Docker Action

This action counts the lines of code and performs complexity analysis using scc. (https://github.com/boyter/scc)

Inputs

args

Outputs

scc

The lines of ccode.

Example usage

.github/workflows/main.yml

on: [push]

jobs:
  scc_job:
    runs-on: ubuntu-latest
    name: A job to count the lines of code.
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Get the lines of code.
        id: scc
        uses: iryanbell/scc-docker-action@v1.0.1
        with:
          args: ${{ env.workspace }} -i js,go,html,css

About

A GitHub Action to quantify lines of code and perform complexity analysis / COCOMO cost estimation.

License:MIT License


Languages

Language:Dockerfile 80.5%Language:Shell 19.5%