User should run ./run install
, then either ./run build
-> ./run file_name
to run the program or ./run tests
to run tests.
Installs rustup if not found. Then, installs llvm tools (unless on eceprog).
Builds the binary
Runs internal tests. Reports test cases passed and line coverage of tests.
For file, each line should contain one URL. The command reads the URLs, calculates metrics, then prints sorted output to stdout.
GitHub URLs and Npm package URLs that are hosted on GitHub are supported.
For Part 2 of the project we implemented two new metrics.
This metric tests the fraction of dependencies that are pinned to at least a specific major+minor vesion of a package.
This metric tests the fraction of project code that was introduced through pull requests with a code review.
For part 2 we also updated our Github repository to be both a binary and library. To incorporate a connection with our REST-ful API, we set up the Github as a library with the addition of a lib.rs file. For use with the Python Flask API we created a submodule in a new repository to access the library.