Message/Tag/Piconname.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.3% 26 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Message/Tag/Picon.pm ↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package WebService::ChatWork::Message::Tag::Piconname;
4 1 ▶use overload q{""} => \&as_string;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use constant PRIMARY => "account_id";
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Mouse;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 extends "WebService::ChatWork::Message::Tag";
9  
10 1 has account_id => ( is => "ro", isa => "Int" );
11  
12 2 ▶sub as_string {
Subroutine as_string: called CC=1 SCAR=0.0
Pod undocumented
13 2 my $self = shift;
14 2 return sprintf "[piconname:%d]", $self->account_id;
15 }
16  
17 1 1;
« Message/Tag/Picon.pm ↑ Summary