blib/lib/jsFind.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 41 | 60.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
430 | 2 | 0 | 2 | $data_codepage and $index_codepage |
line | l | !l | condition |
---|---|---|---|
424 | 1 | 3 | $arg{'index_codepage'} || 'UTF-8' |
453 | 13239 | 0 | shift() || (return) |
456 | 36 | 0 | shift() || (return) |
543 | 0 | 13661 | shift() || \&jsFind::default_cmp |
653 | 2047 | 51 | $where ||= 0 |
764 | 52 | 3 | shift() || 0 |
824 | 32 | 1 | $parent || '_' |
856 | 13239 | 0 | shift() || (return) |
940 | 5583 | 3 | $$d[$i]{$path}{'f'} || 1 |
5586 | 0 | $$d[$i]{$path}{'t'} || 'no title' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
457 | 36 | 0 | 0 | $iconv_l1->convert(decode_entities($data)) || croak("entity decode problem: $data") |
461 | 66 | 0 | 0 | $iconv->convert($text) || $text && carp("convert problem: $text") |
515 | 94 | 9 | 0 | ref $self || $self |
516 | 99 | 4 | 0 | @_ == 3 or @_ == 0 |
854 | 13239 | 0 | 0 | shift() || confess('you should call to_xml as object!') |
876 | 0 | 0 | 1356 | not defined $value or $value < 0 |