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
org.mybatis.spring 9 9 0 3 30 0.0% 91.0% 9.0% 1
org.mybatis.spring.annotation 2 1 1 0 12 50.0% 100.0% 50.0% 1
org.mybatis.spring.batch 2 2 0 0 12 0.0% 100.0% 0.0% 1
org.mybatis.spring.config 2 2 0 0 9 0.0% 100.0% 0.0% 1
org.mybatis.spring.mapper 6 6 0 2 20 0.0% 91.0% 9.0% 1
org.mybatis.spring.support 1 0 1 1 4 100.0% 80.0% 80.0% 1
org.mybatis.spring.transaction 2 2 0 1 9 0.0% 90.0% 10.0% 1

Packages

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

org.mybatis.spring

Afferent Couplings Efferent Couplings Abstractness Instability Distance
3 30 0.0% 91.0% 9.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.mybatis.spring.MyBatisExceptionTranslator
org.mybatis.spring.MyBatisSystemException
org.mybatis.spring.SqlSessionFactoryBean
org.mybatis.spring.SqlSessionHolder
org.mybatis.spring.SqlSessionTemplate
org.mybatis.spring.SqlSessionTemplate$1
org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor
org.mybatis.spring.SqlSessionUtils
org.mybatis.spring.SqlSessionUtils$SqlSessionSynchronization
org.mybatis.spring.batch
org.mybatis.spring.mapper
org.mybatis.spring.support
java.io
java.lang
java.lang.reflect
java.sql
java.util
javax.sql
org.apache.ibatis.builder.xml
org.apache.ibatis.exceptions
org.apache.ibatis.executor
org.apache.ibatis.logging
org.apache.ibatis.mapping
org.apache.ibatis.plugin
org.apache.ibatis.reflection
org.apache.ibatis.reflection.factory
org.apache.ibatis.reflection.wrapper
org.apache.ibatis.session
org.apache.ibatis.transaction
org.apache.ibatis.type
org.mybatis.spring.transaction
org.springframework.beans.factory
org.springframework.context
org.springframework.context.event
org.springframework.core
org.springframework.core.io
org.springframework.dao
org.springframework.dao.support
org.springframework.jdbc.datasource
org.springframework.jdbc.support
org.springframework.transaction.support
org.springframework.util

org.mybatis.spring.annotation

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 50.0% 100.0% 50.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.mybatis.spring.annotation.MapperScan
org.mybatis.spring.annotation.MapperScannerRegistrar
None java.lang
java.lang.annotation
java.util
org.mybatis.spring.mapper
org.springframework.beans
org.springframework.beans.factory.support
org.springframework.context
org.springframework.context.annotation
org.springframework.core.annotation
org.springframework.core.io
org.springframework.core.type
org.springframework.util

org.mybatis.spring.batch

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 12 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.mybatis.spring.batch.MyBatisBatchItemWriter
org.mybatis.spring.batch.MyBatisPagingItemReader
None java.lang
java.util
java.util.concurrent
org.apache.ibatis.executor
org.apache.ibatis.logging
org.apache.ibatis.session
org.mybatis.spring
org.springframework.batch.item
org.springframework.batch.item.database
org.springframework.beans.factory
org.springframework.dao
org.springframework.util

org.mybatis.spring.config

Afferent Couplings Efferent Couplings Abstractness Instability Distance
0 9 0.0% 100.0% 0.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.mybatis.spring.config.MapperScannerBeanDefinitionParser
org.mybatis.spring.config.NamespaceHandler
None java.lang
org.mybatis.spring.mapper
org.springframework.beans
org.springframework.beans.factory.config
org.springframework.beans.factory.support
org.springframework.beans.factory.xml
org.springframework.core.io
org.springframework.util
org.w3c.dom

org.mybatis.spring.mapper

Afferent Couplings Efferent Couplings Abstractness Instability Distance
2 20 0.0% 91.0% 9.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.mybatis.spring.mapper.ClassPathMapperScanner
org.mybatis.spring.mapper.ClassPathMapperScanner$1
org.mybatis.spring.mapper.ClassPathMapperScanner$2
org.mybatis.spring.mapper.ClassPathMapperScanner$3
org.mybatis.spring.mapper.MapperFactoryBean
org.mybatis.spring.mapper.MapperScannerConfigurer
org.mybatis.spring.annotation
org.mybatis.spring.config
java.io
java.lang
java.util
org.apache.commons.logging
org.apache.ibatis.executor
org.apache.ibatis.session
org.mybatis.spring
org.mybatis.spring.support
org.springframework.beans
org.springframework.beans.factory
org.springframework.beans.factory.annotation
org.springframework.beans.factory.config
org.springframework.beans.factory.support
org.springframework.context
org.springframework.context.annotation
org.springframework.context.support
org.springframework.core.type
org.springframework.core.type.classreading
org.springframework.core.type.filter
org.springframework.util

org.mybatis.spring.support

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 4 100.0% 80.0% 80.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
org.mybatis.spring.support.SqlSessionDaoSupport
None org.mybatis.spring.mapper
org.apache.ibatis.session
org.mybatis.spring
org.springframework.dao.support
org.springframework.util

org.mybatis.spring.transaction

Afferent Couplings Efferent Couplings Abstractness Instability Distance
1 9 0.0% 90.0% 10.0%
Abstract Classes Concrete Classes Used by Packages Uses Packages
None org.mybatis.spring.transaction.SpringManagedTransaction
org.mybatis.spring.transaction.SpringManagedTransactionFactory
org.mybatis.spring
java.lang
java.sql
java.util
javax.sql
org.apache.ibatis.logging
org.apache.ibatis.session
org.apache.ibatis.transaction
org.springframework.jdbc.datasource
org.springframework.util

Cycles

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

There are no cyclic dependencies.

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.