Branch Coverage

blib/lib/WebService/Mattermost/V4/API/Response.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
67 0 34 if ($self->_looks_like_json($self->raw_content))
81 0 40 $inp && $inp =~ /^[\{\[]/ ? :
91 4 0 if (scalar @{$self->items;})
103 6 0 if ($self->item_view)
104 0 6 ref $self->content eq 'ARRAY' ? :
112 0 6 if ($self->_looks_like_json($_)) { }
115 6 0 if $_
119 0 6 if ($items[0]{'status_code'} and $items[0]{'status_code'} != 200) { }