CogBase/Database.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 93.3% 14 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
create
1.0
CRAP 1.0
« CogBase.pm ↑ Summary CogBase/Index.pm »
1 package CogBase::Database;
2 1 ▶use CogBase::Base -base;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use IO::All;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶sub create {
Subroutine create: called CC=1 SCAR=0.0
Pod undocumented
6 1 my ($class, $db_path) = @_;
7 1 io("$db_path/nodes")->mkpath;
8 1 io("$db_path/index/hid")->mkpath;
9 1 io("$db_path/index/type/Schema")->mkpath;
10 }
11  
12 =head1 NAME
13  
14 CogBase::Database - Database Management Class
15  
16 =cut
17  
18 1 1;
« CogBase.pm ↑ Summary CogBase/Index.pm »