| File: | blib/lib/Database/BI/Summary.pm |
| Coverage: | 95.8% |
| line | % | coverage | condition | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 35 | 100 |
| $args{"insights"} // [] | ||||||||||||||||||||
| 36 | 100 |
| $args{"label"} // "dataset" | ||||||||||||||||||||
| 37 | 100 |
| $args{"row_count"} // 0 | ||||||||||||||||||||
| 39 | 100 |
| $args{'use_ai'} && $args{'ai_config'} && length($args{'ai_config'}{'api_key'} // '') | ||||||||||||||||||||
| 51 | 100 |
| $use_ai and ref $args{"ai_allowed"} eq "CODE" and not $args{"ai_allowed"}() | ||||||||||||||||||||
| 81 | 50 |
| $$_{"detail"} // "" | ||||||||||||||||||||
| 134 | 100 |
| $$ai_config{"provider"} // "anthropic" | ||||||||||||||||||||
| 164 | 100 |
| $$ai_config{"model"} // "claude-haiku-5-5" | ||||||||||||||||||||
| 190 | 100 |
| defined $text and length $text |