| blib/lib/Data/Sample/SQL/Slow.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 9 | 31 | 29.0 | 
| line | l | !l | condition | 
|---|---|---|---|
| 12 | 0 | 1 | $opt{'user'} || 'hoge' | 
| 0 | 1 | $opt{'host'} || 'localhost' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 12 | 1 | 0 | 0 | $opt{'time'} || time | 
| 1 | 0 | 0 | $opt{'id'} || int((rand()) * 100000) | |
| 1 | 0 | 0 | $opt{'query_time'} || (rand()) + 3 | |
| 1 | 0 | 0 | $opt{'lock_time'} || rand() | |
| 1 | 0 | 0 | $opt{'rows_sent'} || int((rand()) * 1000000) | |
| 1 | 0 | 0 | $opt{'rows_examined'} || int((rand()) * 1000000) | |
| 1 | 0 | 0 | $opt{'query'} || $class->queryBuild(%opt) | |
| 41 | 0 | 0 | 0 | $opt{'table'} || $tables[int((rand()) * scalar(@tables))] | 
| 42 | 0 | 0 | 0 | $opt{'query'} || $queries[int((rand()) * scalar(@queries))] |