| 1 | ##---------------------------------------------------------------------------- | ||||||||||
| 2 | ## Meta CPAN API - ~/lib/Net/API/CPAN/Permission.pm | ||||||||||
| 3 | ## Version v0.1.0 | ||||||||||
| 4 | ## Copyright(c) 2023 DEGUEST Pte. Ltd. | ||||||||||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||||||||||
| 6 | ## Created 2023/07/25 | ||||||||||
| 7 | ## Modified 2023/11/24 | ||||||||||
| 8 | ## All rights reserved | ||||||||||
| 9 | ## | ||||||||||
| 10 | ## | ||||||||||
| 11 | ## This program is free software; you can redistribute it and/or modify it | ||||||||||
| 12 | ## under the same terms as Perl itself. | ||||||||||
| 13 | ##---------------------------------------------------------------------------- | ||||||||||
| 14 | # This module file has been automatically generated. Any change made here will be lost. | ||||||||||
| 15 | # Edit the script in ./build/build_modules.pl instead | ||||||||||
| 16 | package Net::API::CPAN::Permission; | ||||||||||
| 17 | BEGIN | ||||||||||
| 18 | 2 | ▶ | { | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 19 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 20 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 2 | ▶ | use parent qw( Net::API::CPAN::Generic ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 22 | 2 | ▶ | use vars qw( $VERSION ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 23 | 2 | our $VERSION = 'v0.1.0'; | |||||||||
| 24 | }; | ||||||||||
| 25 | |||||||||||
| 26 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 27 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 28 | |||||||||||
| 29 | sub init | ||||||||||
| 30 | 1 | ▶ | { | ||||||||
|
Subroutine
init: called CC=5 SCAR=16.6
Pod
documented
| |||||||||||
| 31 | 1 | my $self = shift( @_ ); | |||||||||
| 32 | 1 | ▶ | $self->{co_maintainers} = [] unless( CORE::exists( $self->{co_maintainers} ) ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 33 | 1 | ▶ | $self->{module_name} = undef unless( CORE::exists( $self->{module_name} ) ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 34 | 1 | $self->{object} = 'permission'; | |||||||||
| 35 | 1 | ▶ | $self->{owner} = undef unless( CORE::exists( $self->{owner} ) ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 36 | 1 | $self->{_init_strict_use_sub} = 1; | |||||||||
| 37 | 1 | $self->{_exception_class} = 'Net::API::CPAN::Exception'; | |||||||||
| 38 | 1 | ▶ | $self->SUPER::init( @_ ) || return( $self->pass_error ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 39 | 1 | $self->{fields} = [qw( co_maintainers module_name owner )]; | |||||||||
| 40 | 1 | return( $self ); | |||||||||
| 41 | } | ||||||||||
| 42 | |||||||||||
| 43 | 2 | ▶ | sub co_maintainers { return( shift->_set_get_array_as_object( 'co_maintainers', @_ ) ); } | ||||||||
|
Subroutine
co_maintainers: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 44 | |||||||||||
| 45 | 2 | ▶ | sub module_name { return( shift->_set_get_scalar_as_object( 'module_name', @_ ) ); } | ||||||||
|
Subroutine
module_name: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 46 | |||||||||||
| 47 | 0 | ▶ | sub object { return( shift->_set_get_scalar_as_object( 'object', @_ ) ); } | ||||||||
|
Subroutine
object: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 48 | |||||||||||
| 49 | 2 | ▶ | sub owner { return( shift->_set_get_scalar_as_object( 'owner', @_ ) ); } | ||||||||
|
Subroutine
owner: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 50 | |||||||||||
| 51 | 2 | 1; | |||||||||
| 52 | # NOTE: POD | ||||||||||
| 53 | __END__ | ||||||||||