File Coverage

lib/UR/Namespace/Command/Old/Redescribe.pm
Criterion Covered Total %
statement 9 18 50.0
branch 0 2 0.0
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 12 27 44.4


line stmt bran cond sub pod time code
1              
2             package UR::Namespace::Command::Old::Redescribe;
3              
4 1     1   22 use strict;
  1         1  
  1         26  
5 1     1   3 use warnings;
  1         1  
  1         19  
6 1     1   3 use UR;
  1         2  
  1         4  
7             our $VERSION = "0.46"; # UR $VERSION;
8              
9             UR::Object::Type->define(
10             class_name => __PACKAGE__,
11             is => 'UR::Namespace::Command::RunsOnModulesInTree',
12             );
13              
14             sub help_brief {
15 0     0 0   "Outputs class description(s) formatted to the latest standard."
16             }
17              
18             sub for_each_class_object {
19 0     0 0   my $self = shift;
20 0           my $class = shift;
21 0           my $src = $class->resolve_module_header_source;
22 0 0         if ($src) {
23 0           print $src, "\n";
24 0           return 1;
25             }
26             else {
27 0           print STDERR "No source for $class!";
28 0           return;
29             }
30             }
31              
32             1;
33