| blib/lib/SQL/Wizard/Expr/Join.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 11 | 11 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | 0 | 1 | 0.0 |
| total | 15 | 16 | 93.7 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package SQL::Wizard::Expr::Join; | ||||||
| 2 | |||||||
| 3 | 14 | 14 | 74 | use strict; | |||
| 14 | 21 | ||||||
| 14 | 424 | ||||||
| 4 | 14 | 14 | 379 | use warnings; | |||
| 14 | 74 | ||||||
| 14 | 706 | ||||||
| 5 | 14 | 14 | 102 | use parent 'SQL::Wizard::Expr'; | |||
| 14 | 33 | ||||||
| 14 | 111 | ||||||
| 6 | |||||||
| 7 | sub new { | ||||||
| 8 | 13 | 13 | 0 | 70 | my ($class, %args) = @_; | ||
| 9 | # args: type => 'JOIN'|'LEFT JOIN'|..., table => 'orders|o' or $subselect, on => '...' or {...} | ||||||
| 10 | 13 | 57 | $class->SUPER::new(%args); | ||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | 1; |