Branch Coverage

blib/lib/Dancer/Plugin/Facebook.pm
Criterion Covered Total %
branch 5 26 19.2


line true false branch
21 0 1 if ($config{'raw_postback'})
32 0 1 if (my $access_token = session()->{'auth'}{'facebook'})
44 0 0 ref $$settings{'permissions'} eq 'ARRAY' ? :
68 0 0 unless $url
102 0 1 if (ref $$settings{'application'} eq 'HASH')
104 0 0 unless $config{'app_id'} = $$settings{'application'}{'app_id'}
105 0 0 unless $config{'secret'} = $$settings{'application'}{'secret'}
113 0 1 if (defined $fb)
115 0 0 if (defined session()->{'auth'}{'facebook'}) { }
116 0 0 if ($fb->has_access_token) { }
117 0 0 if ($fb->access_token ne session()->{'auth'}{'facebook'})
126 0 0 if ($fb->has_access_token)
135 0 1 if ($url)