Branch Coverage

blib/lib/Net/Twitter.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
27 67 0 if ($namespace->has_default)
29 0 67 if (ref $base eq 'CODE')
34 0 67 unless $base
35 0 67 if $name =~ /^[+](.+)$/
43 67 4 unless (ref $_)
62 7 44 if $package->can('meta')
87 4 63 if (ref $t[0] eq 'HASH')
107 0 46 if ref $class
109 0 46 @_ == 1 && ref $_[0] eq 'HASH' ? :
113 10 36 if (defined(my $legacy = delete $args{'legacy'}))
114 0 10 if $traits
117 2 8 $legacy ? :
124 4 42 if ($args{'consumer_key'} and not grep(($_ eq 'AppAuth'), @$traits))
140 5 41 if ($class ne 'Net::Twitter')