BirdView
Command-line utilities to gather statistics for the Angular projects.
Installing
Install Rust and Cargo
https://doc.rust-lang.org/cargo/getting-started/installation.html
# with Cargo
cargo install birdview
# and then
birdview --help
Basic Usage
cd <path-to-project>
birdview inspect . --all
Gives an output similar to the following:
Packages
├── Files: 32
├── Dependencies: 145
└── Dev dependencies: 104
Unit Tests
├── Cases: 5635
└── Files: 452
E2E Tests
├── Cases: 928
└── Files: 168
Angular
├── Module: 149
├── Component: 415
├── Directive: 58
├── Service: 181
├── Pipe: 23
└── Dialog: 8
Project Files
├── HTML: 379
├── SCSS: 536
├── CSS: 33
├── TypeScript: 5125
├── JavaScript: 301
├── JSON: 548
└── Markdown: 497
Inspection complete
Code Inspection
birdview inspect --help
Available Inspectors
package.jsonfiles (--packages)- unit and e2e tests (
--tests) - angular elements (
--angular) - markdown files (
--markdown)
Examples:
# run all available inspections
birdview inspect --all <project>
# inspect tests
birdview inspect --tests <project>
# inspect packages
birdview inspect --packages <project>
# inspect tests and packages
birdview inspect --tests --packages <project>
Generating Reports
birdview inspect <project> --all --output <path>
You can generate reports using multiple templates, based on the output extension:
.html: single-page HTML report.json: raw JSON report
HTML Report
# generate report as output.html
birdview inspect <project> --all --output output.html
# generate report as output.html and open with the default browser
birdview inspect <project> --all --output output.html --open
Provides an output that is similar to the following one:

JSON Report
birdview inspect <project> --all --output output.json
The format of the output is similar to the following example: