Branch Coverage

lib/Catalyst/Plugin/ErrorCatcher/Email.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
31 0 3 if (exists $$config{'cc'})
49 0 13 unless (defined $config)
54 0 13 unless (defined $$config{'to'})
59 7 6 unless (defined $$config{'from'})
67 6 7 if (defined $$config{'subject'} and $$config{'use_tags'})
76 1 12 unless (defined $$config{'subject'})
82 1 0 if (defined $host)
106 0 1 unless Sys::Hostname::hostname()
108 0 0 unless $$first_frame{'file'}
114 0 1 unless $$first_frame{'line'}
115 0 1 unless $$first_frame{'pkg'}
116 0 1 unless $c->config->{'version'}
117 0 1 unless $c->config->{'name'}
132 0 3 if (exists $$config{'send'}{'type'} and exists $$config{'send'}{'args'})