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

knowledgepixels / nanopub-registry / 28155387420

25 Jun 2026 07:53AM UTC coverage: 31.926% (-0.2%) from 32.089%
28155387420

push

github

web-flow
chore: enhance and standardize logging across multiple components (#116)

* chore(EntryStatus): enhance logging for null and unsupported status value handling

* chore(logging): standardize logger variable names across multiple classes

* chore(CoverageFilter): enhance logging for coverage filter initialization and type checks

* chore(RegistryPeerConnector): enhance logging for peer connection and nanopub fetching

* chore(logging): enhance logging for request handling and error reporting in multiple pages

* chore(MainVerticle): enhance logging for HTTP server startup, request routing, and POST processing

* chore(Task): improve logging messages

* chore(Task): enhance logging for server status checks and account loading processes

* chore(RegistryInfo): add logging messages for RegistryInfo snapshot assembly and JSON serialization

* chore(logging): enhance logging throughout various components for better traceability and debugging

* chore(Utils): enhance logging for user IRI extraction in IntroNanopub

* chore(TrustStatePage): enhance logging for trust-state snapshot resolution and querying

* chore(NanopubLoader): enhance logging for nanopub retrieval and processing

* chore(Task): enhance logging for task execution and status transitions

313 of 1106 branches covered (28.3%)

Branch coverage included in aggregate %.

1048 of 3157 relevant lines covered (33.2%)

5.51 hits per line

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

75.0
src/main/java/com/knowledgepixels/registry/ApplicationLauncher.java
1
package com.knowledgepixels.registry;
2

3
import io.vertx.core.Launcher;
4
import io.vertx.core.VertxOptions;
5
import io.vertx.micrometer.MicrometerMetricsOptions;
6
import io.vertx.micrometer.VertxPrometheusOptions;
7
import org.slf4j.Logger;
8
import org.slf4j.LoggerFactory;
9

10
import java.util.Arrays;
11

12
public class ApplicationLauncher extends Launcher {
9✔
13

14
    private static final Logger logger = LoggerFactory.getLogger(ApplicationLauncher.class);
12✔
15

16
    public static void main(String[] args) {
17
        logger.info("Starting application with args={}", Arrays.toString(args));
×
18
        new ApplicationLauncher().dispatch(args);
×
19
    }
×
20

21
    @Override
22
    public void beforeStartingVertx(VertxOptions options) {
23
        logger.info("Configuring Vert.x metrics: Micrometer + Prometheus enabled, JVM metrics enabled");
9✔
24
        options.setMetricsOptions(
30✔
25
                // Enable Micrometer metrics
26
                new MicrometerMetricsOptions()
27
                        .setPrometheusOptions(new VertxPrometheusOptions().setEnabled(true))
9✔
28
                        .setJvmMetricsEnabled(true)
6✔
29
                        .setEnabled(true)
3✔
30
        );
31
        logger.debug("VertxOptions after metrics configuration: {}", options);
12✔
32
    }
3✔
33

34
}
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