Sah/Schema/perl/modname/installed.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Sah/Schema/perl/modname/default_this_mod.pm ↑ Summary Sah/Schema/perl/modname/not_installed.pm »
1 package Sah::Schema::perl::modname::installed;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
7 1 our $DATE = '2024-02-16'; # DATE
8 1 our $DIST = 'Sah-SchemaBundle-Perl'; # DIST
9 1 our $VERSION = '0.050'; # VERSION
10  
11 1 our $schema = ['perl::modname' => {
12 summary => 'Name of a Perl module that is installed locally',
13 description => <<'_',
14  
15 This schema is based on the `perl::modname` schema with an additional check that
16 the perl module is installed locally. Checking is done using
17 <pm:Module::Installed::Tiny>. This check fetches the source code of the module
18 from filesystem or %INC hooks, but does not actually load/execute the code.
19  
20 _
21  
22 'prefilters' => [
23 'Perl::check_module_installed',
24 ],
25  
26 examples => [
27 ],
28  
29 }];
30  
31 1 1;
32 # ABSTRACT: Name of a Perl module that is installed locally
33  
34 __END__
« Sah/Schema/perl/modname/default_this_mod.pm ↑ Summary Sah/Schema/perl/modname/not_installed.pm »