Condition Coverage

blib/lib/GraphQL/Client.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
30 9 0 4 $variables && %$variables

or 2 conditions

line l !l condition
25 1 12 &reftype($operation_name) || ''
107 10 3 $self->{'unpack'} //= 0
148 2 0 $_[1] || 'Something happened'

or 3 conditions

line l !l&&r !l&&!r condition
93 13 3 0 $self->{'transport'} //= do { my $class = $self->_autodetermine_transport_class; eval { do { &load($class) } }; if (my $err = $@ or not $class->can("execute")) { $err ||= "Loaded $class, but it doesn't look like a proper transport.\n"; warn $err if $ENV{'GRAPHQL_CLIENT_DEBUG'}; _croak(qq[Failed to load transport for "$class"]); } ; $class->new(%$self) }
96 1 0 2 my $err = $@ or not $class->can("execute")
97 1 0 0 $err ||= "Loaded $class, but it doesn't look like a proper transport.\n"