You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dead code and unreachable branches (coverage pass) #77
Coverage-improvement pass on the improve-coverage branch (refs #57). Statement coverage raised to 91.1% (1081/1186). Remaining uncovered statements are unreachable or defensive; captured here rather than force-covered.
Data
Dead code (never executed):
PhpDb\Mysql\Metadata\Source::loadConstraintDataNames() — no caller; not declared in AbstractSource; 55 statements.
PhpDb\Mysql\Pdo\Driver::__construct()addFeatures() branch — Driver never implements DriverFeatureProviderInterface; the $features argument is silently ignored.
PhpDb\Mysql\Statement::execute() failure throw — unreachable for valid prepared statements.
PhpDb\Mysql\Result::next()position++ — dead; position already advanced inside valid()/current().
PhpDb\Mysql\Result::initialize()default => $this->isBuffered arm — no call path produces mysqli_stmt + 0 rows + null isBuffered.
PhpDb\Mysql\Metadata\Sourceself::DEFAULT_SCHEMA === $schema branches — defaultSchema resolves to the live database name, never the __DEFAULT_SCHEMA__ sentinel.
Defensive branches (need simulated failure to cover):
Activity