Condition Coverage

blib/lib/Pandoc/Metadata.pm
Criterion Covered Total %
condition 20 33 60.6


and 3 conditions

line !l l&&!r l&&r condition
161 6 1 8 $_[1] && $_[1] ne 'false' && $_[1] ne 'FALSE'

or 2 conditions

line l !l condition
81 0 0 $opts{'pointer'} //= ''
125 5 0 $opts{'_error'} //= 'default'
144 0 6 (($pointer // $opts{'_pointer'}) // $opts{'pointer'}) // ''
174 3 11 $opts{'boolean'} // ''
215 0 32 $opts{'element'} // !1
231 2 3 $opts{'element'} // !1

or 3 conditions

line l !l&&r !l&&!r condition
81 0 0 0 $opts{'_full_pointer'} //= ($opts{'pointer'} //= '')
161 0 0 $opts{'_pointer'} //= ($opts{'_full_pointer'} //= ($opts{'pointer'} //= ''))
82 161 0 0 $opts{'_pointer'} =~ /$valid_pointer_re/ // _bad_pointer(%opts, '_error', 'pointer')
144 105 34 170 $pointer // $opts{'_pointer'}
198 0 6 ($pointer // $opts{'_pointer'}) // $opts{'pointer'}
145 198 103 8 $opts{'_full_pointer'} //= $opts{'_pointer'}