line |
true |
false |
branch |
52
|
1 |
4 |
unless open $FD, "<$configFile" |
63
|
16 |
23 |
unless $line =~ /\S/ |
65
|
4 |
19 |
if ($line =~ /^onerror/i) |
70
|
5 |
14 |
if ($line =~ /^check/i) |
75
|
14 |
0 |
if ($line =~ m[^(ftp|http|file)://]i) |
109
|
2 |
0 |
if ($config{'default'}{'onError'}{'console'}) |
113
|
0 |
2 |
if ($config{'default'}{'onError'}{'mailto'}) |
125
|
0 |
0 |
unless Mail::Sendmail::sendmail(%mail) |
139
|
1 |
2 |
unless (@errors) |
156
|
0 |
11 |
unless $line =~ /^onerror\.(.+?)=(.+)/i |
161
|
2 |
9 |
if ($errorCat eq 'mailto') |
167
|
8 |
1 |
if ($errorCat eq 'console') |
178
|
0 |
5 |
unless $line =~ /^check\.(.+?)=(.+)/i |
183
|
3 |
2 |
if ($cat eq 'contains') |
218
|
2 |
8 |
unless ($content) |
229
|
1 |
7 |
if (exists $urlConfig{'check'}{'overtime'} and $urlConfig{'check'}{'overtime'} < $dtime) |
237
|
2 |
5 |
if (exists $urlConfig{'check'}{'contains'}) |
240
|
1 |
1 |
if (index($content, $_) < 0) |