Branch Coverage

blib/lib/Math/Telephony/ErlangB.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
35 42 5981 if $servers <= 2
41 17681 20281 if (&$cost($servers) > 0) { }
64 105175 99792 if (&$cond($traffic)) { }
84 8 6033 unless defined $traffic and $traffic >= 0 and defined $servers and $servers >= 0 and int $servers == $servers
89 5 6028 unless $traffic > 0
90 5 6023 unless $servers > 0
101 8 6033 unless defined $traffic and $traffic >= 0 and defined $gos and $gos >= 0 and $gos <= 1
106 5 6028 unless $traffic > 0 and $gos < 1
107 5 6023 unless $gos > 0
117 6 6038 unless defined $servers and $servers >= 0 and int $servers == $servers and defined $gos and $gos >= 0 and $gos <= 1
123 10 6028 unless $servers > 0 and $gos > 0
124 4 6024 unless $gos < 1
126 3 6021 unless defined $prec
127 1 6023 unless $prec > 0