Branch Coverage

blib/lib/Form/Factory/Interface/CLI.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
53 1 7 if $control->does('Form::Factory::Control::Role::HiddenValue')
56 2 5 if ($control->does('Form::Factory::Control::Role::AvailableChoices')) { }
2 3 elsif ($control->does('Form::Factory::Control::Role::BooleanValue')) { }
0 3 elsif ($control->does('Form::Factory::Control::Role::PresetValue')) { }
1 2 elsif ($control->does('Form::Factory::Control::Role::MultiLine')) { }
87 7 121 if ($fetch) { }
9 112 elsif ($argv eq '--' . $control->name) { }
93 2 7 if ($control->does('Form::Factory::Control::Role::BooleanValue')) { }
102 1 7 unless @values > 0
106 1 8 if ($control->does('Form::Factory::Control::Role::MultiLine')) { }
114 1 6 if ($control->does('Form::Factory::Control::Role::ListValue')) { }
121 0 6 if @values > 1