lib/ComponentUI/Controller/TestModel/Baz.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/ComponentUI.pm ↑ Summary lib/ComponentUI/Model/TestDB.pm »
1 package ComponentUI::Controller::TestModel::Baz;
2  
3 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶BEGIN { extends 'Reaction::UI::Controller::Collection::CRUD'; }
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use ComponentUI::UI::ViewPort::Baz::ListView::Member;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 __PACKAGE__->config(
9 model_name => 'TestModel',
10 collection_name => 'Baz',
11 action => {
12 base => { Chained => '/base', PathPart => 'testmodel/baz' },
13 list => {
14 ViewPort => {
15 enable_order_by => [qw/id name bool_field description/],
16 member_class => 'ComponentUI::UI::ViewPort::Baz::ListView::Member',
17 Member => {
18 Field => {
19 description => {
20 max_length => 40,
21 layout => 'value/string',
22 },
23 },
24 },
25 },
26 },
27 },
28 );
29  
30 3 1;
« lib/ComponentUI.pm ↑ Summary lib/ComponentUI/Model/TestDB.pm »