Skip to content

Conversation

@cgewecke
Copy link
Member

@cgewecke cgewecke commented Sep 20, 2019

Some notes on the changes in lib/parse.js based on changes btw solidity-parser & parser-antlr

  • InterfaceStatement / LibraryStatement subsumed under ContractDefinition (grammar ref)
  • VariableDeclarationTuple subsumed under VariableDeclarationStatement (grammar ref)
  • MemberExpression renamed to MemberAccess (and suspended pending AST analysis) (ast ref)
  • UnaryExpression renamed to UnaryOperation (and suspended pending AST analysis) (ast ref)

(These are mostly relevant to statement coverage - most people are probably just looking at line.)

Also:

  • Adds a test for invalid istanbul reporters
  • Restores pure/view/library tests as a project

Raises coverage to 99%

@codecov-io
Copy link

codecov-io commented Sep 20, 2019

Codecov Report

Merging #409 into truffle-plugin will increase coverage by 2.26%.
The diff coverage is 100%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           truffle-plugin     #409      +/-   ##
==================================================
+ Coverage           96.78%   99.05%   +2.26%     
==================================================
  Files                  14       14              
  Lines                 654      636      -18     
==================================================
- Hits                  633      630       -3     
+ Misses                 21        6      -15
Impacted Files Coverage Δ
lib/registrar.js 100% <ø> (+4%) ⬆️
lib/parse.js 95.77% <100%> (+8.86%) ⬆️
lib/api.js 100% <100%> (+4.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 635d9bc...38489cc. Read the comment docs.

@cgewecke cgewecke merged commit c8bcca9 into truffle-plugin Sep 20, 2019
@cgewecke cgewecke deleted the chore/improve-coverage branch September 20, 2019 08:35
cgewecke added a commit that referenced this pull request Sep 25, 2019
+ Remove unused code from `lib/parse.js`
+ Add invalid reporter test
+ Remove un-hittable try/catch around backup client load in  API.ganache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants