Skip to content

Commit

Permalink
prepare v0.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
tintinweb committed Jan 8, 2021
1 parent 45bb421 commit 80191c0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log
All notable changes to the "solidity-visual-auditor" extension will be documented in this file.

## v0.0.16
- 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.

![image](https://user-images.githubusercontent.com/2865694/103999393-1e008d00-519d-11eb-9ccd-77e1387781b1.png)

## v0.0.15
- update: surya to 0.4.2

Expand Down
15 changes: 5 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solidity-code-metrics",
"version": "0.0.15",
"version": "0.0.16",
"description": "Solidity Code Metrics",
"main": "src/index.js",
"scripts": {
Expand All @@ -27,7 +27,7 @@
"dependencies": {
"@solidity-parser/parser": "^0.11.0",
"sloc": "^0.2.1",
"solidity-doppelganger": "0.0.4",
"solidity-doppelganger": "0.0.5",
"surya": "^0.4.2"
}
}
1 change: 1 addition & 0 deletions src/metrics/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ This section lists functions that are explicitly declared public or payable. Ple
|==========================|========|
${Object.keys(totals.totals.ast)
.filter(k => k.startsWith("ImportDirective:Path:"))
.sort()
.map(ki => `| ${ki.replace("ImportDirective:Path:","")} | ${totals.totals.ast[ki]} |`)
.join("\n")
}
Expand Down

0 comments on commit 80191c0

Please sign in to comment.