Count Lines of Code (cloc)
cloc ./src
# OUTPUT
16 text files.
16 unique files.
0 files ignored.
github.com/AlDanial/cloc v 2.00 T=0.02 s (917.5 files/s, 144913.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Solidity 16 335 837 1355
-------------------------------------------------------------------------------
SUM: 16 335 837 1355
-------------------------------------------------------------------------------
VCS Solidity Metrics Report
Use Docker to avoid Python dependency issues.
docker pull trailofbits/eth-security-toolbox
docker run -it -v <PATH_TO_PROJECT_ROOT>:/share trailofbits/eth-security-toolbox
Slither commands inside container
slither . # Run on all files
slither src/AavePM.sol # Run on specific files
curl -L https://raw.githubusercontent.com/Cyfrin/aderyn/dev/cyfrinup/install | bash