| 1 | package CGI::OptimalQuery::ExportDataTool; | ||||||||||||
| 2 | |||||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | sub on_open { | ||||||||||||
| 6 | 0 | ▶ | return " | ||||||||||
|
Subroutine
on_open: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 7 | |||||||||||||
| 8 | |||||||||||||
| 9 | <label class=ckbox><input type=checkbox class=OQExportAllResultsInd checked> all pages</label> | ||||||||||||
| 10 | <p> | ||||||||||||
| 11 | <strong>download as..</strong><br> | ||||||||||||
| 12 | <a class=OQDownloadCSV href=#>CSV (Excel)</a>, | ||||||||||||
| 13 | <a class=OQDownloadHTML href=#>HTML</a>, | ||||||||||||
| 14 | <a class=OQDownloadJSON href=#>JSON</a>, | ||||||||||||
| 15 | <a class=OQDownloadXML href=#>XML</a>"; | ||||||||||||
| 16 | } | ||||||||||||
| 17 | |||||||||||||
| 18 | sub activate { | ||||||||||||
| 19 | 0 | ▶ | my ($o) = @_; | ||||||||||
|
Subroutine
activate: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||
| 20 | $$o{schema}{tools}{export} ||= { | ||||||||||||
| 21 | 0 | ▶ | title => "Export Data", | ||||||||||
|
Condition0%0/2
$o->{"schema"}{"tools"}{"export"} ||= {"title", "Export Data", "on_open", \&CGI::OptimalQuery::ExportDataTool::on_open}
MC/DC0%0/1
$o->{"schema"}{"tools"}{"export"} ||= {"title", "Export Data", "on_open", \&CGI::OptimalQuery::ExportDataTool::on_open}
$o->{"schema"}{"tools"}{"export"}
Truth table0%0/2
A
A= $o->{"schema"}{"tools"}{"export"}
| |||||||||||||
| 22 | on_open => \&on_open | ||||||||||||
| 23 | }; | ||||||||||||
| 24 | } | ||||||||||||
| 25 | |||||||||||||
| 26 | 1 | 1; | |||||||||||