Skip to content

refactor(branch-protection): reorder functions to enhance readability

Codecov / codecov/patch succeeded Feb 16, 2024 in 1s

73.24% of diff hit (within 10.00% threshold of 75.47%)

View this Pull Request on Codecov

73.24% of diff hit (within 10.00% threshold of 75.47%)

Annotations

Check warning on line 316 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L315-L316

Added lines #L315 - L316 were not covered by tests

Check warning on line 364 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L359-L364

Added lines #L359 - L364 were not covered by tests

Check warning on line 366 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L366

Added line #L366 was not covered by tests

Check warning on line 383 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L382-L383

Added lines #L382 - L383 were not covered by tests

Check warning on line 392 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L391-L392

Added lines #L391 - L392 were not covered by tests

Check warning on line 408 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L407-L408

Added lines #L407 - L408 were not covered by tests

Check warning on line 418 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L417-L418

Added lines #L417 - L418 were not covered by tests

Check warning on line 428 in checks/evaluation/branch_protection.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

checks/evaluation/branch_protection.go#L427-L428

Added lines #L427 - L428 were not covered by tests

Check warning on line 288 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L287-L288

Added lines #L287 - L288 were not covered by tests

Check warning on line 365 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L365

Added line #L365 was not covered by tests

Check warning on line 382 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L382

Added line #L382 was not covered by tests

Check warning on line 459 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L458-L459

Added lines #L458 - L459 were not covered by tests

Check warning on line 463 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L462-L463

Added lines #L462 - L463 were not covered by tests

Check warning on line 484 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L484

Added line #L484 was not covered by tests

Check warning on line 498 in clients/githubrepo/branches.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

clients/githubrepo/branches.go#L498

Added line #L498 was not covered by tests