lib/UR/Namespace/Command/Define.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 18 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package UR::Namespace::Command::Define; | ||||||
2 | |||||||
3 | 1 | 1 | 24 | use warnings; | |||
1 | 1 | ||||||
1 | 33 | ||||||
4 | 1 | 1 | 3 | use strict; | |||
1 | 1 | ||||||
1 | 18 | ||||||
5 | 1 | 1 | 3 | use UR; | |||
1 | 1 | ||||||
1 | 7 | ||||||
6 | our $VERSION = "0.46"; # UR $VERSION; | ||||||
7 | |||||||
8 | UR::Object::Type->define( | ||||||
9 | class_name => __PACKAGE__, | ||||||
10 | is => 'UR::Namespace::Command::Base', | ||||||
11 | doc => "define namespaces, data sources and classes", | ||||||
12 | ); | ||||||
13 | |||||||
14 | 0 | 0 | 0 | sub sub_command_sort_position { 2 } | |||
15 | |||||||
16 | 0 | 0 | 0 | sub shell_args_description { "[namespace|...]"; } | |||
17 | |||||||
18 | 1; | ||||||
19 |