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.2206'; | ||||||
3 | |||||||
4 | 2 | 2 | 1315 | use strict; | |||
2 | 7 | ||||||
2 | 67 | ||||||
5 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 56 | ||||||
6 | |||||||
7 | 2 | 2 | 11 | use Moose::Role; | |||
2 | 3 | ||||||
2 | 15 | ||||||
8 | |||||||
9 | with 'Moose::Meta::Method::Accessor::Native::Reader'; | ||||||
10 | |||||||
11 | 7 | 7 | 40 | sub _maximum_arguments { 0 } | |||
12 | |||||||
13 | sub _return_value { | ||||||
14 | 7 | 7 | 21 | my $self = shift; | |||
15 | 7 | 18 | my ($slot_access) = @_; | ||||
16 | |||||||
17 | 7 | 71 | return '!' . $slot_access; | ||||
18 | } | ||||||
19 | |||||||
20 | 1; |