Node cli utility for analyzing project complexity structure
npm install project-analyzer!codeQL!CI!Compliation!CodeCoverage
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
---
Minimal node version
To install Project Analyzer, simply run the following command:
```
npm i -g project-analyzer
Once installed, you can execute Project Analyzer in any folder to analyze the complexity and statistics of your codebase.
``
projectAnalyzer
`bash
Usage: projectAnalyzer [options]
Options:
-h, --help display help for command
-p, --path
-o, --output
`
---
- Code complexity scoring
- Codebase statistics
Project Analyzer does not require any authentication. It analyzes your codebase locally without the need for any external services.
`yml
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]