Punchcard/Backend/Kiwisolver/Context.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 SCAR 0.1
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Punchcard/Layout/Role/Constrainable.pm ↑ Summary Punchcard/Backend/Kiwisolver/Solver.pm »
1 1 ▶use Renard::Incunabula::Common::Setup;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Intertangle::Punchcard::Backend::Kiwisolver::Context;
3 # ABSTRACT: Context for Kiwisolver backend
4 $Intertangle::Punchcard::Backend::Kiwisolver::Context::VERSION = '0.001';
5 1 ▶use Mu;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Intertangle::Punchcard::Backend::Kiwisolver::Solver;
Subroutine BEGIN: called CC=1 SCAR=2.6
7 use Intertangle::Punchcard::Backend::Kiwisolver::Symbolic;
8  
9 lazy solver => sub {
10 Intertangle::Punchcard::Backend::Kiwisolver::Solver->new
11 };
12  
13 method new_variable(@args) {
14 Intertangle::Punchcard::Backend::Kiwisolver::Symbolic->new( @args );
15 }
16  
17 1;
18  
19 __END__
20  
21 =pod
22  
23 =encoding UTF-8
24  
25 =head1 NAME
26  
27 Intertangle::Punchcard::Backend::Kiwisolver::Context - Context for Kiwisolver backend
28  
29 =head1 VERSION
30  
31 version 0.001
32  
33 =head1 EXTENDS
34  
35 =over 4
36  
37 =item * L<Moo::Object>
38  
39 =back
40  
41 =head1 METHODS
42  
43 =head2 new_variable
44  
45 Helper for creating new symbolic variable.
46  
47 =head1 AUTHOR
48  
49 Zakariyya Mughal <zmughal@cpan.org>
50  
51 =head1 COPYRIGHT AND LICENSE
52  
53 This software is copyright (c) 2019 by Zakariyya Mughal.
54  
55 This is free software; you can redistribute it and/or modify it under
56 the same terms as the Perl 5 programming language system itself.
57  
58 =cut
« Punchcard/Layout/Role/Constrainable.pm ↑ Summary Punchcard/Backend/Kiwisolver/Solver.pm »