blib/lib/Term/Fabulous/Event/ValidityChange.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Term::Fabulous::Event::ValidityChange;
2  
3 use v5.32;
4 use warnings;
5 use feature 'signatures';
6 no warnings 'experimental::signatures';
7  
8 our $VERSION = '0.05';
9  
10 use Object::Pad 0.825;
11  
12 use Clay::UI::Events::Event;
13  
14 class Term::Fabulous::Event::ValidityChange :isa(Clay::UI::Events::Event) :strict(params) {
15 field $is_valid :param :reader;
16 field $error :param :reader = undef;
17  
18 method event_name :common { 'ValidityChange' }
19 }
20  
21 1;
22  
23 __END__