blib/lib/Venus/Kind/Utility.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Venus/Undef.pm ↑ Summary blib/lib/Venus/Role/Superable.pm »
1 package Venus::Kind::Utility;
2  
3 119 ▶use 5.018;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 119 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 119 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # IMPORTS
9  
10 119 ▶use Venus::Class 'base', 'with';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 # INHERITS
13  
14 119 base 'Venus::Kind';
15  
16 # INTEGRATES
17  
18 119 with 'Venus::Role::Buildable';
19  
20 # BUILDERS
21  
22 15630 ▶sub build_arg {
Subroutine build_arg: called CC=1 SCAR=0.0
Pod undocumented
23 15630 my ($self, $data) = @_;
24  
25 return {
26 15630 value => $data,
27 };
28 }
29  
30 119 1;
31  
32  
33  
34 =head1 NAME
35  
36 Venus::Kind::Utility - Utility Base Class
37  
38 =cut
39  
40 =head1 ABSTRACT
41  
42 Utility Base Class for Perl 5
43  
44 =cut
45  
46 =head1 SYNOPSIS
47  
48 package Example;
49  
50 use Venus::Class;
51  
52 base 'Venus::Kind::Utility';
53  
54 package main;
55  
56 my $example = Example->new;
57  
58 =cut
59  
60 =head1 DESCRIPTION
61  
62 This package provides identity and methods common across all L<Venus> utility
63 classes.
64  
65 =cut
66  
67 =head1 INHERITS
68  
69 This package inherits behaviors from:
70  
71 L<Venus::Kind>
72  
73 =cut
74  
75 =head1 INTEGRATES
76  
77 This package integrates behaviors from:
78  
79 L<Venus::Role::Buildable>
80  
81 =cut
82  
83 =head1 AUTHORS
84  
85 Awncorp, C<awncorp@cpan.org>
86  
87 =cut
88  
89 =head1 LICENSE
90  
91 Copyright (C) 2022, Awncorp, C<awncorp@cpan.org>.
92  
93 This program is free software, you can redistribute it and/or modify it under
94 the terms of the Apache license version 2.0.
95  
96 =cut
« blib/lib/Venus/Undef.pm ↑ Summary blib/lib/Venus/Role/Superable.pm »