| 1 | # Copyright (C) 2003-2007, G. Allen Morris III, all rights reserved | ||||||||||||
| 2 | |||||||||||||
| 3 | 6 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | package | ||||||||||||
| 5 | Data::Tabular::Row::Titles; | ||||||||||||
| 6 | |||||||||||||
| 7 | 6 | ▶ | use base 'Data::Tabular::Row'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | |||||||||||||
| 9 | sub get_column | ||||||||||||
| 10 | 102 | ▶ | { | ||||||||||
|
Subroutine
get_column: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||||
| 11 | 102 | my $self = shift; | |||||||||||
| 12 | 102 | ▶ | my $key = shift || die 'need column name'; | ||||||||||
|
Condition50%1/2
shift() || die('need column name')
MC/DC0%0/1
shift() || die('need column name')
shift()
Truth table50%1/2
A
A= shift()
| |||||||||||||
| 13 | |||||||||||||
| 14 | 102 | my $output = $self->output; | |||||||||||
| 15 | |||||||||||||
| 16 | 102 | Data::Tabular::Type->new( | |||||||||||
| 17 | data => $output->title($key), | ||||||||||||
| 18 | format => $output->format('_title', $key), | ||||||||||||
| 19 | ); | ||||||||||||
| 20 | } | ||||||||||||
| 21 | |||||||||||||
| 22 | 6 | 1; | |||||||||||
| 23 | __END__ | ||||||||||||