line |
!l |
l&&!r |
l&&r |
condition |
216
|
0 |
0 |
0 |
ref $_[0] and &reftype($_[0]) eq 'CODE' |
248
|
0 |
0 |
1 |
defined $o and $o ne '' |
299
|
0 |
0 |
1 |
defined $s and $s ne '' |
357
|
0 |
1 |
0 |
$self->{'feature'}{'format_suffix'} and $self->{'special'}{'format'} |
360
|
0 |
1 |
0 |
$self->{'feature'}{'doc_paths'} and $self->{'special'}{'document'} |
383
|
1 |
0 |
0 |
$INC{'Template.pm'} and not defined $self->templating_plugin |
421
|
0 |
1 |
0 |
defined $self->{'templating_plugin'} and $self->{'templating_plugin'} ne 'Web::DataService::Plugin::Templating' |
511
|
0 |
1 |
0 |
$INC{'Dancer.pm'} and $INC{'Dancer/Plugin/Database.pm'} |
|
1 |
0 |
0 |
$INC{'Dancer.pm'} and $INC{'Dancer/Plugin/Database.pm'} and not defined $self->backend_plugin |
554
|
0 |
0 |
1 |
defined $title and $title ne '' |
598
|
0 |
0 |
1 |
$self->{'doc_suffix'} and $self->{'doc_index'} |
644
|
0 |
0 |
4 |
defined $param and $param ne '' |
675
|
1 |
0 |
0 |
$self->{$plugin}->can('initialize_plugin') and not ${"$self->{$plugin}::_INITIALIZED";} |
681
|
0 |
1 |
0 |
defined $self->{$plugin} and $self->{$plugin}->can('initialize_service') |
700
|
1 |
0 |
0 |
defined $FOUNDATION and defined $plugin_module |
|
1 |
0 |
0 |
defined $FOUNDATION and defined $plugin_module and $plugin_module ne $FOUNDATION |
739
|
0 |
0 |
1 |
$FOUNDATION->can('initialize_plugin') and not ${"${FOUNDATION}::_INITIALIZED";} |
745
|
0 |
1 |
0 |
ref $self eq 'Web::DataService' and $FOUNDATION->can('initialize_service') |
763
|
0 |
0 |
12 |
defined $param and $param ne '' |
816
|
0 |
0 |
2 |
defined $name and not ref $name |
|
0 |
0 |
2 |
defined $name and not ref $name and $name =~ qr/ ^ [\w][\w.:-]* $ /sx |
848
|
0 |
0 |
0 |
defined $prefix and $prefix ne '' |
885
|
0 |
0 |
0 |
defined $key and $KEY_MAP{$key} |
905
|
0 |
0 |
0 |
defined $key and $key ne '' |
929
|
0 |
0 |
0 |
defined $ds->{'path_re'} and $path =~ /$ds->{'path_re'}/ |
938
|
0 |
0 |
0 |
$FOUNDATION->get_http_method eq 'OPTIONS' and $path eq '*' || $path eq '/*' |
1058
|
1 |
0 |
0 |
$mode eq 'debug' and $DEBUG |
1059
|
1 |
0 |
0 |
$mode eq 'one_request' and $ONE_REQUEST |
1060
|
1 |
0 |
0 |
$mode eq 'late_path_check' and $CHECK_LATER |
1061
|
1 |
0 |
0 |
$mode eq 'quiet' and $QUIET |
1062
|
0 |
1 |
0 |
$mode eq 'diagnostic' and $DIAGNOSTIC |
1131
|
0 |
0 |
0 |
do {
ref $attrs ne 'HASH'
} && do {
croak("generate_site_url: the argument must be a hashref or a string\n")
} |
1133
|
0 |
0 |
0 |
defined $attrs and $attrs ne '' |
|
0 |
0 |
0 |
defined $attrs and $attrs ne '' and $attrs ne '/' |
1144
|
0 |
0 |
0 |
$arg ne 'path' and $path =~ qr/ (.*) [.] ([^.]+) $ /x |
1178
|
0 |
0 |
0 |
do {
$path =~ qr/ (.*) [.] ([^.]+) $ /x if not $attrs->{'path'}
} && do {
$path = $1;
$format = $2
} |
1189
|
0 |
0 |
0 |
defined $format && $format eq 'pod' |
|
0 |
0 |
0 |
$attrs->{'node'} and not defined $format && $format eq 'pod' |
1199
|
0 |
0 |
0 |
$self->{'special'}{'format'} and $p =~ qr/ ^ $self->{'special'}{'format'} = \S /x |
1200
|
0 |
0 |
0 |
$self->{'special'}{'selector'} and $p =~ qr/ ^ $self->{'special'}{'selector'} = \S /ox |
1238
|
0 |
0 |
0 |
$attrs->{'node'} and $path ne '/' |
1260
|
0 |
0 |
0 |
$attrs->{'node'} and $path ne '/' |
1269
|
0 |
0 |
0 |
$self->{'special'}{'format'} and not $has_format |
|
0 |
0 |
0 |
$self->{'special'}{'format'} and not $has_format and not $attrs->{'path'} |
1274
|
0 |
0 |
0 |
$attrs->{'node'} and $format |
|
0 |
0 |
0 |
$attrs->{'node'} and $format and $format ne 'html' |
1292
|
0 |
0 |
0 |
$self->{'special'}{'selector'} and not $has_selector |
1364
|
0 |
0 |
0 |
defined $title and $title ne '' |
1470
|
0 |
0 |
0 |
defined $primary_role and $primary_role ne '' |
1567
|
0 |
0 |
0 |
$primary_role and not %{"${primary_role}::";} |
1666
|
0 |
0 |
0 |
defined $key and $key ne '' |
1681
|
0 |
0 |
0 |
defined $key and $key ne '' |
line |
l |
!l&&r |
!l&&!r |
condition |
312
|
0 |
9 |
0 |
$self->{'special'}{$p} //= $SPECIAL_PARAM{$p} |
406
|
1 |
0 |
0 |
$QUIET or $ENV{'WDS_QUIET'} |
447
|
0 |
0 |
0 |
$QUIET or $ENV{'WDS_QUIET'} |
480
|
0 |
0 |
0 |
$self->{'doc_defs'} //= $self->check_doc("doc_defs$doc_suffix") |
481
|
0 |
0 |
0 |
$self->{'doc_header'} //= $self->check_doc("doc_header$doc_suffix") |
482
|
0 |
0 |
0 |
$self->{'doc_footer'} //= $self->check_doc("doc_footer$doc_suffix") |
483
|
0 |
0 |
0 |
$self->{'doc_default_template'} //= $self->check_doc("doc_not_found$doc_suffix") |
484
|
0 |
0 |
0 |
$self->{'doc_default_op_template'} //= $self->check_doc("doc_op_template$doc_suffix") |
895
|
0 |
0 |
0 |
not defined $path or $path eq '' |
|
0 |
0 |
0 |
not defined $path or $path eq '' or $path eq '/' |
938
|
0 |
0 |
0 |
$path eq '*' || $path eq '/*' |
1018
|
0 |
0 |
0 |
$QUIET or $ENV{'WDS_QUIET'} |
1474
|
0 |
0 |
0 |
$primary_role eq 'DOC' or %{"${primary_role}::";} |
1648
|
0 |
0 |
0 |
$DEBUG or $self->{'DEBUG'} |