Caca/Event/Key.pm

filter: Statementstmt 87.5% 7 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 81.8% 9 / 11 CC 1 SCAR 4.1
CC
1
Cov
88%
char
2.0
BEGIN
1.0
CRAP 1.5
« Caca/Event/Mouse/Button.pm ↑ Summary Caca/Event/Key/Release.pm »
1 package Term::Caca::Event::Key;
2 3 our $AUTHORITY = 'cpan:YANICK';
3 # ABSTRACT: event generated by a keyboard activity
4 3 $Term::Caca::Event::Key::VERSION = '3.1.0';
5  
6 3 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 extends 'Term::Caca::Event';
8  
9  
10 0 ▶sub char {
Subroutine char: not called CC=1 SCAR=6.9
Pod documented
11 0 return chr Term::Caca::caca_get_event_key_ch( $_[0]->event );
12 }
13  
14 3 1;
15  
16 __END__
« Caca/Event/Mouse/Button.pm ↑ Summary Caca/Event/Key/Release.pm »