Skip to content

BUGIFX-60: Increase unit test coverage

Codecov / codecov/patch failed Apr 9, 2024 in 1s

25.96% of diff hit (target 70.71%)

View this Pull Request on Codecov

25.96% of diff hit (target 70.71%)

Annotations

Check warning on line 205 in internal/ui/component/hostedit/hostedit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostedit/hostedit.go#L201-L205

Added lines #L201 - L205 were not covered by tests

Check warning on line 257 in internal/ui/component/hostedit/hostedit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostedit/hostedit.go#L245-L257

Added lines #L245 - L257 were not covered by tests

Check warning on line 259 in internal/ui/component/hostedit/hostedit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostedit/hostedit.go#L259

Added line #L259 was not covered by tests

Check warning on line 460 in internal/ui/component/hostedit/hostedit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostedit/hostedit.go#L456-L460

Added lines #L456 - L460 were not covered by tests

Check warning on line 146 in internal/ui/component/hostlist/hostlist.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostlist/hostlist.go#L146

Added line #L146 was not covered by tests

Check warning on line 321 in internal/ui/component/hostlist/hostlist.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostlist/hostlist.go#L321

Added line #L321 was not covered by tests

Check warning on line 324 in internal/ui/component/hostlist/hostlist.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostlist/hostlist.go#L324

Added line #L324 was not covered by tests

Check warning on line 328 in internal/ui/component/hostlist/hostlist.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/component/hostlist/hostlist.go#L328

Added line #L328 was not covered by tests

Check warning on line 108 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L96-L108

Added lines #L96 - L108 were not covered by tests

Check warning on line 159 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L159

Added line #L159 was not covered by tests

Check warning on line 193 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L185-L193

Added lines #L185 - L193 were not covered by tests

Check warning on line 199 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L196-L199

Added lines #L196 - L199 were not covered by tests

Check warning on line 205 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L201-L205

Added lines #L201 - L205 were not covered by tests

Check warning on line 216 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L208-L216

Added lines #L208 - L216 were not covered by tests

Check warning on line 221 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L218-L221

Added lines #L218 - L221 were not covered by tests

Check warning on line 229 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L224-L229

Added lines #L224 - L229 were not covered by tests

Check warning on line 233 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L233

Added line #L233 was not covered by tests

Check warning on line 241 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L236-L241

Added lines #L236 - L241 were not covered by tests

Check warning on line 250 in internal/ui/model.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/model.go#L244-L250

Added lines #L244 - L250 were not covered by tests

Check warning on line 16 in internal/ui/ui.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/ui/ui.go#L16

Added line #L16 was not covered by tests

Check warning on line 43 in internal/utils/ssh/command.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/ssh/command.go#L42-L43

Added lines #L42 - L43 were not covered by tests

Check warning on line 25 in internal/utils/ssh/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/ssh/config.go#L24-L25

Added lines #L24 - L25 were not covered by tests

Check warning on line 49 in internal/utils/ssh/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/ssh/config.go#L46-L49

Added lines #L46 - L49 were not covered by tests

Check warning on line 51 in internal/utils/ssh/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/ssh/config.go#L51

Added line #L51 was not covered by tests

Check warning on line 60 in internal/utils/ssh/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/utils/ssh/config.go#L55-L60

Added lines #L55 - L60 were not covered by tests