# tuist coverage file

Show the coverage of one file at a commit, with its functions.

## Arguments

### file-path

The file's path, as listed by `tuist coverage files`.

```bash
tuist coverage file [file-path]
```

### path `Optional`

The path to the directory containing the Tuist project.

```bash
tuist coverage file --path [path]
tuist coverage file -p [path]
```

### full-handle `Optional`

The full handle of the project (account-handle/project-handle). Defaults to the one in the project's configuration.

```bash
tuist coverage file --full-handle [full-handle]
```

### branch `Optional`

The branch whose latest complete commit to read. Defaults to the project's default branch.

```bash
tuist coverage file --branch [branch]
```

### commit `Optional`

The commit to read. Takes precedence over --branch.

```bash
tuist coverage file --commit [commit]
```

### lines `Optional`

Include per-line execution counts, and list the uncovered lines.

```bash
tuist coverage file --lines
```

### json `Optional`

The output in JSON format.

```bash
tuist coverage file --json
```
