Branch Coverage

blib/lib/Rapi/Blog/Util.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
21 0 0 if $_[0] and $_[0] eq 'Rapi::Blog::Util'
30 0 0 if $_[0] and $_[0] eq 'Rapi::Blog::Util'
32 0 0 unless length $ts == 19
35 0 0 unless length $date == 10
36 0 0 unless length $time == 8
40 0 0 unless scalar @d == 3
41 0 0 unless scalar @t == 3
50 0 0 if (my $c = 'RapidApp'->active_request_context)
51 0 0 if $c->can('user') and $c->user and $c->user->linkedRow
57 0 0 if (my $c = 'RapidApp'->active_request_context)
58 0 0 if $c->can('user') and $c->user
65 0 0 if (my $c = 'RapidApp'->active_request_context)
73 0 0 if $_[0] and $_[0] eq 'Rapi::Blog::Util'
74 0 0 unless my $c = shift() || 'RapidApp'->active_request_context
83 0 0 if $cfg->{'strict_mode'}
88 0 0 if $cfg->{'public_key'} and $cfg->{'private_key'} and $c->req->method eq 'POST'
95 0 0 if $_[0] and $_[0] eq 'Rapi::Blog::Util'
96 0 0 unless my $c = shift() || 'RapidApp'->active_request_context
97 0 0 &recaptcha_active($c) ? :
102 0 0 if $_[0] and $_[0] eq 'Rapi::Blog::Util'
105 0 0 unless &recaptcha_active($c)
133 0 0 if ($res->is_success) { }
137 0 0 if ref $success or !1
139 0 0 $success ? :