Raise MSI to 100%
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Read src/DbSchemaManager.php around line 76 and inspect the linked mutant from pull request 96. Run the repository's mutation-testing workflow, add coverage that distinguishes the shown refresh values, and verify that the mutant is killed and MSI reaches 100%.
Written by the indexing model from the issue text.
Description
There is one mutant:
[PHP 8.5-ubuntu-latest: src/DbSchemaManager.php#L76](https://github.com/yiisoft/cache-db/pull/96/files#annotation_43056796275)
Escaped Mutant for Mutator "TrueValue":
@@ @@
*/
private function hasTable(string $table): bool
{
- return $this->db->getSchema()->hasTable($table, refresh: true);
+ return $this->db->getSchema()->hasTable($table, refresh: false);
}
}
- Dominant language
- PHP
- Stars
- 13
- Forks
- 9
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from yiisoft/cache-db
-
type:test
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
type:enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
All issues in yiisoft/cache-db
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·