Branch Coverage

blib/lib/Geo/OSM/Render/Renderer/SVG.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
72 0 1 unless $self->isa('Geo::OSM::Render::Renderer')
87 0 1 unless $self->{'viewport'}->isa('Geo::OSM::Render::Viewport::Clipped')
88 0 1 unless $self->{'projection'}
90 0 1 unless open $self->{'svg_fh'}, '>', $svg_filename
95 0 1 unless $self->{'svg'} = 'SVG'->new('width', $self->{'viewport'}->map_width, 'height', $self->{'viewport'}->map_height)
182 3 1 if $points