Markdent/Event/EndEmphasis.pm

filter: Statementstmt 95.8% 23 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 100% 1 / 1 totaltotal 93.7% 30 / 32 CC 1 SCAR 1.3
CC
1
Cov
96%
as_text
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Markdent/Event/EndCode.pm ↑ Summary Markdent/Event/EndStrikethrough.pm »
1 package Markdent::Event::EndEmphasis;
2  
3 35 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 35 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 35 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 35 our $VERSION = '0.41';
8  
9 35 ▶use Markdent::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 35 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 35 ▶use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 35 has delimiter => (
15 is => 'ro',
16 isa => t('Str'),
17 required => 1,
18 );
19  
20 35 with(
21 'Markdent::Role::Event' => { event_class => __PACKAGE__ },
22 'Markdent::Role::BalancedEvent' => { compare => ['delimiter'] },
23 'Markdent::Role::EventAsText'
24 );
25  
26 0 ▶sub as_text { $_[0]->delimiter }
Subroutine as_text: not called CC=1 SCAR=6.9
Pod documented
27  
28 35 __PACKAGE__->meta->make_immutable;
29  
30 35 1;
31  
32 # ABSTRACT: An event for the end of an emphasis span
33  
34 __END__
« Markdent/Event/EndCode.pm ↑ Summary Markdent/Event/EndStrikethrough.pm »