| Class | Coverage | Complexity | CRAP |
|---|---|---|---|
| Pop\Db\Record\Relationships\HasOneOf | 46.7% | 34 | 209 |
| Pop\Db\Record\Relationships\BelongsTo | 48.7% | 35 | 200 |
| Pop\Db\Record\Relationships\HasMany | 59.1% | 42 | 162 |
| Pop\Db\Record\Relationships\HasOne | 61.5% | 36 | 109 |
| Method | Coverage |
|---|---|
| bindColumn | 0% |
| getErrorMessage | 0% |
| buildError | 0% |
| exec | 0% |
| isSuccess | 0% |
| getStart | 0% |
| getFinish | 0% |
| setDebugger | 0% |
| getDebugger | 0% |
| debugger | 0% |
| getSteps | 0% |
| getQuery | 0% |
| hasParams | 0% |
| getParams | 0% |
| isSuccess | 0% |
| sqlsrvConnect | 0% |
| hasWith | 0% |
| getWiths | 0% |
| getRelationship | 0% |
| hasRelationship | 0% |
| getRelationships | 0% |
| latest | 0% |
| oldest | 0% |
| getRawValue | 0% |
| setForceUpdate | 0% |
| isForceUpdate | 0% |
| prepareExpression | 0% |
| prepareExpressions | 0% |
| after | 0% |
| getLimitAndOffset | 0% |
| buildSqlSrvLimitAndOffset | 0% |
| loadEncryptionProperties | 33% |
| getEagerRelationships | 42% |
| toArray | 42% |
| getEagerRelationships | 44% |
| execute | 46% |
| hasMany | 46% |
| bindParams | 47% |
| prepare | 53% |
| getEagerRelationships | 54% |
| prepare | 56% |
| getEagerRelationships | 56% |
| getNumberOfAffectedRows | 57% |
| bindParams | 58% |
| execute | 58% |
| query | 58% |
| fetch | 60% |
| prepare | 61% |
| start | 62% |
| rollback | 62% |
| clearCurrent | 63% |
| query | 64% |
| query | 66% |
| execute | 66% |
| query | 66% |
| getNumberOfRows | 66% |
| __construct | 66% |
| fetch | 66% |
| addWith | 66% |
| bindParams | 68% |
| quote | 69% |
| Method | Coverage | Complexity | CRAP |
|---|---|---|---|
| getEagerRelationships | 42.6% | 30 | 199 |
| getEagerRelationships | 44.3% | 31 | 197 |
| getEagerRelationships | 54.7% | 35 | 149 |
| getEagerRelationships | 56.9% | 29 | 96 |
| prepareExpressions | 0.0% | 8 | 72 |
| bindParams | 47.1% | 14 | 43 |
| prepareExpression | 0.0% | 6 | 42 |
| hasMany | 46.7% | 12 | 33 |
| quote | 69.2% | 18 | 27 |
| getErrorMessage | 0.0% | 4 | 20 |
| getLimitAndOffset | 0.0% | 4 | 20 |
| buildSqlSrvLimitAndOffset | 0.0% | 4 | 20 |
| loadEncryptionProperties | 33.3% | 6 | 16 |
| bindParams | 68.2% | 10 | 13 |
| buildError | 0.0% | 3 | 12 |
| isSuccess | 0.0% | 3 | 12 |
| isSuccess | 0.0% | 3 | 12 |
| query | 64.7% | 9 | 12 |
| after | 0.0% | 3 | 12 |
| execute | 46.7% | 6 | 11 |
| clearCurrent | 63.6% | 8 | 11 |
| query | 58.8% | 7 | 10 |
| bindParams | 58.3% | 7 | 10 |
| execute | 58.3% | 7 | 10 |
| prepare | 53.3% | 6 | 9 |
| toArray | 42.9% | 5 | 9 |
| query | 66.7% | 7 | 8 |
| query | 66.7% | 7 | 8 |
| execute | 66.7% | 6 | 7 |
| prepare | 56.2% | 5 | 7 |
| prepare | 61.5% | 5 | 6 |
| exec | 0.0% | 2 | 6 |
| fetch | 60.0% | 4 | 5 |
| rollback | 62.5% | 4 | 4 |
| getNumberOfAffectedRows | 57.1% | 3 | 3 |
| start | 62.5% | 3 | 3 |
| getNumberOfRows | 66.7% | 2 | 2 |
| __construct | 66.7% | 2 | 2 |
| fetch | 66.7% | 2 | 2 |
| addWith | 66.7% | 2 | 2 |