Branch Coverage

blib/lib/Plack/App/GraphEasy.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
70 1 4 if ($method eq 'GET') { }
4 0 elsif ($method eq 'POST') { }
94 1 3 unless my $input_text = $req->param('text')
99 0 3 unless ($input_text =~ /[\]\}]$/)
105 0 3 unless ($graph)
108 0 3 if ($parser->error)
118 0 3 if (my $e = $@)
119 0 0 if ($e =~ /layout did not finish in time/)
148 0 0 if ($self->stderr)