StatusBadge/Render/Plugin/AsciiDoc.pm

filter: Statementstmt 80.0% 8 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 71.4% 10 / 14 CC 1 SCAR 2.9
CC
1
Cov
80%
render
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« StatusBadge/Render/Plugin/POD.pm ↑ Summary StatusBadge/Render/Plugin/HTML.pm »
1 #!/usr/bin/perl
2 package WWW::StatusBadge::Render::Plugin::AsciiDoc;
3 1 $WWW::StatusBadge::Render::Plugin::AsciiDoc::VERSION = '0.0.2';
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 0 ▶sub render {
Subroutine render: not called CC=1 SCAR=6.9
Pod undocumented
8 0 my $self = shift;
9  
10 0 return sprintf(
11 'image:%s["%s", link="%s"]', $self->img, $self->txt, $self->url,
12 );
13 }
14  
15 1 1;
16 # ABSTRACT: AsciiDoc Status Badge renderer
17 # vim:ts=4:sw=4:syn=perl
18  
19 __END__
« StatusBadge/Render/Plugin/POD.pm ↑ Summary StatusBadge/Render/Plugin/HTML.pm »