StatusBadge/Render/Plugin/Textile.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/RST.pm ↑ Summary StatusBadge/Plugin/CPAN.pm »
1 #!/usr/bin/perl
2 package WWW::StatusBadge::Render::Plugin::Textile;
3 1 $WWW::StatusBadge::Render::Plugin::Textile::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('!%s(%s)!:%s', $self->img, $self->txt, $self->url, );
11 }
12  
13 1 1;
14 # ABSTRACT: Textile Status Badge renderer
15 # vim:ts=4:sw=4:syn=perl
16  
17 __END__
« StatusBadge/Render/Plugin/RST.pm ↑ Summary StatusBadge/Plugin/CPAN.pm »