blib/lib/Socialtext/EditPage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 22 | 50.0 |
line | l | !l | condition |
---|---|---|---|
110 | 2 | 13 | delete $args{'tags'} || [] |
258 | 2 | 13 | $$self{'rester'}->workspace || '' |
265 | 15 | 0 | $ENV{'EDITOR'} || '/usr/bin/vim' |
299 | 6 | 0 | shift() || '' |
354 | 17 | 0 | $content || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
54 | 14 | 0 | 0 | $opts{'rester'} ||= 'Socialtext::Resting::DefaultRester'->new(%opts) |
146 | 0 | 1 | 0 | $edit_summary ||= $args{'summary_callback'}() |
214 | 1 | 0 | 0 | delete $opts{'tag'} || croak('tag is mandatory') |
352 | 17 | 0 | 0 | $filename ||= 'File::Temp'->new('SUFFIX', '.wiki') |