Branch Coverage

blib/lib/Authen/SASL.pm
Criterion Covered Total %
branch 12 32 37.5


line true false branch
21 0 8 unless @_
24 8 0 if /^[:\w]+$/
0 8 /::/ ? :
0 8 unless @Plugins = grep({eval "require $_" if /^[:\w]+$/;} map({/::/ ? $_ : "Authen::SASL::$_";} @_))
31 0 22 @_ % 2 ? :
38 22 0 if ref $opt{'callback'} eq 'HASH'
41 0 22 if exists $opt{'user'}
42 0 22 if exists $opt{'password'}
43 0 22 if exists $opt{'response'}
51 0 44 @_ ? :
58 0 44 if @_ == 1
73 22 0 if (eval "require $pkg" and $pkg->can('client_new'))
85 0 0 if (eval "require $pkg" and $pkg->can('server_new'))
94 0 0 if $$self{'conn'}
101 0 0 if @_
117 0 0 $$self{'conn'} ? :