Branch Coverage

blib/lib/Alzabo/Schema.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
34 0 0 if $class->_cached_schema($p{'name'})
39 0 0 unless -e $file
46 0 0 if (-e $version_file)
48 0 0 unless open $fh, "<$version_file"
51 0 0 unless close $fh
55 0 0 if ($version < $Alzabo::VERSION)
63 0 0 unless open $fh, "<$file"
65 0 0 unless my $schema = Storable::retrieve_fd($fh)
67 0 0 unless close $fh
71 0 0 unless open $fh, "<$rdbms_file"
74 0 0 unless close $fh
99 0 0 (shift())->isa('Alzabo::Runtime::Schema') ? :
107 0 0 if (exists $Alzabo::Schema::CACHE{$name}{$class}{'object'})
109 0 0 unless my $mtime = (stat $file)[9]
112 0 0 if $mtime <= $Alzabo::Schema::CACHE{$name}{$class}{'mtime'}
135 0 0 $self->isa('Alzabo::Runtime::Schema') ? :
154 0 0 exists $$self{'db_schema_name'} ? :
185 0 0 if @_ == 1
186 0 0 if @_ > 1
215 0 0 if (wantarray) { }
224 0 0 if (my $e = $@)
227 0 0 if (Alzabo::Utils::safe_can($e, 'rethrow')) { }
239 0 0 wantarray ? :