Hey,
in Java when the coverage is calculated it also checks if only one and
or or
statement in an if is called.
Currently as far as I can see this is not the case for solifidy coverage.
function check(string typeString, uint8 currentType)
private
pure
returns (bool)
{
return
(mapType(typeString, 2) == currentType && mapType(typeString, 4) == currentType ) ||
(mapType(typeString, 1) == currentType && mapType(typeString, 3) == currentType);
}
This is satisfied if it returns true and false once, even it has not been triggered with all possible combinations.
Maybe this is also just not displayed in the html report.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4