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 19 3 if $e - $v > 0
65 44 0 if $e
85 222 31 if $degree > 1
89 5 46 if $vertex1 == $vertex2
90 4 42 if $g->has_edge($vertex1, $vertex2)
108 522 127 if $g->degree($vertex1) < 3
111 410 21 if $g->degree($vertex2) < 3
119 6 16 if $edges_to_remove
131 6 27 if defined $e