line |
true |
false |
branch |
48
|
0 |
0 |
unless $time =~ /^\d+$/ |
53
|
0 |
0 |
if $format eq 'cookie' |
84
|
0 |
0 |
if (not $time or lc $time eq 'now') { } |
|
0 |
0 |
elsif ($time =~ /^\d+/) { } |
|
0 |
0 |
elsif ($time =~ /^([+-]?(?:\d+|\d*\.\d*))([mhdMy]?)/) { } |
112
|
2 |
1 |
if (scalar @_) |
114
|
1 |
1 |
if $text =~ /^\s*$/ |
117
|
1 |
2 |
if ($text) { } |
130
|
0 |
3 |
if ($key =~ /^e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855$/i) |
142
|
1 |
2 |
unless $plain =~ /^[[:print:]]+$/s |
159
|
0 |
1 |
unless CheckSidFormat($authkey) and CheckSidFormat($serverkey) |
168
|
0 |
2 |
unless defined $sid |
173
|
2 |
0 |
$sid =~ /^([a-f0-9]{$tlen})$/i ? : |
181
|
0 |
0 |
$url =~ m[((((https?|ftps?|gopher|telnet|nntp)://)|(mailto:|news:))(%[0-9A-Fa-f]{2}|[\-\(\)_\.!\~\*\';/\?:\@\&=\+\$,A-Za-z0-9])+)([\)\.!\';/\?:,][[:blank:]])?$] ? : |
188
|
0 |
0 |
$hostname =~ /^\s*([\w\d\-\_\.\:]+)\s*$/ ? : |
199
|
0 |
0 |
if ($ip =~ /^\s*(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\s*$/) |
205
|
0 |
0 |
unless $1 < 256 |
224
|
0 |
0 |
if ($text) |
226
|
0 |
0 |
if ($lb and $text =~ s/.{$lb}$/'X' x $lb;/e) |