| blib/lib/Nagios/Report.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 59 | 10.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 290 | 5 | 0 | 0 | $pre_filter and ref $pre_filter ne 'CODE' |
| 322 | 0 | 0 | 5 | $source_tag and $data |
| 460 | 0 | 0 | 0 | $these_fields and ref $these_fields ne 'ARRAY' |
| 463 | 0 | 0 | 0 | $select_these and ref $select_these ne 'CODE' |
| 466 | 0 | 0 | 0 | $this_order and ref $this_order ne 'CODE' |
| 469 | 0 | 0 | 0 | $alter and ref $alter ne 'CODE' |
| 906 | 0 | 0 | 0 | $user and $pass |
| 1115 | 0 | 0 | 0 | exists $$chart{'template'} and $$chart{'template'} |
| 0 | 0 | 0 | exists $$chart{'template'} and $$chart{'template'} and -e $$chart{'template'} | |
| 0 | 0 | 0 | exists $$chart{'template'} and $$chart{'template'} and -e $$chart{'template'} and -s $$chart{'template'} |
| line | l | !l | condition |
|---|---|---|---|
| 293 | 0 | 5 | $pre_filter ||= sub { 1; } |
| 354 | 0 | 5 | $$me{'FIELDNAMES'} ||= [@fieldnames = split(/,\s+/, $schema, 0)] |
| 356 | 0 | 5 | $$me{'FIELDS'} ||= {%fields} |
| 472 | 0 | 0 | $these_fields ||= [] |
| 473 | 0 | 0 | $select_these ||= sub { 1; } |
| 474 | 0 | 0 | $this_order ||= sub { my(%f) = @_; $$a[$f{'HOST_NAME'}] cmp $$b[$f{'HOST_NAME'}]; } |
| 579 | 0 | 0 | $excel_filename || './Nagios_Avail.xls' |
| 675 | 0 | 0 | $field_width ||= 15 |
| 676 | 0 | 0 | $fields_per_line ||= 7 |
| 1049 | 0 | 0 | $rep_period ||= '24x7' |
| 1061 | 0 | 0 | $rep_period ||= '24x7' |
| 1124 | 0 | 0 | $$chart{'title'} ||= 'Chart 24x7' |
| 1125 | 0 | 0 | $$chart{'link'} ||= '=24x7!A1' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 404 | 0 | 5 | 0 | ref $class || $class |