Condition Coverage

blib/lib/Web3/Tiny/Util.pm
Criterion Covered Total %
condition 9 15 60.0


and 3 conditions

line !l l&&!r l&&r condition
53 3 0 0 ref $wei && $wei->isa('Math::BigInt')
71 0 0 1 defined $hex and length $hex
78 1 0 0 ref $n && $n->isa('Math::BigInt')

or 2 conditions

line l !l condition
23 5 2 $unit // "ether"
37 3 1 $int_part ||= 0
38 2 2 $frac_part ||= ""