Metric Results

[ summary ] [ packages ] [ cycles ] [ explanations ]

The following document contains the results of a JDepend metric analysis. The various metrics are defined at the bottom of this document.

Summary

[ summary ] [ packages ] [ cycles ] [ explanations ]

Package TC CC AC Ca Ce A I D V com.reallifedeveloper.common.application.eventstore 5 3 2 2 8 40.0% 80.0% 20.0% 1 com.reallifedeveloper.common.application.notification 11 7 4 4 13 36.0% 76.0% 13.0% 1 com.reallifedeveloper.common.domain 12 3 9 11 5 75.0% 31.0% 6.0% 1 com.reallifedeveloper.common.domain.event 9 4 5 4 8 56.0% 67.0% 22.0% 1 com.reallifedeveloper.common.domain.registry 3 1 2 2 5 67.0% 71.0% 38.0% 1 com.reallifedeveloper.common.infrastructure 9 8 1 0 15 11.0% 100.0% 11.0% 1 com.reallifedeveloper.common.infrastructure.jmx 7 3 4 0 15 57.0% 100.0% 57.0% 1 com.reallifedeveloper.common.infrastructure.messaging 4 3 1 0 13 25.0% 100.0% 25.0% 1 com.reallifedeveloper.common.infrastructure.persistence 6 3 3 1 11 50.0% 92.0% 42.0% 1 com.reallifedeveloper.common.resource 3 2 1 2 12 33.0% 86.0% 19.0% 1 com.reallifedeveloper.common.resource.documentation 4 2 2 1 9 50.0% 90.0% 40.0% 1 com.reallifedeveloper.common.resource.notification 5 4 1 0 13 20.0% 100.0% 20.0% 1

Packages

[ summary ] [ packages ] [ cycles ] [ explanations ]

com.reallifedeveloper.common.application.eventstore

Afferent Couplings Efferent Couplings Abstractness Instability Distance 2 8 40.0% 80.0% 20.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.application.eventstore.StoredEventRepository
com.reallifedeveloper.common.application.eventstore.package-info
com.reallifedeveloper.common.application.eventstore.EventStore
com.reallifedeveloper.common.application.eventstore.EventStoringSubscriber
com.reallifedeveloper.common.application.eventstore.StoredEvent
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.infrastructure.persistence
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.domain.event
jakarta.persistence
java.lang
java.lang.invoke
java.time
java.util
org.slf4j

com.reallifedeveloper.common.application.notification

Afferent Couplings Efferent Couplings Abstractness Instability Distance 4 13 36.0% 76.0% 13.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.application.notification.NotificationPublisher
com.reallifedeveloper.common.application.notification.NotificationReader
com.reallifedeveloper.common.application.notification.PublishedMessageTrackerRepository
com.reallifedeveloper.common.application.notification.package-info
com.reallifedeveloper.common.application.notification.Notification
com.reallifedeveloper.common.application.notification.NotificationFactory
com.reallifedeveloper.common.application.notification.NotificationLog
com.reallifedeveloper.common.application.notification.NotificationLogId
com.reallifedeveloper.common.application.notification.NotificationPublisherTask
com.reallifedeveloper.common.application.notification.NotificationService
com.reallifedeveloper.common.application.notification.PublishedMessageTracker
com.reallifedeveloper.common.infrastructure
com.reallifedeveloper.common.infrastructure.messaging
com.reallifedeveloper.common.infrastructure.persistence
com.reallifedeveloper.common.resource.notification
com.reallifedeveloper.common.application.eventstore
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.infrastructure.persistence
jakarta.persistence
java.io
java.lang
java.lang.invoke
java.lang.runtime
java.time
java.util
org.slf4j
org.springframework.transaction.annotation

com.reallifedeveloper.common.domain

Afferent Couplings Efferent Couplings Abstractness Instability Distance 11 5 75.0% 31.0% 6.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.domain.AbstractValueObject
com.reallifedeveloper.common.domain.AggregateRoot
com.reallifedeveloper.common.domain.DomainEntity
com.reallifedeveloper.common.domain.DomainObject
com.reallifedeveloper.common.domain.ObjectSerializer
com.reallifedeveloper.common.domain.Repository
com.reallifedeveloper.common.domain.TimeService
com.reallifedeveloper.common.domain.ValueObject
com.reallifedeveloper.common.domain.package-info
com.reallifedeveloper.common.domain.ClockTimeService
com.reallifedeveloper.common.domain.ErrorHandling
com.reallifedeveloper.common.domain.LogUtil
com.reallifedeveloper.common.application.eventstore
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.infrastructure
com.reallifedeveloper.common.infrastructure.jmx
com.reallifedeveloper.common.infrastructure.messaging
com.reallifedeveloper.common.infrastructure.persistence
com.reallifedeveloper.common.resource
com.reallifedeveloper.common.resource.documentation
com.reallifedeveloper.common.resource.notification
java.io
java.lang
java.time
java.util
org.checkerframework.checker.nullness.qual

com.reallifedeveloper.common.domain.event

Afferent Couplings Efferent Couplings Abstractness Instability Distance 4 8 56.0% 67.0% 22.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.domain.event.AbstractDomainEvent
com.reallifedeveloper.common.domain.event.DomainEvent
com.reallifedeveloper.common.domain.event.DomainEventPublisher
com.reallifedeveloper.common.domain.event.DomainEventSubscriber
com.reallifedeveloper.common.domain.event.package-info
com.reallifedeveloper.common.domain.event.EventSavingSubscriber
com.reallifedeveloper.common.domain.event.LoggingDomainEventSubscriber
com.reallifedeveloper.common.domain.event.SimpleDomainEventPublisher
com.reallifedeveloper.common.domain.event.ThreadLocalDomainEventPublisher
com.reallifedeveloper.common.application.eventstore
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.infrastructure
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.domain.registry
java.io
java.lang
java.lang.invoke
java.time
java.util
org.slf4j

com.reallifedeveloper.common.domain.registry

Afferent Couplings Efferent Couplings Abstractness Instability Distance 2 5 67.0% 71.0% 38.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.domain.registry.AbstractDomainRegistry
com.reallifedeveloper.common.domain.registry.package-info
com.reallifedeveloper.common.domain.registry.CommonDomainRegistry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.infrastructure.persistence
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.domain.event
java.lang
java.util.concurrent.locks
org.springframework.context

com.reallifedeveloper.common.infrastructure

Afferent Couplings Efferent Couplings Abstractness Instability Distance 0 15 11.0% 100.0% 11.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.infrastructure.package-info
com.reallifedeveloper.common.infrastructure.GsonNotificationReader
com.reallifedeveloper.common.infrastructure.GsonNotificationReader$JsonUtil
com.reallifedeveloper.common.infrastructure.GsonObjectSerializer
com.reallifedeveloper.common.infrastructure.GsonObjectSerializer$LocalDateAdapter
com.reallifedeveloper.common.infrastructure.GsonObjectSerializer$LocalDateTmeAdapter
com.reallifedeveloper.common.infrastructure.GsonObjectSerializer$NotificationDeserializer
com.reallifedeveloper.common.infrastructure.GsonObjectSerializer$ZonedDateTmeAdapter
com.reallifedeveloper.common.infrastructure.Markdown4jHtmlProducer
None com.google.gson
com.google.gson.stream
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.resource.documentation
java.io
java.lang
java.lang.invoke
java.lang.reflect
java.time
java.time.format
java.util
org.markdown4j
org.slf4j

com.reallifedeveloper.common.infrastructure.jmx

Afferent Couplings Efferent Couplings Abstractness Instability Distance 0 15 57.0% 100.0% 57.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.infrastructure.jmx.ConnectionPoolConfiguratorMXBean
com.reallifedeveloper.common.infrastructure.jmx.LogConfiguratorMXBean
com.reallifedeveloper.common.infrastructure.jmx.SystemInfoMXBean
com.reallifedeveloper.common.infrastructure.jmx.package-info
com.reallifedeveloper.common.infrastructure.jmx.Log4jConfigurator
com.reallifedeveloper.common.infrastructure.jmx.ServletContextSystemInfo
com.reallifedeveloper.common.infrastructure.jmx.TomcatConnectionPoolConfigurator
None com.reallifedeveloper.common.domain
jakarta.servlet
java.io
java.lang
java.lang.invoke
java.util
java.util.jar
java.util.stream
org.apache.logging.log4j
org.apache.logging.log4j.core
org.apache.logging.log4j.core.config
org.apache.tomcat.jdbc.pool
org.slf4j
org.springframework.jmx.export.annotation
org.springframework.web.context

com.reallifedeveloper.common.infrastructure.messaging

Afferent Couplings Efferent Couplings Abstractness Instability Distance 0 13 25.0% 100.0% 25.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.infrastructure.messaging.package-info
com.reallifedeveloper.common.infrastructure.messaging.KafkaNotificationPublisher
com.reallifedeveloper.common.infrastructure.messaging.KafkaSecurityConfiguration
com.reallifedeveloper.common.infrastructure.messaging.RabbitMQNotificationPublisher
None com.rabbitmq.client
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain
java.io
java.lang
java.lang.invoke
java.nio.file
java.util
java.util.concurrent
org.apache.kafka.common.config
org.slf4j
org.springframework.core.io
org.springframework.kafka.core

com.reallifedeveloper.common.infrastructure.persistence

Afferent Couplings Efferent Couplings Abstractness Instability Distance 1 11 50.0% 92.0% 42.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.infrastructure.persistence.JpaPublishedMessageTrackerRepository
com.reallifedeveloper.common.infrastructure.persistence.JpaStoredEventRepository
com.reallifedeveloper.common.infrastructure.persistence.package-info
com.reallifedeveloper.common.infrastructure.persistence.BaseJpaEntity
com.reallifedeveloper.common.infrastructure.persistence.BaseJpaRepository
com.reallifedeveloper.common.infrastructure.persistence.TimestampedJpaEntity
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.application.eventstore
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.domain.registry
jakarta.persistence
java.lang
java.lang.invoke
java.lang.reflect
java.time
java.util
org.springframework.data.jpa.repository

com.reallifedeveloper.common.resource

Afferent Couplings Efferent Couplings Abstractness Instability Distance 2 12 33.0% 86.0% 19.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.resource.package-info
com.reallifedeveloper.common.resource.BaseResource
com.reallifedeveloper.common.resource.ResourceUtil
com.reallifedeveloper.common.resource.documentation
com.reallifedeveloper.common.resource.notification
com.reallifedeveloper.common.domain
jakarta.ws.rs
jakarta.ws.rs.core
java.io
java.lang
java.lang.invoke
java.net
java.time
java.time.format
java.util
java.util.stream
org.slf4j

com.reallifedeveloper.common.resource.documentation

Afferent Couplings Efferent Couplings Abstractness Instability Distance 1 9 50.0% 90.0% 40.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.resource.documentation.HtmlProducer
com.reallifedeveloper.common.resource.documentation.package-info
com.reallifedeveloper.common.resource.documentation.DocumentationResource
com.reallifedeveloper.common.resource.documentation.DocumentationResource$1
com.reallifedeveloper.common.infrastructure
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.resource
jakarta.ws.rs
jakarta.ws.rs.core
java.io
java.lang
java.lang.invoke
java.net
java.util

com.reallifedeveloper.common.resource.notification

Afferent Couplings Efferent Couplings Abstractness Instability Distance 0 13 20.0% 100.0% 20.0% Abstract Classes Concrete Classes Used by Packages Uses Packages com.reallifedeveloper.common.resource.notification.package-info
com.reallifedeveloper.common.resource.notification.NotificationLogRepresentation
com.reallifedeveloper.common.resource.notification.NotificationRepresentation
com.reallifedeveloper.common.resource.notification.NotificationResource
com.reallifedeveloper.common.resource.notification.NotificationResource$Links
None com.fasterxml.jackson.annotation
com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain
com.reallifedeveloper.common.resource
jakarta.ws.rs
jakarta.ws.rs.core
jakarta.xml.bind.annotation
java.lang
java.lang.invoke
java.net
java.time
java.util
org.slf4j

Cycles

[ summary ] [ packages ] [ cycles ] [ explanations ]

Package Package Dependencies com.reallifedeveloper.common.application.eventstore com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.application.notification com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.event com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.infrastructure com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.infrastructure.messaging com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.infrastructure.persistence com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.resource.notification com.reallifedeveloper.common.application.notification
com.reallifedeveloper.common.domain.event
com.reallifedeveloper.common.domain.registry
com.reallifedeveloper.common.domain.event

Explanation

[ summary ] [ packages ] [ cycles ] [ explanations ]

The following explanations are for quick reference and are lifted directly from the original JDepend documentation.

Term Description Number of Classes The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package. Afferent Couplings The number of other packages that depend upon classes within the package is an indicator of the package's responsibility. Efferent Couplings The number of other packages that the classes in the package depend upon is an indicator of the package's independence. Abstractness The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package. The range for this metric is 0 to 1, with A=0 indicating a completely concrete package and A=1 indicating a completely abstract package. Instability The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change. The range for this metric is 0 to 1, with I=0 indicating a completely stable package and I=1 indicating a completely instable package. Distance The perpendicular distance of a package from the idealized line A + I = 1. This metric is an indicator of the package's balance between abstractness and stability. A package squarely on the main sequence is optimally balanced with respect to its abstractness and stability. Ideal packages are either completely abstract and stable (x=0, y=1) or completely concrete and instable (x=1, y=0). The range for this metric is 0 to 1, with D=0 indicating a package that is coincident with the main sequence and D=1 indicating a package that is as far from the main sequence as possible. Cycles Packages participating in a package dependency cycle are in a deadly embrace with respect to reusability and their release cycle. Package dependency cycles can be easily identified by reviewing the textual reports of dependency cycles. Once these dependency cycles have been identified with JDepend, they can be broken by employing various object-oriented techniques.