Devel/IPerl/Display/SVG.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 78.9% 15 / 19 CC 1 SCAR 3.4
CC
1
Cov
86%
_as_text_plain
2.0
_build_mimetype
2.0
BEGIN
1.0
CRAP 1.4
« Devel/IPerl/Display/JPEG.pm ↑ Summary Devel/IPerl/Plugin/CoreDisplay.pm »
1 package Devel::IPerl::Display::SVG;
2 2 $Devel::IPerl::Display::SVG::VERSION = '0.012';
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 with qw(Devel::IPerl::Display::Role::Displayable Devel::IPerl::Display::Role::MIMESource Devel::IPerl::Display::Role::WebImage);
8  
9 0 ▶sub _as_text_plain {
Subroutine _as_text_plain: not called CC=1 SCAR=6.9
10 0 '[SVG image]', # TODO get dimensions?
11 }
12 0 ▶sub _build_mimetype { 'image/svg+xml' }
Subroutine _build_mimetype: not called CC=1 SCAR=6.9
13  
14 2 1;
15  
16 __END__
« Devel/IPerl/Display/JPEG.pm ↑ Summary Devel/IPerl/Plugin/CoreDisplay.pm »