builder/UR.pm

filter: Statementstmt 50.0% 10 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 44.8% 13 / 29 SCAR 9.2
CC
2
Cov
50%
ACTION_build
6.0
ACTION_docs
2.0
man1page_name
2.0
CRAP 2.5
« blib/lib/UR/Value/View/Default/Text.pm ↑ Summary blib/lib/Command.pm »
1 package builder::UR;
2  
3 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent 'Module::Build';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub ACTION_build {
9 0 ▶ my $self = shift;
Subroutine ACTION_build: not called CC=2 SCAR=17.9
Pod undocumented
10 0 foreach my $metadb_type ( qw(sqlite3 sqlite3n sqlite3-dump sqlite3n-dump sqlite3-schema sqlite3n-schema) ) {
11 0 $self->add_build_element($metadb_type);
12 }
13 0 return $self->SUPER::ACTION_build(@_);
14 }
15  
16 sub ACTION_docs {
17 # ensure docs get man pages and html
18 0 ▶ my $self = shift;
Subroutine ACTION_docs: not called CC=1 SCAR=6.9
Pod undocumented
19 0 $self->depends_on('code');
20 0 $self->depends_on('manpages', 'html');
21 }
22  
23 sub man1page_name {
24 # without this we have "man ur-init.pod" instead of "man ur-init"
25 0 ▶ my ($self, $file) = @_;
Subroutine man1page_name: not called CC=1 SCAR=6.9
Pod undocumented
26 0 $file =~ s/.pod$//;
27 0 return $self->SUPER::man1page_name($file);
28 }
29  
30 1 1;
« blib/lib/UR/Value/View/Default/Text.pm ↑ Summary blib/lib/Command.pm »