Stream/Event/Channel.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Stream/Event/AfterTouch.pm ↑ Summary Stream/Event/ControlChange.pm »
1 13 ▶use v5.26;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 13 ▶use Feature::Compat::Class;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # ABSTRACT: MIDI channel event base class
6 #
7  
8 package MIDI::Stream::Event::Channel;
9 13 ▶class MIDI::Stream::Event::Channel :isa( MIDI::Stream::Event );
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 13 our $VERSION = '0.006';
12  
13  
14 13 field $channel :reader;
15  
16 132 ▶ADJUST {
Subroutine __ANON__: called CC=1 SCAR=0.0
17 132 $channel = $self->message->[0] & 0x0f;
18 }
19  
20 13 1;
21  
22 __END__
« Stream/Event/AfterTouch.pm ↑ Summary Stream/Event/ControlChange.pm »