to the number of control statements.
https://ethereum.stackexchange.com/questions/122516/what-is-the-branch-column-for-in-solidity-coverage
The problem is, I have 3 control statements and each of them are covered at least twice.
All conditions for each of the 3 are tested.
Any idea where the remaining branch % may come from?
It seems like you don’t have tests for “else” statement, only for if. It will be better to see your code snippet
Обсуждают сегодня