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:
package.json files: 8 (35 deps, 67 dev deps)
unit test files (.spec.ts): 109 (906 cases))
e2e test files (.test.ts, .e2e.ts): 74 (768 cases))
Saved report to: .tmp/output.json
Inspection complete
Code Inspection
birdview inspect --help
Examples:
# generic inspection
birdview inspect <project>
# inspect tests
birdview inspect --tests <project>
# inspect packages
birdview inspect --packages <project>
# inspect tests and packages
birdview inspect --tests --packages <project>
# run all available inspections
birdview inspect --all <project>
# run all available inspections with detailed output
birdview inspect --all --verbose <project>
Generating Reports
For additional processing or visualisation, you can generate full reports in the JSON format by using --output flag:
birdview inspect <project> --all --output output.json
The format of the output is similar to the following example: