Skip to content

Improve branch coverage for uncovered paths#103

Draft
koriym wants to merge 1 commit into
1.xfrom
100
Draft

Improve branch coverage for uncovered paths#103
koriym wants to merge 1 commit into
1.xfrom
100

Conversation

@koriym

@koriym koriym commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Add tests for uncovered branch paths in ClassesInDirectories, Pages, InsertedRow, and ReturnEntity
  • Add fixtures for class discovery and invalid no-class PHP input
  • Preserve existing behavior while bringing branch coverage to 100%

Validation

  • ./vendor/bin/phpunit --colors=never
  • XDEBUG_MODE=coverage php -d memory_limit=-1 ./vendor/bin/phpunit --coverage-text --path-coverage --colors=never
    • Branches: 100.00% (323/323)
    • Lines: 100.00% (400/400)

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 707df867-dfb9-427f-91e9-ccd1e8367cbe

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 100

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant