| lib/SQL/Admin/Catalog/Table.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 40 | 55.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 9 | unless $self->catalog |
| 17 | 0 | 9 | if $what eq 'table_row' |
| 26 | 5 | 4 | if $what eq 'column' |
| 29 | 2 | 2 | if $what eq 'primary_key' |
| 32 | 1 | 1 | if $what eq 'unique' |
| 35 | 1 | 0 | if $what eq 'foreign_key' |
| 47 | 1 | 5 | unless @_ |
| 50 | 0 | 5 | unless defined $name |
| 52 | 0 | 5 | unless @_ |
| 57 | 5 | 0 | unless exists $$map{$name} |
| 69 | 0 | 0 | unless wantarray |
| 78 | 0 | 0 | unless @_ |
| 81 | 0 | 0 | unless @_ |
| 92 | 2 | 4 | if @_ |
| 103 | 2 | 1 | unless @_ |
| 106 | 0 | 1 | unless @_ |
| 118 | 2 | 1 | unless @_ |
| 121 | 0 | 1 | unless @_ |
| 133 | 0 | 0 | unless @_ |
| 153 | 0 | 0 | if $$self{'row_search'} |