Branch Coverage

blib/lib/Stancer/Config.pm
Criterion Covered Total %
branch 44 44 100.0


line true false branch
90 8 15 if (scalar @args == 1)
91 1 7 if (ref $args[0] eq 'ARRAY') { }
98 11 12 if (@data)
104 4 12 if $prefix eq "pprod"
105 4 12 if $prefix eq "ptest"
106 4 12 if $prefix eq "sprod"
107 4 12 if $prefix eq "stest"
111 7 13 if defined $this->pprod
112 7 13 if defined $this->ptest
113 7 13 if defined $this->sprod
114 7 13 if defined $this->stest
156 2 7 if ($this->is_live_mode)
161 3 6 unless defined $key
179 2 118 if ($this->is_live_mode)
184 2 118 unless defined $key
214 2 145 if ($this->port)
247 13 474 if ($self and $self ne __PACKAGE__)
253 468 19 if (scalar @args == 0)
257 16 3 if (scalar @args == 1) { }
258 3 13 if (ref $args[0] eq 'HASH') { }
276 6 129 if $this->mode eq "live"
283 4 2 if $this->mode eq "test"