| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Apache::Session::Browseable::_common; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 7 |  |  | 7 |  | 1544 | use strict; | 
|  | 7 |  |  |  |  | 15 |  | 
|  | 7 |  |  |  |  | 230 |  | 
| 4 | 7 |  |  | 7 |  | 2907 | use AutoLoader 'AUTOLOAD'; | 
|  | 7 |  |  |  |  | 8070 |  | 
|  | 7 |  |  |  |  | 47 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 |  |  |  |  |  |  | our $VERSION = '1.2.2'; | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | sub _tabInTab { | 
| 9 | 9 |  |  | 9 |  | 432 | my ( $class, $t1, $t2 ) = @_; | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | # if no fields are required, return 0 | 
| 12 | 9 | 100 | 66 |  |  | 48 | return 0 unless(@$t1 and @$t2); | 
| 13 | 6 |  |  |  |  | 31 | foreach my $f (@$t1) { | 
| 14 | 15 | 100 |  |  |  | 32 | unless ( grep { $_ eq $f } @$t2 ) { | 
|  | 40 |  |  |  |  | 97 |  | 
| 15 | 3 |  |  |  |  | 11 | return 0; | 
| 16 |  |  |  |  |  |  | } | 
| 17 |  |  |  |  |  |  | } | 
| 18 | 3 |  |  |  |  | 18 | return 1; | 
| 19 |  |  |  |  |  |  | } | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | sub _fieldIsIndexed { | 
| 22 | 8 |  |  | 8 |  | 26 | my ( $class, $args, $field ) = @_; | 
| 23 |  |  |  |  |  |  | my $index = | 
| 24 | 8 | 50 |  |  |  | 75 | ref( $args->{Index} ) ? $args->{Index} : [ split /\s+/, $args->{Index} ]; | 
| 25 | 8 |  |  |  |  | 29 | return ( grep { $_ eq $field } @$index ); | 
|  | 16 |  |  |  |  | 69 |  | 
| 26 |  |  |  |  |  |  | } | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | 1; | 
| 29 |  |  |  |  |  |  | __END__ |