| Class | CRAP | ||
|---|---|---|---|
| Celema\Quma\Debug | 87.2% | 105 | 6434 |
| Celema\Quma\Environment | 89.1% | 31 | 492 |
| Celema\Quma\Placeholders | 89.1% | 24 | 173 |
| Celema\Quma\Script | 89.8% | 21 | 106 |
| Celema\Quma\Util | 85.7% | 9 | 83 |
| Celema\Quma\Exception\InvalidTypeCoercion | 80.0% | 3 | 3 |
| Celema\Quma\Hydration\TypeMetadata | 85.7% | 3 | 3 |
| Method | Coverage |
|---|---|
| prepareTemplateVars | 69% |
| safeSegment | 70% |
| relativeToRoots | 73% |
| getPhpContent | 75% |
| interpolateNamed | 75% |
| sourceName | 75% |
| hash | 75% |
| forContext | 75% |
| isBuiltinTypeName | 75% |
| collectMigrations | 76% |
| write | 80% |
| env | 81% |
| uriLabel | 82% |
| getColumnName | 83% |
| describe | 83% |
| migrateCompiledSQL | 83% |
| substitute | 83% |
| assertNoMalformedTokens | 83% |
| location | 83% |
| renderTemplateFile | 83% |
| assertPathSegment | 84% |
| getMigrationsTableName | 84% |
| migrate | 84% |
| integerStringFits | 85% |
| restoreQuery | 85% |
| argv | 85% |
| sessionLabel | 85% |
| safeRelativePath | 85% |
| checkIfMigrationsTableExists | 85% |
| formatRowKeys | 85% |
| value | 86% |
| getPhpMigrationName | 87% |
| validate | 87% |
| getMigrationsTableDDL | 87% |
| validateClass | 87% |
| intFromString | 87% |
| normalizeValues | 88% |
| lazy | 88% |
| Method | CRAP | ||
|---|---|---|---|
| relativeToRoots | 73.9% | 8 | 69 |
| assertPathSegment | 84.0% | 7 | 52 |
| getMigrationsTableDDL | 87.5% | 7 | 41 |
| uriLabel | 82.6% | 6 | 38 |
| collectMigrations | 76.9% | 6 | 32 |
| checkIfMigrationsTableExists | 85.7% | 6 | 26 |
| normalizeValues | 88.9% | 6 | 24 |
| integerStringFits | 85.0% | 5 | 23 |
| write | 80.0% | 5 | 15 |
| sourceName | 75.0% | 4 | 11 |
| migrate | 84.6% | 6 | 11 |
| env | 81.8% | 4 | 9 |
| value | 86.7% | 7 | 8 |
| safeRelativePath | 85.7% | 7 | 7 |
| assertNoMalformedTokens | 83.3% | 3 | 7 |
| getMigrationsTableName | 84.6% | 4 | 6 |
| substitute | 83.3% | 3 | 6 |
| getPhpMigrationName | 87.5% | 3 | 5 |
| interpolateNamed | 75.0% | 3 | 4 |
| safeSegment | 70.0% | 2 | 4 |
| intFromString | 87.5% | 3 | 4 |
| validate | 87.5% | 3 | 3 |
| validateClass | 87.5% | 3 | 3 |
| lazy | 88.9% | 3 | 3 |
| renderTemplateFile | 83.3% | 3 | 3 |
| getColumnName | 83.3% | 2 | 2 |
| restoreQuery | 85.7% | 2 | 2 |
| argv | 85.7% | 2 | 2 |
| sessionLabel | 85.7% | 2 | 2 |
| formatRowKeys | 85.7% | 2 | 2 |
| forContext | 75.0% | 2 | 2 |
| describe | 83.3% | 2 | 2 |
| migrateCompiledSQL | 83.3% | 2 | 2 |
| location | 83.3% | 2 | 2 |