Skip to content

Add more tests and fix code smells

Codecov / codecov/patch failed Nov 21, 2024 in 0s

82.92% of diff hit (target 88.72%)

View this Pull Request on Codecov

82.92% of diff hit (target 88.72%)

Annotations

Check warning on line 408 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/MirrorNodeState.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/MirrorNodeState.java#L408

Added line #L408 was not covered by tests

Check warning on line 413 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/MirrorNodeState.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/MirrorNodeState.java#L413

Added line #L413 was not covered by tests

Check warning on line 31 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L31

Added line #L31 was not covered by tests

Check warning on line 37 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L37

Added line #L37 was not covered by tests

Check warning on line 43 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L43

Added line #L43 was not covered by tests

Check warning on line 49 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L49

Added line #L49 was not covered by tests

Check warning on line 54 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L54

Added line #L54 was not covered by tests

Check warning on line 59 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L59

Added line #L59 was not covered by tests

Check warning on line 64 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L64

Added line #L64 was not covered by tests

Check warning on line 69 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L69

Added line #L69 was not covered by tests

Check warning on line 74 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L74

Added line #L74 was not covered by tests

Check warning on line 79 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/components/MetricsImpl.java#L79

Added line #L79 was not covered by tests

Check warning on line 68 in hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/core/MapWritableKVState.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hedera-mirror-web3/src/main/java/com/hedera/mirror/web3/state/core/MapWritableKVState.java#L68

Added line #L68 was not covered by tests