Apache MyFaces
UI-Component Sets
MyFaces Orchestra
Foundation

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 ]

PackageTCCCACCaCeAIDV
org.apache.myfaces.examples.annotations110040.0%100.0%0.0%1
org.apache.myfaces.examples.ballot.backings9900200.0%100.0%0.0%1
org.apache.myfaces.examples.ballot.dao440140.0%80.0%20.0%1
org.apache.myfaces.examples.ballot.dto330130.0%75.0%25.0%1
org.apache.myfaces.examples.ballot.lib220140.0%80.0%20.0%1
org.apache.myfaces.examples.ballot.model440220.0%50.0%50.0%1
org.apache.myfaces.examples.configurator.backings330070.0%100.0%0.0%1
org.apache.myfaces.examples.configurator.model110140.0%80.0%20.0%1
org.apache.myfaces.examples.configurator.model.dao440140.0%80.0%20.0%1
org.apache.myfaces.examples.configurator.model.po550320.0%40.0%60.000004%1
org.apache.myfaces.examples.dynaForm.model110020.0%100.0%0.0%1
org.apache.myfaces.examples.filter110030.0%100.0%0.0%1
org.apache.myfaces.examples.lib330250.0%71.0%29.0%1
org.apache.myfaces.examples.mops.backings990090.0%100.0%0.0%1
org.apache.myfaces.examples.mops.dao660260.0%75.0%25.0%1
org.apache.myfaces.examples.mops.lib110070.0%100.0%0.0%1
org.apache.myfaces.examples.mops.model660320.0%40.0%60.000004%1
org.apache.myfaces.examples.multibean330040.0%100.0%0.0%1
org.apache.myfaces.examples.simple.backings330080.0%100.0%0.0%1
org.apache.myfaces.examples.simple.model220120.0%67.0%33.0%1
org.apache.myfaces.examples.tripPlanner.backings330040.0%100.0%0.0%1
org.apache.myfaces.examples.tripPlanner.model3211133.0%50.0%17.0%1
org.apache.myfaces.examples.tripPlanner.terminusSelector.backings220040.0%100.0%0.0%1
org.apache.myfaces.examples.tripPlanner.terminusSelector.model110110.0%50.0%50.0%1

Packages

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

org.apache.myfaces.examples.annotations

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
040.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.annotations.MultiViewController
Nonejava.lang
javax.faces.component
javax.faces.context
org.apache.myfaces.orchestra.conversation

org.apache.myfaces.examples.ballot.backings

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
0200.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.ballot.backings.BallotHall
org.apache.myfaces.examples.ballot.backings.BallotHall$TopicInfo
org.apache.myfaces.examples.ballot.backings.BallotTopic
org.apache.myfaces.examples.ballot.backings.BallotTopicVotes
org.apache.myfaces.examples.ballot.backings.BallotTopicVotes$ItemInfo
org.apache.myfaces.examples.ballot.backings.BallotVoteTopic
org.apache.myfaces.examples.ballot.backings.BallotVoteTopic$ItemInfo
org.apache.myfaces.examples.ballot.backings.BallotVoteTopicCmp
org.apache.myfaces.examples.ballot.backings.BallotVoter
Nonejava.io
java.lang
java.util
javax.faces.application
javax.faces.component
javax.faces.context
javax.faces.event
javax.faces.model
javax.mail
javax.persistence
javax.servlet
javax.servlet.http
org.apache.commons.lang
org.apache.myfaces.examples.ballot.dao
org.apache.myfaces.examples.ballot.lib
org.apache.myfaces.examples.ballot.model
org.apache.myfaces.examples.lib
org.apache.myfaces.orchestra.conversation
org.springframework.mail.javamail
org.springframework.transaction

org.apache.myfaces.examples.ballot.dao

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
140.0%80.0%20.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.ballot.dao.ItemDao
org.apache.myfaces.examples.ballot.dao.TopicDao
org.apache.myfaces.examples.ballot.dao.VoteDao
org.apache.myfaces.examples.ballot.dao.VoterDao
org.apache.myfaces.examples.ballot.backings
java.lang
java.util
javax.persistence
org.apache.myfaces.examples.ballot.model

org.apache.myfaces.examples.ballot.dto

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
130.0%75.0%25.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.ballot.dto.AddressDto
org.apache.myfaces.examples.ballot.dto.CompanyDto
org.apache.myfaces.examples.ballot.dto.PersonDto
org.apache.myfaces.examples.simple.backings
java.io
java.lang
java.util

org.apache.myfaces.examples.ballot.lib

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
140.0%80.0%20.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.ballot.lib.BallotState
org.apache.myfaces.examples.ballot.lib.SendMail
org.apache.myfaces.examples.ballot.backings
java.io
java.lang
javax.mail
org.springframework.mail.javamail

org.apache.myfaces.examples.ballot.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
220.0%50.0%50.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.ballot.model.Item
org.apache.myfaces.examples.ballot.model.Topic
org.apache.myfaces.examples.ballot.model.Vote
org.apache.myfaces.examples.ballot.model.Voter
org.apache.myfaces.examples.ballot.backings
org.apache.myfaces.examples.ballot.dao
java.lang
java.util

org.apache.myfaces.examples.configurator.backings

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
070.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.configurator.backings.Checkout
org.apache.myfaces.examples.configurator.backings.ConfiguratorData
org.apache.myfaces.examples.configurator.backings.Customer
Nonejava.lang
java.util
javax.faces.model
org.apache.myfaces.examples.configurator.model
org.apache.myfaces.examples.configurator.model.dao
org.apache.myfaces.examples.configurator.model.po
org.apache.myfaces.orchestra.conversation

org.apache.myfaces.examples.configurator.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
140.0%80.0%20.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.configurator.model.Initialization
org.apache.myfaces.examples.configurator.backings
java.lang
java.util
javax.persistence
org.apache.myfaces.examples.configurator.model.po

org.apache.myfaces.examples.configurator.model.dao

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
140.0%80.0%20.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.configurator.model.dao.ComponentDAO
org.apache.myfaces.examples.configurator.model.dao.CustomerDAO
org.apache.myfaces.examples.configurator.model.dao.OrderHeadDAO
org.apache.myfaces.examples.configurator.model.dao.PieceDAO
org.apache.myfaces.examples.configurator.backings
java.lang
java.util
javax.persistence
org.apache.myfaces.examples.configurator.model.po

org.apache.myfaces.examples.configurator.model.po

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
320.0%40.0%60.000004%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.configurator.model.po.Component
org.apache.myfaces.examples.configurator.model.po.Customer
org.apache.myfaces.examples.configurator.model.po.OrderHead
org.apache.myfaces.examples.configurator.model.po.OrderItem
org.apache.myfaces.examples.configurator.model.po.Piece
org.apache.myfaces.examples.configurator.backings
org.apache.myfaces.examples.configurator.model
org.apache.myfaces.examples.configurator.model.dao
java.lang
java.util

org.apache.myfaces.examples.dynaForm.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
020.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.dynaForm.model.SimpleEntity
Nonejava.lang
java.util

org.apache.myfaces.examples.filter

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
030.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.filter.RequestEncodingFilter
Nonejava.io
java.lang
javax.servlet

org.apache.myfaces.examples.lib

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
250.0%71.0%29.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.lib.FacesConst
org.apache.myfaces.examples.lib.FacesUtils
org.apache.myfaces.examples.lib.SpringUtils
org.apache.myfaces.examples.ballot.backings
org.apache.myfaces.examples.mops.backings
java.lang
javax.faces.application
javax.faces.context
org.springframework.transaction
org.springframework.transaction.support

org.apache.myfaces.examples.mops.backings

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
090.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.mops.backings.CustomerLogin
org.apache.myfaces.examples.mops.backings.EditCustomerGroup
org.apache.myfaces.examples.mops.backings.EditProduct
org.apache.myfaces.examples.mops.backings.EditProduct$ProductPriceWrapper
org.apache.myfaces.examples.mops.backings.PetstoreData
org.apache.myfaces.examples.mops.backings.ProductDetail
org.apache.myfaces.examples.mops.backings.SearchProduct
org.apache.myfaces.examples.mops.backings.SearchProduct$ProductWrapper
org.apache.myfaces.examples.mops.backings.Security
Nonejava.lang
java.util
javax.faces.context
org.apache.commons.lang
org.apache.myfaces.examples.lib
org.apache.myfaces.examples.mops.dao
org.apache.myfaces.examples.mops.model
org.apache.myfaces.orchestra.conversation
org.springframework.transaction

org.apache.myfaces.examples.mops.dao

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
260.0%75.0%25.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.mops.dao.CustomerGroupDao
org.apache.myfaces.examples.mops.dao.CustomerGroupSuggest
org.apache.myfaces.examples.mops.dao.ProductDao
org.apache.myfaces.examples.mops.dao.ProductDao$1
org.apache.myfaces.examples.mops.dao.ProductPriceDao
org.apache.myfaces.examples.mops.dao.ShopCustomerDao
org.apache.myfaces.examples.mops.backings
org.apache.myfaces.examples.mops.lib
java.lang
java.util
javax.persistence
org.apache.myfaces.examples.mops.model
org.springframework.orm.jpa
org.springframework.orm.jpa.support

org.apache.myfaces.examples.mops.lib

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
070.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.mops.lib.CustomerGroupPkConverter
Nonejava.lang
javax.faces.component
javax.faces.context
javax.faces.convert
org.apache.commons.lang
org.apache.myfaces.examples.mops.dao
org.apache.myfaces.examples.mops.model

org.apache.myfaces.examples.mops.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
320.0%40.0%60.000004%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.mops.model.CustomerGroup
org.apache.myfaces.examples.mops.model.Product
org.apache.myfaces.examples.mops.model.ProductPrice
org.apache.myfaces.examples.mops.model.ShopCustomer
org.apache.myfaces.examples.mops.model.ShoppingCart
org.apache.myfaces.examples.mops.model.ShoppingCartItem
org.apache.myfaces.examples.mops.backings
org.apache.myfaces.examples.mops.dao
org.apache.myfaces.examples.mops.lib
java.lang
java.util

org.apache.myfaces.examples.multibean

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
040.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.multibean.AnnoBean
org.apache.myfaces.examples.multibean.Multibean
org.apache.myfaces.examples.multibean.MultibeanController
Nonejava.lang
org.apache.commons.logging
org.apache.myfaces.orchestra.conversation
org.springframework.beans.factory

org.apache.myfaces.examples.simple.backings

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
080.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.simple.backings.CompanyView
org.apache.myfaces.examples.simple.backings.ReservationBookView
org.apache.myfaces.examples.simple.backings.ReservationView
Nonejava.io
java.lang
java.util
org.apache.commons.logging
org.apache.myfaces.examples.ballot.dto
org.apache.myfaces.examples.simple.model
org.apache.myfaces.orchestra.conversation
org.apache.myfaces.orchestra.conversation.versioning

org.apache.myfaces.examples.simple.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
120.0%67.0%33.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.simple.model.Reservation
org.apache.myfaces.examples.simple.model.ReservationBook
org.apache.myfaces.examples.simple.backings
java.lang
java.util

org.apache.myfaces.examples.tripPlanner.backings

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
040.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.tripPlanner.backings.TripPlannerOverview
org.apache.myfaces.examples.tripPlanner.backings.TripPlannerPlane
org.apache.myfaces.examples.tripPlanner.backings.TripPlannerTrain
Nonejava.lang
java.util
org.apache.commons.logging
org.apache.myfaces.examples.tripPlanner.model

org.apache.myfaces.examples.tripPlanner.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
1133.0%50.0%17.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.examples.tripPlanner.model.Journey
org.apache.myfaces.examples.tripPlanner.model.PlaneJourney
org.apache.myfaces.examples.tripPlanner.model.TrainJourney
org.apache.myfaces.examples.tripPlanner.backings
java.lang

org.apache.myfaces.examples.tripPlanner.terminusSelector.backings

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
040.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.tripPlanner.terminusSelector.backings.TerminusSelectorDetails
org.apache.myfaces.examples.tripPlanner.terminusSelector.backings.TerminusSelectorOverview
Nonejava.lang
java.util
org.apache.commons.logging
org.apache.myfaces.examples.tripPlanner.terminusSelector.model

org.apache.myfaces.examples.tripPlanner.terminusSelector.model

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
110.0%50.0%50.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.examples.tripPlanner.terminusSelector.model.Terminus
org.apache.myfaces.examples.tripPlanner.terminusSelector.backings
java.lang

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.

TermDescription
Number of ClassesThe number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.
Afferent CouplingsThe number of other packages that depend upon classes within the package is an indicator of the package's responsibility.
Efferent CouplingsThe number of other packages that the classes in the package depend upon is an indicator of the package's independence.
AbstractnessThe 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.
InstabilityThe 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.
DistanceThe 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.
CyclesPackages 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.