Branch Coverage

blib/lib/Net/Twitter/API.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
39 95 3318 ref $options{'deprecated'} eq ref sub { } ? :
44 67 3346 if @$arg_names == 0 and @{$options{'params'};} == 1
53 218 449 ref $_[-1] eq 'HASH' ? :
57 9 1992 if ref $$args{$_} eq 'ARRAY'
62 1 666 if @_ > @$arg_names
67 0 239 if exists $$args{$param}
73 14 652 if $options{'add_source'}
75 4 662 exists $$args{-'authenticate'} ? :
79 8 609 if (exists $$args{$boolean_arg})
80 0 8 if $$args{$boolean_arg} =~ /^true|false$/
81 3 5 $$args{$boolean_arg} ? :
87 0 666 if exists $$args{'skip_user'} and $$args{'skip_user'} eq 'false'
91 516 150 unless exists $$args{'id'}
92 0 179 unless delete $$args{$1}
115 2777 636 unless $options{'aliases'}
150 0 3413 if @invalid_attributes