blib/lib/Moose/Meta/Method/Accessor/Native/Bool/not.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 18 | 18 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Bool::not; | ||||||
2 | our $VERSION = '2.2203'; | ||||||
3 | |||||||
4 | 2 | 2 | 1291 | use strict; | |||
2 | 6 | ||||||
2 | 68 | ||||||
5 | 2 | 2 | 12 | use warnings; | |||
2 | 4 | ||||||
2 | 60 | ||||||
6 | |||||||
7 | 2 | 2 | 11 | use Moose::Role; | |||
2 | 5 | ||||||
2 | 17 | ||||||
8 | |||||||
9 | with 'Moose::Meta::Method::Accessor::Native::Reader'; | ||||||
10 | |||||||
11 | 7 | 7 | 22 | sub _maximum_arguments { 0 } | |||
12 | |||||||
13 | sub _return_value { | ||||||
14 | 7 | 7 | 21 | my $self = shift; | |||
15 | 7 | 16 | my ($slot_access) = @_; | ||||
16 | |||||||
17 | 7 | 63 | return '!' . $slot_access; | ||||
18 | } | ||||||
19 | |||||||
20 | 1; |