Punchcard/Backend/Kiwisolver/Solver.pm

filter: Statementstmt 100% 37 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod 100% 4 / 4 totaltotal 100% 50 / 50 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Punchcard/Backend/Kiwisolver/Context.pm ↑ Summary Punchcard/Data/Role/HasValue.pm »
1 1 ▶use Renard::Incunabula::Common::Setup;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Intertangle::Punchcard::Backend::Kiwisolver::Solver;
3 # ABSTRACT: Solver wrapper for Kiwisolver
4 1 $Intertangle::Punchcard::Backend::Kiwisolver::Solver::VERSION = '0.002';
5 1 ▶use Mu;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Graphics::Layout::Kiwisolver;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Renard::Incunabula::Common::Types qw(InstanceOf);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 has _delegate => (
10 is => 'ro',
11 isa => InstanceOf['Graphics::Layout::Kiwisolver::Solver'],
12 1 ▶ default => method() {
Subroutine __ANON__: called CC=1 SCAR=0.0
13 1 Graphics::Layout::Kiwisolver::Solver->new;
14 1 },
15 );
16  
17 36 ▶method add_constraint($constraint) {
Subroutine add_constraint: called CC=1 SCAR=0.0
Pod documented
18 36 $self->_delegate->addConstraint($constraint->_delegate);
19 1 }
20  
21 1 ▶method update() {
Subroutine update: called CC=1 SCAR=0.0
Pod documented
22 1 $self->_delegate->updateVariables;
23 1 }
24  
25 2 ▶method add_edit_variable($variable, $strength) {
Subroutine add_edit_variable: called CC=1 SCAR=0.0
Pod documented
26 2 $self->_delegate->addEditVariable($variable->_delegate, $strength);
27 1 }
28  
29 2 ▶method suggest_value($variable, $value) {
Subroutine suggest_value: called CC=1 SCAR=0.0
Pod documented
30 2 $self->_delegate->suggestValue($variable->_delegate, $value);
31 1 }
32  
33 1 1;
34  
35 __END__
« Punchcard/Backend/Kiwisolver/Context.pm ↑ Summary Punchcard/Data/Role/HasValue.pm »