#

## Metric Results

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

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

## Summary

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

Package | TC | AC | CC | AC | EC | A | I | D
--- | --- | --- | --- | --- | --- | --- | --- | ---
tsukuba_bunko.peko | 10 | 0 | 10 | 13 | 15 | 0 | 54% | 46%
tsukuba_bunko.peko.canvas | 4 | 0 | 4 | 7 | 12 | 0 | 63% | 37%
tsukuba_bunko.peko.canvas.select | 3 | 0 | 3 | 2 | 9 | 0 | 82% | 18%
tsukuba_bunko.peko.canvas.stage | 7 | 2 | 5 | 5 | 14 | 0.29 | 74% | 2%
tsukuba_bunko.peko.canvas.stage.audio | 3 | 0 | 3 | 1 | 6 | 0 | 86% | 14%
tsukuba_bunko.peko.canvas.stage.effect | 3 | 0 | 3 | 1 | 4 | 0 | 80% | 20%
tsukuba_bunko.peko.canvas.text | 4 | 0 | 4 | 6 | 10 | 0 | 62% | 38%
tsukuba_bunko.peko.resource | 15 | 0 | 15 | 8 | 14 | 0 | 64% | 36%
tsukuba_bunko.peko.scenario | 12 | 2 | 10 | 7 | 17 | 0.17 | 71% | 12%
tsukuba_bunko.peko.scenario.select | 3 | 0 | 3 | 1 | 7 | 0 | 88% | 12%
tsukuba_bunko.peko.scenario.stage | 9 | 1 | 8 | 1 | 7 | 0.11 | 88% | 1%
tsukuba_bunko.peko.scenario.structure | 2 | 0 | 2 | 1 | 9 | 0 | 90% | 10%
tsukuba_bunko.peko.scenario.text | 8 | 1 | 7 | 1 | 12 | 0.12 | 92% | 5%
tsukuba_bunko.peko.scenario.util | 4 | 0 | 4 | 2 | 4 | 0 | 67% | 33%
tsukuba_bunko.peko.session | 11 | 0 | 11 | 3 | 14 | 0 | 82% | 18%
tsukuba_bunko.resource | 12 | 2 | 10 | 1 | 7 | 0.17 | 88% | 4%
tsukuba_bunko.text | 1 | 0 | 1 | 0 | 1 | 0 | 100% | 0%
tsukuba_bunko.util | 6 | 1 | 5 | 3 | 3 | 0.17 | 50% | 33%
tsukuba_bunko.util.locator | 1 | 0 | 1 | 0 | 4 | 0 | 100% | 0%

## Packages

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

### tsukuba_bunko.peko

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
13 | 15 | 0% | 54% | 46%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | ActionControler ActionControler$1 ActionControler$2 InitializationError Logger MessageID MessageIDs PekoSystem PekoSystem$1 TextHistoryControler | tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.select tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.canvas.stage.audio tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario tsukuba_bunko.peko.scenario.select tsukuba_bunko.peko.scenario.stage tsukuba_bunko.peko.scenario.structure tsukuba_bunko.peko.scenario.text tsukuba_bunko.peko.scenario.util tsukuba_bunko.peko.session | java.awt java.awt.event java.io java.lang java.text java.util javax.swing org.apache.log4j tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario tsukuba_bunko.peko.session tsukuba_bunko.util

### tsukuba_bunko.peko.canvas

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
7 | 12 | 0% | 63% | 37%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | CanvasManager CanvasManager$SerializableForm MessageIDs ResourceIDs | tsukuba_bunko.peko tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.scenario tsukuba_bunko.peko.scenario.select tsukuba_bunko.peko.scenario.stage tsukuba_bunko.peko.scenario.text | java.awt java.awt.font java.io java.lang java.util javax.swing tsukuba_bunko.peko tsukuba_bunko.peko.canvas.select tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.resource tsukuba_bunko.peko.session

### tsukuba_bunko.peko.canvas.select

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 9 | 0% | 82% | 18%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | SelectCanvas SelectItem SelectItemButton | tsukuba_bunko.peko.canvas tsukuba_bunko.peko.scenario.select | java.awt java.awt.event java.awt.font java.lang java.text java.util javax.swing tsukuba_bunko.peko tsukuba_bunko.peko.canvas.text

### tsukuba_bunko.peko.canvas.stage

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
5 | 14 | 29% | 74% | 2%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
AudioClip Effect | Actor AudioPlayer ImageManager Stage StageCanvas | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage.audio tsukuba_bunko.peko.canvas.stage.effect tsukuba_bunko.peko.scenario.stage | java.awt java.awt.image java.io java.lang java.net java.util javax.imageio javax.swing tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage.audio tsukuba_bunko.peko.canvas.stage.effect tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.resource

### tsukuba_bunko.peko.canvas.stage.audio

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 6 | 0% | 86% | 14%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | SampledAudioClip SampledAudioClip$1 SampledAudioClip$2 | tsukuba_bunko.peko.canvas.stage | java.io java.lang java.net javax.sound.sampled tsukuba_bunko.peko tsukuba_bunko.peko.canvas.stage

### tsukuba_bunko.peko.canvas.stage.effect

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 4 | 0% | 80% | 20%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | ImmediateEffect MofingEffect PataPataEffect | tsukuba_bunko.peko.canvas.stage | java.awt java.awt.image java.lang tsukuba_bunko.peko.canvas.stage

### tsukuba_bunko.peko.canvas.text

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
6 | 10 | 0% | 62% | 38%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | Line Marker Page TextCanvas | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.select tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.scenario tsukuba_bunko.peko.scenario.text | java.awt java.awt.font java.io java.lang java.text java.util javax.swing javax.swing.border tsukuba_bunko.peko tsukuba_bunko.peko.canvas

### tsukuba_bunko.peko.resource

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
8 | 14 | 0% | 64% | 36%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | ColorDeserializer ColorManager DimensionDeserializer FontDeserializer FontManager IconDeserializer InsetsDeserializer LocaleDeserializer LocationConfigurator LocationResources MessageIDs PekoResourceLoader PointDeserializer ResourceManager TypeMapping | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.scenario tsukuba_bunko.peko.scenario.stage tsukuba_bunko.peko.scenario.structure tsukuba_bunko.peko.scenario.text tsukuba_bunko.peko.session | java.awt java.awt.font java.io java.lang java.lang.ref java.net java.text java.util javax.swing javax.xml.parsers org.xml.sax tsukuba_bunko.peko tsukuba_bunko.resource tsukuba_bunko.util

### tsukuba_bunko.peko.scenario

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
7 | 17 | 17% | 71% | 12%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Coordinator ElementHandler | FlagScope HandlerRegistry MessageIDs NextSceneMapping PSMLUtil ScenarioProcessor ScenarioProcessor$1 SceneContext SceneContext$Node SceneProcessor | tsukuba_bunko.peko tsukuba_bunko.peko.scenario.select tsukuba_bunko.peko.scenario.stage tsukuba_bunko.peko.scenario.structure tsukuba_bunko.peko.scenario.text tsukuba_bunko.peko.scenario.util tsukuba_bunko.peko.session | java.io java.lang java.net java.util javax.xml.parsers org.xml.sax org.xml.sax.helpers tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario.select tsukuba_bunko.peko.scenario.stage tsukuba_bunko.peko.scenario.structure tsukuba_bunko.peko.scenario.text tsukuba_bunko.peko.scenario.util tsukuba_bunko.peko.session

### tsukuba_bunko.peko.scenario.select

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 7 | 0% | 88% | 12%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | MessageIDs SelectCoordinator SelectHandler | tsukuba_bunko.peko.scenario | java.lang java.util org.xml.sax tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.select tsukuba_bunko.peko.scenario

### tsukuba_bunko.peko.scenario.stage

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 7 | 11% | 88% | 1%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
StageElementHandler | ActorHandler AtOnceHandler BackgroundHandler MessageIDs ResourceIDs SlideHandler SoundHandler StageCoordinator | tsukuba_bunko.peko.scenario | java.lang org.xml.sax tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario

### tsukuba_bunko.peko.scenario.structure

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 9 | 0% | 90% | 10%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | HeadHandler MessageIDs | tsukuba_bunko.peko.scenario | java.io java.lang java.net java.util javax.swing org.xml.sax tsukuba_bunko.peko tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario

### tsukuba_bunko.peko.scenario.text

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 12 | 12% | 92% | 5%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
TextElementHandler | MessageIDs NewPageHandler PageConfigurator ParagraphHandler PropertyIDs ResourceIDs TextCoordinator | tsukuba_bunko.peko.scenario | java.awt java.awt.font java.lang java.text java.util org.xml.sax tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.text tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario tsukuba_bunko.peko.scenario.util

### tsukuba_bunko.peko.scenario.util

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 4 | 0% | 67% | 33%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | FlagHandler MessageIDs SceneFlowHandler WaitHandler | tsukuba_bunko.peko.scenario tsukuba_bunko.peko.scenario.text | java.lang org.xml.sax tsukuba_bunko.peko tsukuba_bunko.peko.scenario

### tsukuba_bunko.peko.session

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
3 | 14 | 0% | 82% | 18%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | LoadFailureException MessageIDs ResourceIDs SaveData SaveDataDialog SaveDataInfo SaveDataInfoRenderer SaveFailureException Session SessionManager SystemSaveData | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.scenario | java.awt java.awt.event java.awt.font java.io java.lang java.net java.text java.util java.util.jar javax.swing javax.swing.event tsukuba_bunko.peko tsukuba_bunko.peko.resource tsukuba_bunko.peko.scenario

### tsukuba_bunko.resource

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 7 | 17% | 88% | 4%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ResourceDeserializer SimpleDeserializer | BasicDeserializer BooleanDeserializer DeserializerMapping IllegalResourceException ListDeserializer MessageFormatDeserializer NumberDeserializer ResourceLoader Resources StringDeserializer | tsukuba_bunko.peko.resource | java.io java.lang java.net java.text java.util javax.xml.parsers org.xml.sax

### tsukuba_bunko.text

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 1 | 0% | 100% | 0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | StringUtil | None | java.lang

### tsukuba_bunko.util

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
3 | 3 | 17% | 50% | 33%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ResourceLocator | GenericListener InvocHandler InvokerRunner ReflectionUtil ResourceDetectionException | tsukuba_bunko.peko tsukuba_bunko.peko.resource tsukuba_bunko.util.locator | java.io java.lang java.lang.reflect

### tsukuba_bunko.util.locator

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 4 | 0% | 100% | 0%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
None | ResourceLocatorImpl | None | java.io java.lang java.net tsukuba_bunko.util

## Cycles

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

Package | Cyclic Dependencies
--- | ---
tsukuba_bunko.peko | tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.canvas | tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko tsukuba_bunko.peko.canvas
tsukuba_bunko.peko.canvas.select | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.canvas.stage | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage
tsukuba_bunko.peko.canvas.stage.audio | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.canvas.stage.effect | tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage
tsukuba_bunko.peko.canvas.text | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.resource | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.scenario | tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko tsukuba_bunko.peko.canvas
tsukuba_bunko.peko.scenario.select | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.scenario.stage | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.scenario.structure | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.scenario.text | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.scenario.util | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko
tsukuba_bunko.peko.session | tsukuba_bunko.peko tsukuba_bunko.peko.canvas tsukuba_bunko.peko.canvas.stage tsukuba_bunko.peko

## Explanations

[ 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.