• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kit-data-manager / pit-service / #443

20 Jan 2025 03:56PM UTC coverage: 75.383% (+3.0%) from 72.4%
#443

Pull #218

github

web-flow
Merge 991e6ae09 into 459f0c036
Pull Request #218: Type-Api support and validation speedup

257 of 322 new or added lines in 18 files covered. (79.81%)

3 existing lines in 2 files now uncovered.

885 of 1174 relevant lines covered (75.38%)

0.75 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/src/main/java/edu/kit/datamanager/pit/typeregistry/schema/SchemaInfo.java
1
package edu.kit.datamanager.pit.typeregistry.schema;
2

3
import jakarta.annotation.Nullable;
4
import jakarta.validation.constraints.NotNull;
5
import org.everit.json.schema.Schema;
6

7
import java.util.Optional;
8

9
public record SchemaInfo(
1✔
10
        @NotNull String origin,
11
        @Nullable Schema schema,
12
        @Nullable Throwable error
13
) {
14
    Optional<Throwable> hasError() {
NEW
15
        return Optional.ofNullable(this.error);
×
16
    }
17

18
    Optional<Schema> hasSchema() {
NEW
19
        return Optional.ofNullable(this.schema);
×
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc