Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
org.springframework.batch.sample | 1 | 1 | 0 | 0 | 4 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.advice | 6 | 6 | 0 | 0 | 8 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.dao | 16 | 11 | 5 | 1 | 21 | 31.0% | 95.0% | 27.000002% | 1 |
org.springframework.batch.sample.domain | 15 | 15 | 0 | 6 | 5 | 0.0% | 45.0% | 55.0% | 1 |
org.springframework.batch.sample.domain.xml | 4 | 4 | 0 | 0 | 3 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.exception.handler | 1 | 1 | 0 | 0 | 4 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.item.reader | 7 | 7 | 0 | 0 | 18 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.item.writer | 14 | 14 | 0 | 0 | 21 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.launch | 5 | 3 | 2 | 0 | 14 | 40.0% | 100.0% | 40.0% | 1 |
org.springframework.batch.sample.mapping | 14 | 14 | 0 | 0 | 6 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.quartz | 3 | 3 | 0 | 0 | 16 | 0.0% | 100.0% | 0.0% | 1 |
org.springframework.batch.sample.tasklet | 11 | 10 | 1 | 0 | 13 | 9.0% | 100.0% | 9.0% | 1 |
org.springframework.batch.sample.validation.valang.custom | 9 | 9 | 0 | 0 | 5 | 0.0% | 100.0% | 0.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 4 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.FieldSetResultSetExtractor |
None | java.lang java.sql java.util org.springframework.batch.item.file.mapping |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 8 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.advice.JobExecutionNotificationPublisher org.springframework.batch.sample.advice.MethodExecutionLogAdvice org.springframework.batch.sample.advice.ProcessorLogAdvice org.springframework.batch.sample.advice.SimpleMessageApplicationEvent org.springframework.batch.sample.advice.StepExecutionApplicationEventAdvice org.springframework.batch.sample.advice.TradeWriterLogAdvice |
None | java.lang javax.management org.apache.commons.logging org.aspectj.lang org.springframework.batch.core org.springframework.batch.sample.domain org.springframework.context org.springframework.jmx.export.notification |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 21 | 31.0% | 95.0% | 27.000002% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.springframework.batch.sample.dao.CustomerCreditDao org.springframework.batch.sample.dao.CustomerDebitDao org.springframework.batch.sample.dao.OrderDao org.springframework.batch.sample.dao.PlayerDao org.springframework.batch.sample.dao.TradeDao |
org.springframework.batch.sample.dao.FlatFileCustomerCreditDao org.springframework.batch.sample.dao.FlatFileOrderWriter org.springframework.batch.sample.dao.HibernateCreditDao org.springframework.batch.sample.dao.IbatisCustomerCreditDao org.springframework.batch.sample.dao.JdbcCustomerDebitDao org.springframework.batch.sample.dao.JdbcGameDao org.springframework.batch.sample.dao.JdbcPlayerDao org.springframework.batch.sample.dao.JdbcPlayerSummaryDao org.springframework.batch.sample.dao.JdbcTradeDao org.springframework.batch.sample.dao.OrderTransformer org.springframework.batch.sample.dao.OrderTransformer$OrderFormatterUtils |
org.springframework.batch.sample.item.writer |
java.lang java.math java.text java.util org.apache.commons.logging org.springframework.batch.item org.springframework.batch.item.file.mapping org.springframework.batch.item.file.transform org.springframework.batch.item.support org.springframework.batch.item.transform org.springframework.batch.repeat org.springframework.batch.sample.domain org.springframework.beans.factory org.springframework.jdbc.core org.springframework.jdbc.core.support org.springframework.jdbc.support.incrementer org.springframework.orm.hibernate3 org.springframework.orm.hibernate3.support org.springframework.orm.ibatis org.springframework.orm.ibatis.support org.springframework.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 5 | 0.0% | 45.0% | 55.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.domain.Address org.springframework.batch.sample.domain.BillingInfo org.springframework.batch.sample.domain.Child org.springframework.batch.sample.domain.Customer org.springframework.batch.sample.domain.CustomerCredit org.springframework.batch.sample.domain.CustomerDebit org.springframework.batch.sample.domain.Game org.springframework.batch.sample.domain.LineItem org.springframework.batch.sample.domain.Order org.springframework.batch.sample.domain.Person org.springframework.batch.sample.domain.PersonService org.springframework.batch.sample.domain.Player org.springframework.batch.sample.domain.PlayerSummary org.springframework.batch.sample.domain.ShippingInfo org.springframework.batch.sample.domain.Trade |
org.springframework.batch.sample.advice org.springframework.batch.sample.dao org.springframework.batch.sample.item.reader org.springframework.batch.sample.item.writer org.springframework.batch.sample.mapping org.springframework.batch.sample.validation.valang.custom |
java.io java.lang java.math java.util org.apache.commons.lang.builder |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 3 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.domain.xml.Customer org.springframework.batch.sample.domain.xml.LineItem org.springframework.batch.sample.domain.xml.Order org.springframework.batch.sample.domain.xml.Shipper |
None | java.lang java.util org.apache.commons.lang.builder |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 4 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.exception.handler.FootballExceptionHandler |
None | java.lang org.apache.commons.logging org.springframework.batch.repeat org.springframework.batch.repeat.exception |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 18 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.item.reader.ExceptionThrowingItemReaderProxy org.springframework.batch.sample.item.reader.GeneratingItemReader org.springframework.batch.sample.item.reader.OrderItemReader org.springframework.batch.sample.item.reader.StagingItemReader org.springframework.batch.sample.item.reader.StagingItemReader$1 org.springframework.batch.sample.item.reader.StagingItemReader$2 org.springframework.batch.sample.item.reader.StagingItemReader$StagingBuffer |
None | java.lang java.math java.sql java.util org.apache.commons.lang org.apache.commons.logging org.springframework.batch.core org.springframework.batch.item org.springframework.batch.item.file.mapping org.springframework.batch.item.support org.springframework.batch.repeat org.springframework.batch.sample.domain org.springframework.dao org.springframework.jdbc.core org.springframework.jdbc.core.support org.springframework.jdbc.support.lob org.springframework.transaction.support org.springframework.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 21 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.item.writer.BatchSqlCustomerCreditIncreaseWriter org.springframework.batch.sample.item.writer.CustomerCreditIncreaseWriter org.springframework.batch.sample.item.writer.CustomerCreditUpdatePreparedStatementSetter org.springframework.batch.sample.item.writer.CustomerCreditUpdateWriter org.springframework.batch.sample.item.writer.CustomerUpdateWriter org.springframework.batch.sample.item.writer.DummyItemWriter org.springframework.batch.sample.item.writer.ItemTrackingItemWriter org.springframework.batch.sample.item.writer.OrderWriter org.springframework.batch.sample.item.writer.PersonWriter org.springframework.batch.sample.item.writer.PlayerItemWriter org.springframework.batch.sample.item.writer.RetrySampleItemWriter org.springframework.batch.sample.item.writer.StagingItemWriter org.springframework.batch.sample.item.writer.StagingItemWriter$1 org.springframework.batch.sample.item.writer.TradeWriter |
None | java.io java.lang java.math java.sql java.util org.apache.commons.lang org.apache.commons.logging org.springframework.batch.core org.springframework.batch.item org.springframework.batch.item.database org.springframework.batch.item.support org.springframework.batch.item.validator org.springframework.batch.repeat org.springframework.batch.sample.dao org.springframework.batch.sample.domain org.springframework.beans.factory org.springframework.jdbc.core org.springframework.jdbc.core.support org.springframework.jdbc.support.incrementer org.springframework.jdbc.support.lob org.springframework.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 14 | 40.0% | 100.0% | 40.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.springframework.batch.sample.launch.ExportedJobLoader org.springframework.batch.sample.launch.JobLoader |
org.springframework.batch.sample.launch.DefaultJobLoader org.springframework.batch.sample.launch.TaskExecutorLauncher org.springframework.batch.sample.launch.TaskExecutorLauncher$1 |
None | java.io java.lang java.util org.springframework.batch.core org.springframework.batch.core.configuration org.springframework.batch.core.configuration.support org.springframework.batch.core.repository org.springframework.beans org.springframework.beans.factory.config org.springframework.beans.factory.xml org.springframework.context org.springframework.context.support org.springframework.core.io org.springframework.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 6 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.mapping.AddressFieldSetMapper org.springframework.batch.sample.mapping.BillingFieldSetMapper org.springframework.batch.sample.mapping.CustomerCreditRowMapper org.springframework.batch.sample.mapping.CustomerDebitRowMapper org.springframework.batch.sample.mapping.CustomerFieldSetMapper org.springframework.batch.sample.mapping.GameFieldSetMapper org.springframework.batch.sample.mapping.HeaderFieldSetMapper org.springframework.batch.sample.mapping.OrderItemFieldSetMapper org.springframework.batch.sample.mapping.PlayerFieldSetMapper org.springframework.batch.sample.mapping.PlayerSummaryMapper org.springframework.batch.sample.mapping.PlayerSummaryRowMapper org.springframework.batch.sample.mapping.ShippingFieldSetMapper org.springframework.batch.sample.mapping.TradeFieldSetMapper org.springframework.batch.sample.mapping.TradeRowMapper |
None | java.lang java.sql org.springframework.batch.item.file.mapping org.springframework.batch.item.support org.springframework.batch.sample.domain org.springframework.jdbc.core |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 16 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.quartz.JobLauncherDetails org.springframework.batch.sample.quartz.QuartzBatchLauncher org.springframework.batch.sample.quartz.QuartzBatchLauncher$1 |
None | java.io java.lang java.util org.apache.commons.logging org.quartz org.springframework.batch.core org.springframework.batch.core.configuration org.springframework.batch.core.configuration.support org.springframework.batch.core.launch org.springframework.batch.core.repository org.springframework.beans.factory.config org.springframework.beans.factory.xml org.springframework.context org.springframework.context.support org.springframework.core.io org.springframework.scheduling.quartz |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 13 | 9.0% | 100.0% | 9.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
org.springframework.batch.sample.tasklet.SystemProcessExitCodeMapper |
org.springframework.batch.sample.tasklet.ConfigurableSystemProcessExitCodeMapper org.springframework.batch.sample.tasklet.DummyMessageReceivingTasklet org.springframework.batch.sample.tasklet.DummyMessageSendingTasklet org.springframework.batch.sample.tasklet.FileDeletingTasklet org.springframework.batch.sample.tasklet.InfiniteLoopTasklet org.springframework.batch.sample.tasklet.SimpleSystemProcessExitCodeMapper org.springframework.batch.sample.tasklet.SystemCommandException org.springframework.batch.sample.tasklet.SystemCommandTasklet org.springframework.batch.sample.tasklet.SystemCommandTasklet$1 org.springframework.batch.sample.tasklet.SystemCommandTasklet$ExecutorThread |
None | java.io java.lang java.util org.apache.commons.lang.time org.apache.commons.logging org.springframework.batch.core org.springframework.batch.core.listener org.springframework.batch.core.step.tasklet org.springframework.batch.item org.springframework.batch.repeat org.springframework.beans.factory org.springframework.core.io org.springframework.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 5 | 0.0% | 100.0% | 0.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | org.springframework.batch.sample.validation.valang.custom.FutureDateFunction org.springframework.batch.sample.validation.valang.custom.TotalOrderItemsFunction org.springframework.batch.sample.validation.valang.custom.ValidateDiscountsFunction org.springframework.batch.sample.validation.valang.custom.ValidateHandlingPricesFunction org.springframework.batch.sample.validation.valang.custom.ValidateIdsFunction org.springframework.batch.sample.validation.valang.custom.ValidatePricesFunction org.springframework.batch.sample.validation.valang.custom.ValidateQuantitiesFunction org.springframework.batch.sample.validation.valang.custom.ValidateShippingPricesFunction org.springframework.batch.sample.validation.valang.custom.ValidateTotalPricesFunction |
None | java.lang java.math java.util org.springframework.batch.sample.domain org.springmodules.validation.valang.functions |
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. |