| Package | TC | CC | AC | Ca | Ce | A | I | D | V |
|---|---|---|---|---|---|---|---|---|---|
| com.barteo.emulator.device.swt | 1 | 1 | 0 | 0 | 1 | 0.0% | 100.0% | 0.0% | 1 |
| org.microemu.app | 11 | 11 | 0 | 1 | 15 | 0.0% | 94.0% | 6.0% | 1 |
| org.microemu.app.ui.swt | 34 | 32 | 2 | 2 | 20 | 6.0% | 91.0% | 3.0% | 1 |
| org.microemu.device.swt | 17 | 16 | 1 | 2 | 13 | 6.0% | 87.0% | 7.0% | 1 |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 0 | 1 | 0.0% | 100.0% | 0.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | com.barteo.emulator.device.swt.SwtDevice | None | com.barteo.emulator.device |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 1 | 15 | 0.0% | 94.0% | 6.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| None | org.microemu.app.Swt org.microemu.app.Swt$1 org.microemu.app.Swt$2 org.microemu.app.Swt$3 org.microemu.app.Swt$4 org.microemu.app.Swt$5 org.microemu.app.Swt$6 org.microemu.app.Swt$6$1 org.microemu.app.Swt$7 org.microemu.app.Swt$7$1 org.microemu.app.Swt$8 | org.microemu.app.ui.swt | java.io java.lang java.net java.util org.eclipse.swt.events org.eclipse.swt.graphics org.eclipse.swt.layout org.eclipse.swt.widgets org.microemu org.microemu.app.ui org.microemu.app.ui.swt org.microemu.app.util org.microemu.device org.microemu.device.impl org.microemu.device.swt |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 2 | 20 | 6.0% | 91.0% | 3.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| org.microemu.app.ui.swt.ImageFilter org.microemu.app.ui.swt.SwtDialog | org.microemu.app.ui.swt.OptionPane org.microemu.app.ui.swt.OptionPane$1 org.microemu.app.ui.swt.OptionPane$2 org.microemu.app.ui.swt.OptionPane$3 org.microemu.app.ui.swt.OptionPane$4 org.microemu.app.ui.swt.SwtDeviceComponent org.microemu.app.ui.swt.SwtDeviceComponent$1 org.microemu.app.ui.swt.SwtDeviceComponent$2 org.microemu.app.ui.swt.SwtDeviceComponent$3 org.microemu.app.ui.swt.SwtDeviceComponent$4 org.microemu.app.ui.swt.SwtDeviceComponent$CreateColorRunnable org.microemu.app.ui.swt.SwtDeviceComponent$CreateImageRunnable org.microemu.app.ui.swt.SwtDeviceComponent$GetFontMetricsRunnable org.microemu.app.ui.swt.SwtDeviceComponent$GetFontRunnable org.microemu.app.ui.swt.SwtDeviceComponent$StringWidthRunnable org.microemu.app.ui.swt.SwtDialog$1 org.microemu.app.ui.swt.SwtDialog$2 org.microemu.app.ui.swt.SwtDialog$3 org.microemu.app.ui.swt.SwtDialog$4 org.microemu.app.ui.swt.SwtDisplayComponent org.microemu.app.ui.swt.SwtDisplayComponent$1 org.microemu.app.ui.swt.SwtErrorMessageDialogPanel org.microemu.app.ui.swt.SwtGraphics org.microemu.app.ui.swt.SwtInputDialog org.microemu.app.ui.swt.SwtInputDialog$1 org.microemu.app.ui.swt.SwtMessageDialog org.microemu.app.ui.swt.SwtMessageDialog$1 org.microemu.app.ui.swt.SwtSelectDeviceDialog org.microemu.app.ui.swt.SwtSelectDeviceDialog$1 org.microemu.app.ui.swt.SwtSelectDeviceDialog$2 org.microemu.app.ui.swt.SwtSelectDeviceDialog$3 org.microemu.app.ui.swt.SwtSelectDeviceDialog$4 | org.microemu.app org.microemu.device.swt | java.awt java.awt.event java.io java.lang java.net java.util java.util.jar javax.microedition.lcdui org.eclipse.swt org.eclipse.swt.events org.eclipse.swt.graphics org.eclipse.swt.layout org.eclipse.swt.widgets org.microemu org.microemu.app org.microemu.app.ui org.microemu.app.util org.microemu.device org.microemu.device.impl org.microemu.device.swt |
| Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
|---|---|---|---|---|
| 2 | 13 | 6.0% | 87.0% | 7.0% |
| Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
|---|---|---|---|
| org.microemu.device.swt.SwtFont | org.microemu.device.swt.BWImageFilter org.microemu.device.swt.GrayImageFilter org.microemu.device.swt.RGBImageFilter org.microemu.device.swt.SwtButton org.microemu.device.swt.SwtDevice org.microemu.device.swt.SwtDeviceDisplay org.microemu.device.swt.SwtDisplayGraphics org.microemu.device.swt.SwtFontManager org.microemu.device.swt.SwtImmutableImage org.microemu.device.swt.SwtInputMethod org.microemu.device.swt.SwtInputMethod$1 org.microemu.device.swt.SwtInputMethod$KeyRepeatTask org.microemu.device.swt.SwtMutableImage org.microemu.device.swt.SwtSoftButton org.microemu.device.swt.SwtSystemFont org.microemu.device.swt.SwtTrueTypeFont | org.microemu.app org.microemu.app.ui.swt | java.io java.lang java.lang.reflect java.net java.util javax.microedition.lcdui org.eclipse.swt.events org.eclipse.swt.graphics org.microemu org.microemu.app.ui.swt org.microemu.app.util org.microemu.device org.microemu.device.impl |
| Package | Package Dependencies |
|---|---|
| org.microemu.app | org.microemu.app.ui.swt org.microemu.app |
| org.microemu.app.ui.swt | org.microemu.app org.microemu.app.ui.swt |
| org.microemu.device.swt | org.microemu.app.ui.swt org.microemu.app org.microemu.app.ui.swt |
| 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. |