> For the complete documentation index, see [llms.txt](https://cover-docs-preview.diffblue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cover-docs-preview.diffblue.com/features/cover-refactor.md).

# Cover Refactor

Cover Refactor makes your code more testable - it suggests refactoring patches for your code that allow Diffblue Cover to create more and better tests for your project, and these suggestions can then be automatically applied to your code.

<div align="left"><figure><img src="https://452101454-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVZk2xV5wG8SQrB4v79J8%2Fuploads%2Fgit-blob-2cc2f97861d73d6abbc127ee301cbacf1617157c%2FRefactorExample-2024.jpg?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>
