Skip to content

Commit

Permalink
nsloc and complexity metrics (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaketimothy authored Jun 7, 2023
1 parent 6d75dd9 commit c4baa63
Show file tree
Hide file tree
Showing 3 changed files with 1,553 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ cache_hardhat/
# slither
/crytic_export

# metrics
metrics.html

# env
.env
.env-*
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"coverage": "forge coverage --report lcov && genhtml --branch-coverage --dark-mode -o ./coverage/ lcov.info",
"snapshot": "forge snapshot",
"keccak": "cast keccak",
"metrics": "solidity-code-metrics ./src/**/*.sol --html > metrics.html",
"deployall:testnet": "./script/deployall-testnet.sh",
"upgrade:testnet": "./script/upgrade-testnet.sh",
"deploy:tokenlist:testnet": "./script/deploytokenlist-testnet.sh",
Expand All @@ -43,6 +44,7 @@
"bip39": "^3.1.0",
"dotenv": "^16.0.3",
"pre-commit": "^1.2.2",
"solidity-code-metrics": "^0.0.23",
"ts-node": "^10.9.1",
"typechain": "^8.1.1",
"typescript": "~4.9.3"
Expand Down
Loading

0 comments on commit c4baa63

Please sign in to comment.