| blib/lib/HTML/FromANSI/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 24 | 28 | 85.7 | 
| line | true | false | branch | 
|---|---|---|---|
| 36 | 5 | 30 | @_ == 1 ? : | 
| 40 | 33 | 2 | unless $$self{'ansi_parser'} | 
| 42 | 34 | 1 | unless $$self{'html_encode'} | 
| 74 | 9 | 0 | wantarray ? : | 
| 101 | 7 | 3 | unless $$self{'styles'} | 
| 115 | 30 | 1 | unless ref $text eq 'ARRAY' | 
| 121 | 2 | 29 | $$self{'inline_style'} ? : | 
| 130 | 9 | 77 | $$self{'no_plain_tags'} && !@$attr ? : | 
| 134 | 8 | 69 | $$self{'inline_style'} ? : | 
| 140 | 7 | 24 | wantarray ? : | 
| 146 | 3 | 83 | if $$self{'html_encode'} | 
| 155 | 1 | 0 | wantarray ? : | 
| 164 | 0 | 1 | unless @_ | 
| 171 | 0 | 1 | unless grep {$arg eq $_;} @EXPORT_OK |