# buildWithCodeCoverage

> Enables Code Coverage in the Player.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool buildWithCodeCoverage { get; set; }
```

### Remarks

When this option is enabled, the Player collects code coverage data during execution. This data can be used to identify untested code paths and improve test coverage.
