Branch Coverage

blib/lib/Monkey/Patch/Action.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
18 0 22 unless $action
19 5 17 if ($action eq 'delete') { }
20 1 4 if $code
22 0 17 unless $code
27 4 17 if ($action eq 'add') { }
2 15 elsif ($action eq 'replace') { }
2 13 elsif ($action eq 'add_or_replace') { }
8 5 elsif ($action eq 'wrap') { }
4 1 elsif ($action eq 'delete') { }
28 1 3 if defined &$name
31 1 1 unless defined &$name
36 1 7 unless defined &$name