All notable changes to "solidity-code-metrics" will be documented in this file.
- fix: mdreport prints object promise instead of sha1sum #22
- update: dependencies
- new: fix exception when scoping non logic contracts - #20
- update: dependencies
- new: show deployable contracts - #19
- new: users can provide a scope file - #17
- fixes: crhome rendering issues - #10
- fixes: invalid table markdown - #7
- update: dependencies
- new: CLI glob resolve provided paths
- update: dependencies
- new: CLI option
--html
- generates a standalone html report (default markdown)
- new: added
solidity-code-metrics
command - new: updated solidity-parser, solidity-doppelganger
- new: metrics for
tryCatch
andunchecked
blocks
- update: updated solidity doppelganger/regenerate patterns
- update: solidity parser to 0.13.2
- update: doppelganger to 0.0.5 (updating parser)
- new: metric: external dependencies - lists all external imports.
- imports may be an indicator of the capabilities and code-patterns used in a contract system.
- update: surya to 0.4.2
- fix: IMPORTANT nSLOC metric in the table displayed all normalized source lines (including comments, blank lines) instead of normalized source code lines only. This has been changed with this release.
nSLOC
now displays normalized source-code lines (no comments, blank lines). The new columnnLines
now displays the value that was formerly displayed fornSLOC
. - #3
- fix: add option to disable solidity doppelganger (e.g. for in-browser use of solidity-metrics) - #2
- new: support abstract contracts
- update: solidity-doppelganger to v0.0.4
- updated: surya, solidity parser
- new: solidity-doppelganger detection
- updated: surya to 0.4.1-dev.2
- new: support for solidity
0.6.x
- updated: surya to 0.4.0 #49
- updated:
solidity-parser-diligence
to community maintained@solidity-parser/parser
#53
- first alpha