XRandR/Screen.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« XRandR/PropertyEDID.pm ↑ Summary XRandR/Types.pm »
1 package X11::XRandR::Screen;
2  
3 # ABSTRACT: A Screen
4  
5 1 ▶use Types::Standard qw[ InstanceOf ];
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Types::Common::Numeric qw[ PositiveOrZeroInt ];
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use X11::XRandR::Types -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use MooX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 our $VERSION = '0.01';
15  
16 #pod =attr id
17 #pod
18 #pod =cut
19  
20 1 has id => (
21 is => 'ro',
22 isa => PositiveOrZeroInt,
23 required => 1,
24 );
25  
26 #pod =attr min_dim
27 #pod
28 #pod =attr max_dim
29 #pod
30 #pod =attr cur_dim
31 #pod
32 #pod Instances of L<X11::XRandR::Dimension>.
33 #pod
34 #pod =cut
35  
36 has $_ => (
37 is => 'ro',
38 isa => InstanceOf ['X11::XRandR::Dimension'],
39 required => 1,
40 1 ) for qw[ min_dim max_dim cur_dim ];
41  
42  
43 #pod =method to_string
44 #pod
45 #pod Return a string rendition of the object just as B<xrandr> would.
46 #pod
47 #pod =cut
48  
49 1 1;
50  
51 #
52 # This file is part of X11-XRandR
53 #
54 # This software is Copyright (c) 2018 by Diab Jerius.
55 #
56 # This is free software, licensed under:
57 #
58 # The GNU General Public License, Version 3, June 2007
59 #
60  
61 __END__
« XRandR/PropertyEDID.pm ↑ Summary XRandR/Types.pm »