Branch Coverage

blib/lib/Data/VString.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
132 2 38 unless defined $vs and _is_vstring($vs)
150 0 3 unless $vs
195 3 6 if (/^(\d+([._]\d+)*)$/)
196 2 1 if _vstring_cmp($vs, '==', $1)
199 4 2 if (/^([=!<>]=|[<>])(\d+([._]\d+)*)$/)
200 4 0 if _vstring_cmp($vs, $1, $2)
203 2 0 if (/^(\d+([._]\d+)*)\.\.(\d+([._]\d+)*)$/)
204 2 0 if _vstring_cmp($1, '<=', $vs) and _vstring_cmp($vs, '<=', $3)
208 0 0 if carp("bad predicate $_")
256 0 3 unless $v1
258 0 3 unless (exists $cmp{$op})
263 0 3 unless $v2