Branch Coverage

blib/lib/Plack/Middleware/Matomo.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
23 0 3 unless $request->method =~ /^get$/i
32 1 2 if ($request->path =~ /$p/)
39 1 2 if ($request->path =~ /$p/)
46 1 2 unless $action
69 0 2 if $self->ua
70 0 2 if $self->urlref
72 1 1 if ($action eq 'download')
100 0 0 if ($hdr->{'Status'} =~ /^2/) { }