Branch Coverage: lib/Railsish/ViewHelpers.pm

# Branch Coverage

File: | lib/Railsish/ViewHelpers.pm
Coverage: | 42.9%

line | % | coverage | branch
--- | --- | --- | ---
16 | 0 | T | F | if ($css =~ /^http:/) { }
23 | 0 | T | F | unless -f $file
29 | 0 | T | F | if ($uri)
41 | 100 | T | F | if ($source =~ m[^\w+://]) { }
46 | 100 | T | F | if not $source =~ /\./
47 | 100 | T | F | if not $source =~ m[/]
60 | 50 | T | F | if (@attr == 1 and ref $attr[0] eq 'HASH') { }
| 50 | T | F | elsif (@attr % 2 == 0) { }
67 | 50 | T | F | if (%attr)
69 | 50 | T | F | if ($attr{'method'} and $attr{'method'} eq 'delete')
80 | 50 | T | F | if (my $confirm = delete $attr{'confirm'}) { }
| 50 | T | F | elsif ($js) { }
97 | 0 | T | F | unless $$session{'notice_stickies'}
| 0 | T | F | unless @{[] unless $$session{'notice_stickies'};} > 0