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

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

24 Jan 2025 01:28PM UTC coverage: 76.246% (+3.8%) from 72.4%
#452

Pull #218

github

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

290 of 352 new or added lines in 18 files covered. (82.39%)

3 existing lines in 2 files now uncovered.

918 of 1204 relevant lines covered (76.25%)

0.76 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