| Class | CRAP | ||
|---|---|---|---|
| Celemas\Quma\Debug | 84.6% | 108 | 8943 |
| Celemas\Quma\Environment | 87.9% | 36 | 933 |
| Celemas\Quma\Commands\Add | 89.1% | 20 | 287 |
| Celemas\Quma\Placeholders | 89.7% | 26 | 257 |
| Celemas\Quma\Util | 85.7% | 9 | 83 |
| Celemas\Quma\Exception\InvalidTypeCoercion | 80.0% | 3 | 3 |
| Celemas\Quma\Hydration\TypeMetadata | 85.7% | 3 | 3 |
| Method | Coverage |
|---|---|
| sessionLabel | 42% |
| uriLabel | 65% |
| safeSegment | 70% |
| relativeToRoots | 73% |
| getPhpContent | 75% |
| interpolateNamed | 75% |
| sourceName | 75% |
| argv | 75% |
| hash | 75% |
| forContext | 75% |
| isBuiltinTypeName | 75% |
| isBuiltinTypeName | 75% |
| getMigrationsTableName | 76% |
| collectMigrations | 76% |
| write | 80% |
| dateHasErrors | 80% |
| prepareTemplateVars | 80% |
| env | 81% |
| integerStringFits | 81% |
| getColumnName | 83% |
| disconnect | 83% |
| matchesKind | 83% |
| describe | 83% |
| migrateCompiledSQL | 83% |
| assertNoMalformedTokens | 83% |
| location | 83% |
| renderTemplateFile | 83% |
| assertPathSegment | 84% |
| migrate | 84% |
| restoreQuery | 85% |
| safeRelativePath | 85% |
| formatRowKeys | 85% |
| value | 86% |
| getPhpMigrationName | 87% |
| validate | 87% |
| getMigrationsTableDDL | 87% |
| validateClass | 87% |
| intFromString | 87% |
| substituteFragment | 87% |
| checkIfMigrationsTableExists | 88% |
| normalizeValues | 88% |
| lazy | 88% |
| run | 89% |
| Method | CRAP | ||
|---|---|---|---|
| run | 89.7% | 12 | 121 |
| relativeToRoots | 73.9% | 8 | 69 |
| checkIfMigrationsTableExists | 88.9% | 8 | 58 |
| collectMigrations | 76.9% | 8 | 54 |
| assertPathSegment | 84.0% | 7 | 52 |
| getMigrationsTableDDL | 87.5% | 7 | 44 |
| prepareTemplateVars | 80.8% | 6 | 41 |
| uriLabel | 65.2% | 6 | 39 |
| integerStringFits | 81.8% | 6 | 35 |
| normalizeValues | 88.9% | 6 | 24 |
| substituteFragment | 87.5% | 5 | 21 |
| write | 80.0% | 5 | 15 |
| env | 81.8% | 4 | 12 |
| sourceName | 75.0% | 4 | 11 |
| matchesKind | 83.3% | 5 | 11 |
| migrate | 84.6% | 6 | 11 |
| value | 86.7% | 7 | 8 |
| getMigrationsTableName | 76.9% | 4 | 7 |
| safeRelativePath | 85.7% | 7 | 7 |
| assertNoMalformedTokens | 83.3% | 3 | 7 |
| disconnect | 83.3% | 4 | 6 |
| getPhpMigrationName | 87.5% | 3 | 5 |
| interpolateNamed | 75.0% | 3 | 4 |
| safeSegment | 70.0% | 2 | 4 |
| intFromString | 87.5% | 3 | 4 |
| sessionLabel | 42.9% | 2 | 3 |
| validate | 87.5% | 3 | 3 |
| validateClass | 87.5% | 3 | 3 |
| dateHasErrors | 80.0% | 3 | 3 |
| lazy | 88.9% | 3 | 3 |
| renderTemplateFile | 83.3% | 3 | 3 |
| getColumnName | 83.3% | 2 | 2 |
| restoreQuery | 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 |