0.7.5 • Published 11 months ago

project-analyzer v0.7.5

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

codeQLCICompliationCodeCoverage

Welcome to Project Analyzer, a global npm package that provides code complexity scores and codebase statistics for your projects.

More info on used method to calculate score here


Installation

Minimal node version

Static Badge

To install Project Analyzer, simply run the following command:

npm i -g project-analyzer

Usage

Once installed, you can execute Project Analyzer in any folder to analyze the complexity and statistics of your codebase.

projectAnalyzer

Arguments

Usage: projectAnalyzer [options]

    Options:
        -h, --help            display help for command
        -p, --path <path>     specify the path to the directory to analyze
        -o, --output <output> specify the output file name
        -m, --markdown        output the results in markdown format
        -s, --silent          do not output the results to the console
        -t, --tree            output folder structure as a tree

Features

  • Code complexity scoring
  • Codebase statistics

Authentication

Project Analyzer does not require any authentication. It analyzes your codebase locally without the need for any external services.

CI uses

name: "Test"
on:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest

    permissions:
      # Required to checkout the code
      contents: read
      # Required to put a comment into the pull-request
      pull-requests: write

    steps:
      - uses: actions/checkout@v4
      - name: "Install Node"
        uses: actions/setup-node@v4
        with:
          node-version: "20.x"
      - name: Run project analyzer
        run: npm i -g project-analyzer && projectAnalyzer -m
      - name: Add Project Analysis PR Comment
        uses: marocchino/sticky-pull-request-comment@v2
        if: github.event_name == 'pull_request'
        with:
          recreate: true
          path: analysis.md

Thank you for choosing Project Analyzer for your code analysis needs!


Luke Celitan, Spaceghost

(x/tweeter)https://x.com/SpaceoutPl

0.7.5

11 months ago

0.7.4

11 months ago

0.7.3

11 months ago

0.7.2

11 months ago

0.7.1

11 months ago

0.7.0

11 months ago

0.6.0

11 months ago

0.5.2

11 months ago

0.5.1

11 months ago

0.5.0

11 months ago