Branch Coverage

lib/Dist/Zilla/Plugin/Beam/Connector.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
84 6 2 if ($connector =~ /\Aplugin:(.+?)[#]([^#]+)\z/sx)
87 2 0 if ($connector =~ /\Acontainer:(.+?)[#]([^#]+)\z/sx)
100 4 0 if ($connection_string =~ /\A(.+?)\s*=>\s*(.+?)\z/sx)
113 6 2 if ('plugin' eq $spec->{'type'})
115 6 0 if defined $plugin
119 2 0 if ('container' eq $spec->{'type'})
147 0 4 unless ($emitter_object->can('on'))
150 0 4 unless ($listener_object->can($listen_on))