Branch Coverage

blib/lib/App/Yabsm/Snapshot.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
118 163 14 if ($opts{'ALLOW_BOOTSTRAP'})
121 3 174 if ($opts{'ONLY_BOOTSTRAP'})
127 11 166 unless my(@date_nums) = $snapshot_name =~ /$rx/u
129 3 163 unless nums_denote_valid_date(@date_nums)
141 6 158 unless (is_snapshot_name(@_))
165 0 0 unless (is_btrfs_subvolume($snapshot))
169 0 0 unless (is_snapshot_name(basename($snapshot), "ALLOW_BOOTSTRAP", 1))
234 2 1 wantarray ? :
255 31 133 if $nums1[$i] > $nums2[$i]
256 27 106 if $nums1[$i] < $nums2[$i]