Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
com.swingtech.cooksarm.core.dao.jpa | 5 | 5 | 0 | 0 | 8 | 0.0% | 100.0% | 0.0% | 1 |
com.swingtech.cooksarm.core.dao.jpa.db.model | 18 | 18 | 0 | 2 | 3 | 0.0% | 60.000004% | 40.0% | 1 |
com.swingtech.cooksarm.core.dao.jpa.mapper | 6 | 6 | 0 | 1 | 4 | 0.0% | 80.0% | 20.0% | 1 |
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 | com.swingtech.cooksarm.core.dao.jpa.FacetDaoJpa com.swingtech.cooksarm.core.dao.jpa.IngredientDaoJpa com.swingtech.cooksarm.core.dao.jpa.NutritionFactDaoJpa com.swingtech.cooksarm.core.dao.jpa.RecipeDaoJpa com.swingtech.cooksarm.core.dao.jpa.RecipeInfoDaoJpa | None | com.swingtech.commons.util com.swingtech.cooksarm.core.dao com.swingtech.cooksarm.core.dao.jpa.db.model com.swingtech.cooksarm.core.dao.jpa.mapper com.swingtech.cooksarm.core.model.recipe java.lang java.util javax.persistence |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
2 | 3 | 0.0% | 60.000004% | 40.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | com.swingtech.cooksarm.core.dao.jpa.db.model.DirectionStep com.swingtech.cooksarm.core.dao.jpa.db.model.DirectionStepId com.swingtech.cooksarm.core.dao.jpa.db.model.Facet com.swingtech.cooksarm.core.dao.jpa.db.model.Ingredient com.swingtech.cooksarm.core.dao.jpa.db.model.NutritionFact com.swingtech.cooksarm.core.dao.jpa.db.model.Recipe com.swingtech.cooksarm.core.dao.jpa.db.model.RecipeInfo com.swingtech.cooksarm.core.dao.jpa.db.model.RecipeInfoValueTypeCode com.swingtech.cooksarm.core.dao.jpa.db.model.XIngredientAlternateIngredient com.swingtech.cooksarm.core.dao.jpa.db.model.XIngredientAlternateIngredientId com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeFacet com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeFacetId com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeIngredient com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeIngredientId com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeNutritionFact com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeNutritionFactId com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeRecipeInfo com.swingtech.cooksarm.core.dao.jpa.db.model.XRecipeRecipeInfoId | com.swingtech.cooksarm.core.dao.jpa com.swingtech.cooksarm.core.dao.jpa.mapper | java.io java.lang java.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 4 | 0.0% | 80.0% | 20.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | com.swingtech.cooksarm.core.dao.jpa.mapper.DirectionsJpaDataMapper com.swingtech.cooksarm.core.dao.jpa.mapper.FacetJpaDataMapper com.swingtech.cooksarm.core.dao.jpa.mapper.IngredientJpaDataMapper com.swingtech.cooksarm.core.dao.jpa.mapper.NutritionFactJpaDataMapper com.swingtech.cooksarm.core.dao.jpa.mapper.RecipeInfoJpaDataMapper com.swingtech.cooksarm.core.dao.jpa.mapper.RecipeJpaDataMapper | com.swingtech.cooksarm.core.dao.jpa | com.swingtech.cooksarm.core.dao.jpa.db.model com.swingtech.cooksarm.core.model.recipe java.lang java.util |
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. |