Source compatibility report for the metrics-servlets library between 4.2.29 and 5.0.0 versions
Test Info
Library Name | metrics-servlets |
Version #1 | 4.2.29 |
Version #2 | 5.0.0 |
Test Results
Total Java Modules | 1 |
Total Methods / Classes | 76 / 16 |
Compatibility |
0% |
Problem Summary
| Severity | Count |
Added Methods | - | 36 |
Removed Methods | High | 40 |
Problems with Data Types | High | 8 |
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
Medium | 0 |
Low | 0 |
Added Methods 36
metrics-servlets-5.0.0.jar, AdminServlet.class
package io.dropwizard.metrics5.servlets
AdminServlet.AdminServlet ( )
io/dropwizard/metrics5/servlets/AdminServlet."<init>":()V
AdminServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/AdminServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
AdminServlet.init ( ServletConfig config ) : void
io/dropwizard/metrics5/servlets/AdminServlet.init:(Ljavax/servlet/ServletConfig;)V
AdminServlet.service ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/AdminServlet.service:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
metrics-servlets-5.0.0.jar, ContextListener.class
package io.dropwizard.metrics5.servlets
HealthCheckServlet.ContextListener.contextDestroyed ( ServletContextEvent event ) : void
io/dropwizard/metrics5/servlets/HealthCheckServlet.ContextListener.contextDestroyed:(Ljavax/servlet/ServletContextEvent;)V
HealthCheckServlet.ContextListener.contextInitialized ( ServletContextEvent event ) : void
io/dropwizard/metrics5/servlets/HealthCheckServlet.ContextListener.contextInitialized:(Ljavax/servlet/ServletContextEvent;)V
HealthCheckServlet.ContextListener.getExecutorService ( ) : ExecutorService
io/dropwizard/metrics5/servlets/HealthCheckServlet.ContextListener.getExecutorService:()Ljava/util/concurrent/ExecutorService;
HealthCheckServlet.ContextListener.getHealthCheckFilter ( ) : HealthCheckFilter
io/dropwizard/metrics5/servlets/HealthCheckServlet.ContextListener.getHealthCheckFilter:()Lio/dropwizard/metrics5/health/HealthCheckFilter;
HealthCheckServlet.ContextListener.getHealthCheckRegistry ( ) [abstract] : HealthCheckRegistry
io/dropwizard/metrics5/servlets/HealthCheckServlet.ContextListener.getHealthCheckRegistry:()Lio/dropwizard/metrics5/health/HealthCheckRegistry;
HealthCheckServlet.ContextListener.HealthCheckServlet.ContextListener ( )
io/dropwizard/metrics5/servlets/HealthCheckServlet.ContextListener."<init>":()V
MetricsServlet.ContextListener.contextDestroyed ( ServletContextEvent event ) : void
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.contextDestroyed:(Ljavax/servlet/ServletContextEvent;)V
MetricsServlet.ContextListener.contextInitialized ( ServletContextEvent event ) : void
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.contextInitialized:(Ljavax/servlet/ServletContextEvent;)V
MetricsServlet.ContextListener.getAllowedOrigin ( ) : String
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.getAllowedOrigin:()Ljava/lang/String;
MetricsServlet.ContextListener.getDurationUnit ( ) : TimeUnit
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.getDurationUnit:()Ljava/util/concurrent/TimeUnit;
MetricsServlet.ContextListener.getJsonpCallbackParameter ( ) : String
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.getJsonpCallbackParameter:()Ljava/lang/String;
MetricsServlet.ContextListener.getMetricFilter ( ) : MetricFilter
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.getMetricFilter:()Lio/dropwizard/metrics5/MetricFilter;
MetricsServlet.ContextListener.getMetricRegistry ( ) [abstract] : MetricRegistry
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.getMetricRegistry:()Lio/dropwizard/metrics5/MetricRegistry;
MetricsServlet.ContextListener.getRateUnit ( ) : TimeUnit
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener.getRateUnit:()Ljava/util/concurrent/TimeUnit;
MetricsServlet.ContextListener.MetricsServlet.ContextListener ( )
io/dropwizard/metrics5/servlets/MetricsServlet.ContextListener."<init>":()V
metrics-servlets-5.0.0.jar, CpuProfileServlet.class
package io.dropwizard.metrics5.servlets
CpuProfileServlet.CpuProfileServlet ( )
io/dropwizard/metrics5/servlets/CpuProfileServlet."<init>":()V
CpuProfileServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/CpuProfileServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
CpuProfileServlet.doProfile ( OutputStream out, int duration, int frequency, Thread.State state ) : void
io/dropwizard/metrics5/servlets/CpuProfileServlet.doProfile:(Ljava/io/OutputStream;IILjava/lang/Thread$State;)V
metrics-servlets-5.0.0.jar, HealthCheckServlet.class
package io.dropwizard.metrics5.servlets
HealthCheckServlet.destroy ( ) : void
io/dropwizard/metrics5/servlets/HealthCheckServlet.destroy:()V
HealthCheckServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/HealthCheckServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
HealthCheckServlet.HealthCheckServlet ( )
io/dropwizard/metrics5/servlets/HealthCheckServlet."<init>":()V
HealthCheckServlet.HealthCheckServlet ( HealthCheckRegistry registry )
io/dropwizard/metrics5/servlets/HealthCheckServlet."<init>":(Lio/dropwizard/metrics5/health/HealthCheckRegistry;)V
HealthCheckServlet.init ( ServletConfig config ) : void
io/dropwizard/metrics5/servlets/HealthCheckServlet.init:(Ljavax/servlet/ServletConfig;)V
metrics-servlets-5.0.0.jar, MetricsServlet.class
package io.dropwizard.metrics5.servlets
MetricsServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/MetricsServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
MetricsServlet.init ( ServletConfig config ) : void
io/dropwizard/metrics5/servlets/MetricsServlet.init:(Ljavax/servlet/ServletConfig;)V
MetricsServlet.MetricsServlet ( )
io/dropwizard/metrics5/servlets/MetricsServlet."<init>":()V
MetricsServlet.MetricsServlet ( MetricRegistry registry )
io/dropwizard/metrics5/servlets/MetricsServlet."<init>":(Lio/dropwizard/metrics5/MetricRegistry;)V
metrics-servlets-5.0.0.jar, PingServlet.class
package io.dropwizard.metrics5.servlets
PingServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/PingServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
PingServlet.PingServlet ( )
io/dropwizard/metrics5/servlets/PingServlet."<init>":()V
metrics-servlets-5.0.0.jar, ThreadDumpServlet.class
package io.dropwizard.metrics5.servlets
ThreadDumpServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
io/dropwizard/metrics5/servlets/ThreadDumpServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
ThreadDumpServlet.init ( ) : void
io/dropwizard/metrics5/servlets/ThreadDumpServlet.init:()V
ThreadDumpServlet.ThreadDumpServlet ( )
io/dropwizard/metrics5/servlets/ThreadDumpServlet."<init>":()V
to the top
Removed Methods 40
metrics-servlets-4.2.29.jar, AdminServlet.class
package com.codahale.metrics.servlets
AdminServlet.AdminServlet ( )
com/codahale/metrics/servlets/AdminServlet."<init>":()V
AdminServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/AdminServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
AdminServlet.init ( ServletConfig config ) : void
com/codahale/metrics/servlets/AdminServlet.init:(Ljavax/servlet/ServletConfig;)V
AdminServlet.service ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/AdminServlet.service:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
metrics-servlets-4.2.29.jar, ContextListener.class
package com.codahale.metrics.servlets
HealthCheckServlet.ContextListener.contextDestroyed ( ServletContextEvent event ) : void
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener.contextDestroyed:(Ljavax/servlet/ServletContextEvent;)V
HealthCheckServlet.ContextListener.contextInitialized ( ServletContextEvent event ) : void
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener.contextInitialized:(Ljavax/servlet/ServletContextEvent;)V
HealthCheckServlet.ContextListener.getExecutorService ( ) : ExecutorService
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener.getExecutorService:()Ljava/util/concurrent/ExecutorService;
HealthCheckServlet.ContextListener.getHealthCheckFilter ( ) : HealthCheckFilter
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener.getHealthCheckFilter:()Lcom/codahale/metrics/health/HealthCheckFilter;
HealthCheckServlet.ContextListener.getHealthCheckRegistry ( ) [abstract] : HealthCheckRegistry
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener.getHealthCheckRegistry:()Lcom/codahale/metrics/health/HealthCheckRegistry;
HealthCheckServlet.ContextListener.getObjectMapper ( ) : ObjectMapper
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener.getObjectMapper:()Lcom/fasterxml/jackson/databind/ObjectMapper;
HealthCheckServlet.ContextListener.HealthCheckServlet.ContextListener ( )
com/codahale/metrics/servlets/HealthCheckServlet.ContextListener."<init>":()V
MetricsServlet.ContextListener.contextDestroyed ( ServletContextEvent event ) : void
com/codahale/metrics/servlets/MetricsServlet.ContextListener.contextDestroyed:(Ljavax/servlet/ServletContextEvent;)V
MetricsServlet.ContextListener.contextInitialized ( ServletContextEvent event ) : void
com/codahale/metrics/servlets/MetricsServlet.ContextListener.contextInitialized:(Ljavax/servlet/ServletContextEvent;)V
MetricsServlet.ContextListener.getAllowedOrigin ( ) : String
com/codahale/metrics/servlets/MetricsServlet.ContextListener.getAllowedOrigin:()Ljava/lang/String;
MetricsServlet.ContextListener.getDurationUnit ( ) : TimeUnit
com/codahale/metrics/servlets/MetricsServlet.ContextListener.getDurationUnit:()Ljava/util/concurrent/TimeUnit;
MetricsServlet.ContextListener.getJsonpCallbackParameter ( ) : String
com/codahale/metrics/servlets/MetricsServlet.ContextListener.getJsonpCallbackParameter:()Ljava/lang/String;
MetricsServlet.ContextListener.getMetricFilter ( ) : MetricFilter
com/codahale/metrics/servlets/MetricsServlet.ContextListener.getMetricFilter:()Lcom/codahale/metrics/MetricFilter;
MetricsServlet.ContextListener.getMetricRegistry ( ) [abstract] : MetricRegistry
com/codahale/metrics/servlets/MetricsServlet.ContextListener.getMetricRegistry:()Lcom/codahale/metrics/MetricRegistry;
MetricsServlet.ContextListener.getRateUnit ( ) : TimeUnit
com/codahale/metrics/servlets/MetricsServlet.ContextListener.getRateUnit:()Ljava/util/concurrent/TimeUnit;
MetricsServlet.ContextListener.MetricsServlet.ContextListener ( )
com/codahale/metrics/servlets/MetricsServlet.ContextListener."<init>":()V
metrics-servlets-4.2.29.jar, CpuProfileServlet.class
package com.codahale.metrics.servlets
CpuProfileServlet.CpuProfileServlet ( )
com/codahale/metrics/servlets/CpuProfileServlet."<init>":()V
CpuProfileServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/CpuProfileServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
CpuProfileServlet.doProfile ( OutputStream out, int duration, int frequency, Thread.State state ) : void
com/codahale/metrics/servlets/CpuProfileServlet.doProfile:(Ljava/io/OutputStream;IILjava/lang/Thread$State;)V
metrics-servlets-4.2.29.jar, HealthCheckServlet.class
package com.codahale.metrics.servlets
HealthCheckServlet.destroy ( ) : void
com/codahale/metrics/servlets/HealthCheckServlet.destroy:()V
HealthCheckServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/HealthCheckServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
HealthCheckServlet.HealthCheckServlet ( )
com/codahale/metrics/servlets/HealthCheckServlet."<init>":()V
HealthCheckServlet.HealthCheckServlet ( HealthCheckRegistry registry )
com/codahale/metrics/servlets/HealthCheckServlet."<init>":(Lcom/codahale/metrics/health/HealthCheckRegistry;)V
HealthCheckServlet.init ( ServletConfig config ) : void
com/codahale/metrics/servlets/HealthCheckServlet.init:(Ljavax/servlet/ServletConfig;)V
metrics-servlets-4.2.29.jar, MetricsServlet.class
package com.codahale.metrics.servlets
MetricsServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/MetricsServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
MetricsServlet.getWriter ( HttpServletRequest request ) : ObjectWriter
com/codahale/metrics/servlets/MetricsServlet.getWriter:(Ljavax/servlet/http/HttpServletRequest;)Lcom/fasterxml/jackson/databind/ObjectWriter;
MetricsServlet.init ( ServletConfig config ) : void
com/codahale/metrics/servlets/MetricsServlet.init:(Ljavax/servlet/ServletConfig;)V
MetricsServlet.MetricsServlet ( )
com/codahale/metrics/servlets/MetricsServlet."<init>":()V
MetricsServlet.MetricsServlet ( MetricRegistry registry )
com/codahale/metrics/servlets/MetricsServlet."<init>":(Lcom/codahale/metrics/MetricRegistry;)V
MetricsServlet.parseTimeUnit ( String value, TimeUnit defaultValue ) : TimeUnit
com/codahale/metrics/servlets/MetricsServlet.parseTimeUnit:(Ljava/lang/String;Ljava/util/concurrent/TimeUnit;)Ljava/util/concurrent/TimeUnit;
MetricsServlet.setupMetricsModule ( ServletContext context ) : void
com/codahale/metrics/servlets/MetricsServlet.setupMetricsModule:(Ljavax/servlet/ServletContext;)V
metrics-servlets-4.2.29.jar, PingServlet.class
package com.codahale.metrics.servlets
PingServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/PingServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
PingServlet.PingServlet ( )
com/codahale/metrics/servlets/PingServlet."<init>":()V
metrics-servlets-4.2.29.jar, ThreadDumpServlet.class
package com.codahale.metrics.servlets
ThreadDumpServlet.doGet ( HttpServletRequest req, HttpServletResponse resp ) : void
com/codahale/metrics/servlets/ThreadDumpServlet.doGet:(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
ThreadDumpServlet.init ( ) : void
com/codahale/metrics/servlets/ThreadDumpServlet.init:()V
ThreadDumpServlet.ThreadDumpServlet ( )
com/codahale/metrics/servlets/ThreadDumpServlet."<init>":()V
to the top
Problems with Data Types, High Severity 8
metrics-servlets-4.2.29.jar
package com.codahale.metrics.servlets
[+] class AdminServlet 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class AdminServlet. |
[+] affected methods: 4 (5.3%)
AdminServlet.AdminServlet ( )This constructor is from 'AdminServlet' class.
AdminServlet.doGet ( HttpServletRequest req, HttpServletResponse resp )This method is from 'AdminServlet' class.
AdminServlet.init ( ServletConfig config )This method is from 'AdminServlet' class.
AdminServlet.service ( HttpServletRequest req, HttpServletResponse resp )This method is from 'AdminServlet' class.
[+] class CpuProfileServlet 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class CpuProfileServlet. |
[+] affected methods: 3 (3.9%)
CpuProfileServlet.CpuProfileServlet ( )This constructor is from 'CpuProfileServlet' class.
CpuProfileServlet.doGet ( HttpServletRequest req, HttpServletResponse resp )This method is from 'CpuProfileServlet' class.
CpuProfileServlet.doProfile ( OutputStream out, int duration, int frequency, Thread.State state )This method is from 'CpuProfileServlet' class.
[+] class HealthCheckServlet 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class HealthCheckServlet. |
[+] affected methods: 5 (6.6%)
HealthCheckServlet.HealthCheckServlet ( )This constructor is from 'HealthCheckServlet' class.
HealthCheckServlet.HealthCheckServlet ( HealthCheckRegistry registry )This constructor is from 'HealthCheckServlet' class.
HealthCheckServlet.destroy ( )This method is from 'HealthCheckServlet' class.
HealthCheckServlet.doGet ( HttpServletRequest req, HttpServletResponse resp )This method is from 'HealthCheckServlet' class.
HealthCheckServlet.init ( ServletConfig config )This method is from 'HealthCheckServlet' class.
[+] class HealthCheckServlet.ContextListener 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class HealthCheckServlet.ContextListener. |
[+] affected methods: 7 (9.2%)
HealthCheckServlet.ContextListener.HealthCheckServlet.ContextListener ( )This constructor is from 'HealthCheckServlet.ContextListener' abstract class.
HealthCheckServlet.ContextListener.contextDestroyed ( ServletContextEvent event )This method is from 'HealthCheckServlet.ContextListener' abstract class.
HealthCheckServlet.ContextListener.contextInitialized ( ServletContextEvent event )This method is from 'HealthCheckServlet.ContextListener' abstract class.
HealthCheckServlet.ContextListener.getExecutorService ( )This method is from 'HealthCheckServlet.ContextListener' abstract class.
HealthCheckServlet.ContextListener.getHealthCheckFilter ( )This method is from 'HealthCheckServlet.ContextListener' abstract class.
...
[+] class MetricsServlet 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class MetricsServlet. |
[+] affected methods: 7 (9.2%)
MetricsServlet.MetricsServlet ( )This constructor is from 'MetricsServlet' class.
MetricsServlet.MetricsServlet ( MetricRegistry registry )This constructor is from 'MetricsServlet' class.
MetricsServlet.doGet ( HttpServletRequest req, HttpServletResponse resp )This method is from 'MetricsServlet' class.
MetricsServlet.getWriter ( HttpServletRequest request )This method is from 'MetricsServlet' class.
MetricsServlet.init ( ServletConfig config )This method is from 'MetricsServlet' class.
...
[+] class MetricsServlet.ContextListener 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class MetricsServlet.ContextListener. |
[+] affected methods: 9 (11.8%)
MetricsServlet.ContextListener.MetricsServlet.ContextListener ( )This constructor is from 'MetricsServlet.ContextListener' abstract class.
MetricsServlet.ContextListener.contextDestroyed ( ServletContextEvent event )This method is from 'MetricsServlet.ContextListener' abstract class.
MetricsServlet.ContextListener.contextInitialized ( ServletContextEvent event )This method is from 'MetricsServlet.ContextListener' abstract class.
MetricsServlet.ContextListener.getAllowedOrigin ( )This method is from 'MetricsServlet.ContextListener' abstract class.
MetricsServlet.ContextListener.getDurationUnit ( )This method is from 'MetricsServlet.ContextListener' abstract class.
...
[+] class PingServlet 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class PingServlet. |
[+] affected methods: 2 (2.6%)
PingServlet.PingServlet ( )This constructor is from 'PingServlet' class.
PingServlet.doGet ( HttpServletRequest req, HttpServletResponse resp )This method is from 'PingServlet' class.
[+] class ThreadDumpServlet 1
| Change | Effect |
---|
1 |
This class has been removed. |
Recompilation of a client program may be terminated with the message: cannot find class ThreadDumpServlet. |
[+] affected methods: 3 (3.9%)
ThreadDumpServlet.ThreadDumpServlet ( )This constructor is from 'ThreadDumpServlet' class.
ThreadDumpServlet.doGet ( HttpServletRequest req, HttpServletResponse resp )This method is from 'ThreadDumpServlet' class.
ThreadDumpServlet.init ( )This method is from 'ThreadDumpServlet' class.
to the top
Java Archives 1
metrics-servlets-4.2.29.jar
to the top