Branch Coverage

blib/lib/Graph/Undirected/Hamiltonicity/Spoof.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
43 1 24 unless defined $v and $v
44 1 23 if $v == 2
48 1 22 if $e < $v
52 20 2 if $e - $v > 0
65 44 0 if $e
85 220 33 if $degree > 1
89 5 45 if $vertex1 == $vertex2
90 3 42 if $g->has_edge($vertex1, $vertex2)
108 904 96 if $g->degree($vertex1) < 3
111 332 16 if $g->degree($vertex2) < 3
119 2 20 if $edges_to_remove
131 6 28 if defined $e