perlrdf/Command/MakeStore.pm

filter: Statementstmt 89.7% 35 / 39 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 92.3% 12 / 13 Podpod 100% 1 / 1 totaltotal 90.5% 48 / 53 CC 1 SCAR 0.7
CC
1
Cov
90%
execute
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« perlrdf/Command/Commands.pm ↑ Summary perlrdf/FileSpec/InputRDF.pm »
1 package App::perlrdf::Command::MakeStore;
2  
3 1 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 $App::perlrdf::Command::MakeStore::AUTHORITY = 'cpan:TOBYINK';
10 1 $App::perlrdf::Command::MakeStore::VERSION = '0.006';
11 }
12  
13 1 ▶use App::perlrdf -command;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶use constant abstract => q (Initialise an RDF::Trine::Store.);
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use constant command_names => qw( make_store mkstore );
Subroutine BEGIN: called CC=1 SCAR=0.0
18 1 ▶use constant description => <<'DESCRIPTION' . __PACKAGE__->store_help;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 Creates an empty RDF::Trine store.
20 DESCRIPTION
21 1 ▶use constant opt_spec => ( __PACKAGE__->store_opt_spec );
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use constant usage_desc => '%c make_store %o';
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 sub execute
25 0 ▶{
Subroutine execute: not called CC=1 SCAR=6.9
Pod documented
26 0 my ($self, $opt, $arg) = @_;
27 0 my $store = $self->get_store($opt);
28 0 $store->init;
29 0 printf STDERR "Initialized %s\n", ref $store;
30 }
31  
32 1 1;
33  
« perlrdf/Command/Commands.pm ↑ Summary perlrdf/FileSpec/InputRDF.pm »