| 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 | 103 | use strict; | |||
| 14 | 25 | ||||||
| 14 | 485 | ||||||
| 4 | 14 | 14 | 252 | use warnings; | |||
| 14 | 191 | ||||||
| 14 | 647 | ||||||
| 5 | 14 | 14 | 150 | use parent 'SQL::Wizard::Expr'; | |||
| 14 | 109 | ||||||
| 14 | 67 | ||||||
| 6 | |||||||
| 7 | sub new { | ||||||
| 8 | 13 | 13 | 0 | 63 | my ($class, %args) = @_; | ||
| 9 | # args: type => 'JOIN'|'LEFT JOIN'|..., table => 'orders|o' or $subselect, on => '...' or {...} | ||||||
| 10 | 13 | 61 | $class->SUPER::new(%args); | ||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | 1; |