Branch Coverage

blib/lib/Specio/Declare.pm
Criterion Covered Total %
branch 86 90 95.5


line true false branch
50 0 844 unless my $name = &_STRINGLIKE(shift())
67 4 1 if @_ % 2
75 4 1 defined $name ? :
78 4 1 if defined $name
86 2 3 if @_ % 2
96 2 3 defined $name ? :
99 2 3 if defined $name
107 7 1 if @_ % 2
116 5 3 unless (keys %p)
117 2 3 if (my $exists = internal_types_for_package($caller)->{$name})
126 5 1 defined $name ? :
3 3 defined $p{'role'} ? :
130 5 1 if defined $name
138 4 1 if @_ % 2
142 4 1 unless (keys %p)
143 1 3 if (my $exists = internal_types_for_package($caller)->{$name})
152 3 1 defined $name ? :
1 3 defined $p{'class'} ? :
156 3 1 if defined $name
164 1 1 if @_ % 2
174 1 1 defined $name ? :
177 1 1 if defined $name
185 7 1 if @_ % 2
189 4 4 unless (keys %p)
190 4 0 if (my $exists = internal_types_for_package($caller)->{$name})
199 3 1 defined $name ? :
4 0 defined $p{'role'} ? :
203 3 1 if defined $name
211 5 1 if @_ % 2
215 3 3 unless (keys %p)
216 2 1 if (my $exists = internal_types_for_package($caller)->{$name})
225 3 1 defined $name ? :
3 1 defined $p{'class'} ? :
229 3 1 if defined $name
237 2 2 if @_ % 2
242 2 2 defined $name ? :
248 2 2 if defined $name
256 3 2 if @_ % 2
261 3 2 defined $name ? :
267 3 2 if defined $name
278 12 886 if exists $p{'where'}
279 0 898 if exists $p{'message'}
280 815 83 if exists $p{'inline'}
292 6 10 if exists $p{'using'}
293 3 13 if exists $p{'inline'}