---
title: "Review untested branches"
---

> Documentation Index
> Fetch the complete documentation index at: https://afg.callum.website/llms.txt
> Use this file to discover all available pages before exploring further.

# Review untested branches

```text
For each branch no test runs, is it guarding untrusted input, or can the types make it impossible?
```

Use this when reviewing untested branches before removing validation checks.

If the branch guards untrusted input, use [Test audit](https://afg.callum.website/external-skills/test-audit/) to choose where to test it and identify the regression the test should catch.

Source: Callum Flack, from a code review experiment involving token validation.

Source: https://afg.callum.website/prompts/review-untested-branches/index.mdx
