Package | TC | CC | AC | Ca | Ce | A | I | D | V |
---|---|---|---|---|---|---|---|---|---|
javax.faces | 2 | 2 | 0 | 10 | 3 | 0.0% | 23.0% | 77.0% | 1 |
javax.faces.application | 9 | 4 | 5 | 6 | 10 | 56.0% | 62.0% | 18.0% | 1 |
javax.faces.component | 41 | 33 | 8 | 8 | 18 | 20.0% | 69.0% | 11.0% | 1 |
javax.faces.component.html | 25 | 25 | 0 | 0 | 5 | 0.0% | 100.0% | 0.0% | 1 |
javax.faces.context | 6 | 1 | 5 | 10 | 10 | 83.0% | 50.0% | 33.0% | 1 |
javax.faces.convert | 21 | 19 | 2 | 4 | 8 | 10.0% | 67.0% | 24.0% | 1 |
javax.faces.el | 8 | 4 | 4 | 4 | 3 | 50.0% | 43.0% | 7.0% | 1 |
javax.faces.event | 10 | 5 | 5 | 3 | 7 | 50.0% | 70.0% | 20.0% | 1 |
javax.faces.lifecycle | 2 | 0 | 2 | 3 | 5 | 100.0% | 62.0% | 62.0% | 1 |
javax.faces.model | 18 | 16 | 2 | 1 | 6 | 11.0% | 86.0% | 3.0% | 1 |
javax.faces.render | 4 | 0 | 4 | 3 | 7 | 100.0% | 70.0% | 70.0% | 1 |
javax.faces.validator | 6 | 5 | 1 | 3 | 7 | 17.0% | 70.0% | 13.0% | 1 |
javax.faces.webapp | 9 | 7 | 2 | 0 | 17 | 22.0% | 100.0% | 22.0% | 1 |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
10 | 3 | 0.0% | 23.0% | 77.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
None | javax.faces.FacesException javax.faces.FactoryFinder | javax.faces.application javax.faces.component javax.faces.context javax.faces.convert javax.faces.el javax.faces.event javax.faces.lifecycle javax.faces.model javax.faces.validator javax.faces.webapp | java.lang java.lang.reflect java.util |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
6 | 10 | 56.0% | 62.0% | 18.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.application.Application javax.faces.application.ApplicationFactory javax.faces.application.NavigationHandler javax.faces.application.StateManager javax.faces.application.ViewHandler | javax.faces.application.FacesMessage javax.faces.application.FacesMessage$1 javax.faces.application.FacesMessage$Severity javax.faces.application.StateManager$SerializedView | javax.faces.component javax.faces.context javax.faces.convert javax.faces.render javax.faces.validator javax.faces.webapp | java.io java.lang java.util javax.faces javax.faces.component javax.faces.context javax.faces.convert javax.faces.el javax.faces.event javax.faces.validator |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
8 | 18 | 20.0% | 69.0% | 11.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.component.ActionSource javax.faces.component.EditableValueHolder javax.faces.component.NamingContainer javax.faces.component.StateHolder javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.ValueHolder javax.faces.component._SelectItemsUtil$_ValueConverter | javax.faces.component.UIColumn javax.faces.component.UICommand javax.faces.component.UIData javax.faces.component.UIData$1 javax.faces.component.UIData$EditableValueHolderState javax.faces.component.UIData$FacesEventWrapper javax.faces.component.UIForm javax.faces.component.UIGraphic javax.faces.component.UIInput javax.faces.component.UIMessage javax.faces.component.UIMessages javax.faces.component.UINamingContainer javax.faces.component.UIOutput javax.faces.component.UIPanel javax.faces.component.UIParameter javax.faces.component.UISelectBoolean javax.faces.component.UISelectItem javax.faces.component.UISelectItems javax.faces.component.UISelectMany javax.faces.component.UISelectOne javax.faces.component.UIViewRoot javax.faces.component._AttachedListStateWrapper javax.faces.component._AttachedStateWrapper javax.faces.component._ComponentAttributesMap javax.faces.component._ComponentChildrenList javax.faces.component._ComponentFacetMap javax.faces.component._ComponentUtils javax.faces.component._FacetsAndChildrenIterator javax.faces.component._MessageUtils javax.faces.component._PrimitiveArrayIterator javax.faces.component._SelectItemsIterator javax.faces.component._SelectItemsUtil javax.faces.component._SharedRendererUtils | javax.faces.application javax.faces.component.html javax.faces.context javax.faces.convert javax.faces.event javax.faces.render javax.faces.validator javax.faces.webapp | java.beans java.io java.lang java.lang.reflect java.sql java.text java.util javax.faces javax.faces.application javax.faces.context javax.faces.convert javax.faces.el javax.faces.event javax.faces.model javax.faces.render javax.faces.validator javax.servlet.jsp.jstl.sql org.apache.commons.logging |
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 | javax.faces.component.html.HtmlCommandButton javax.faces.component.html.HtmlCommandLink javax.faces.component.html.HtmlDataTable javax.faces.component.html.HtmlForm javax.faces.component.html.HtmlGraphicImage javax.faces.component.html.HtmlInputHidden javax.faces.component.html.HtmlInputSecret javax.faces.component.html.HtmlInputText javax.faces.component.html.HtmlInputTextarea javax.faces.component.html.HtmlMessage javax.faces.component.html.HtmlMessages javax.faces.component.html.HtmlOutputFormat javax.faces.component.html.HtmlOutputLabel javax.faces.component.html.HtmlOutputLink javax.faces.component.html.HtmlOutputText javax.faces.component.html.HtmlPanelGrid javax.faces.component.html.HtmlPanelGroup javax.faces.component.html.HtmlSelectBooleanCheckbox javax.faces.component.html.HtmlSelectManyCheckbox javax.faces.component.html.HtmlSelectManyListbox javax.faces.component.html.HtmlSelectManyMenu javax.faces.component.html.HtmlSelectOneListbox javax.faces.component.html.HtmlSelectOneMenu javax.faces.component.html.HtmlSelectOneRadio javax.faces.component.html._ComponentUtils | None | java.io java.lang javax.faces.component javax.faces.context javax.faces.el |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
10 | 10 | 83.0% | 50.0% | 33.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.context.ExternalContext javax.faces.context.FacesContext javax.faces.context.FacesContextFactory javax.faces.context.ResponseStream javax.faces.context.ResponseWriter | javax.faces.context.FacesContext$1 | javax.faces.application javax.faces.component javax.faces.component.html javax.faces.convert javax.faces.el javax.faces.event javax.faces.lifecycle javax.faces.render javax.faces.validator javax.faces.webapp | java.io java.lang java.net java.security java.util javax.faces javax.faces.application javax.faces.component javax.faces.lifecycle javax.faces.render |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 8 | 10.0% | 67.0% | 24.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.convert.Converter javax.faces.convert.DateTimeConverter$Type | javax.faces.convert.BigDecimalConverter javax.faces.convert.BigIntegerConverter javax.faces.convert.BooleanConverter javax.faces.convert.ByteConverter javax.faces.convert.CharacterConverter javax.faces.convert.ConverterException javax.faces.convert.DateTimeConverter javax.faces.convert.DateTimeConverter$1 javax.faces.convert.DateTimeConverter$Style javax.faces.convert.DateTimeConverter$Type$1 javax.faces.convert.DateTimeConverter$Type$2 javax.faces.convert.DateTimeConverter$Type$3 javax.faces.convert.DoubleConverter javax.faces.convert.FloatConverter javax.faces.convert.IntegerConverter javax.faces.convert.LongConverter javax.faces.convert.NumberConverter javax.faces.convert.ShortConverter javax.faces.convert._MessageUtils | javax.faces.application javax.faces.component javax.faces.render javax.faces.webapp | java.lang java.math java.text java.util javax.faces javax.faces.application javax.faces.component javax.faces.context |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
4 | 3 | 50.0% | 43.0% | 7.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.el.MethodBinding javax.faces.el.PropertyResolver javax.faces.el.ValueBinding javax.faces.el.VariableResolver | javax.faces.el.EvaluationException javax.faces.el.MethodNotFoundException javax.faces.el.PropertyNotFoundException javax.faces.el.ReferenceSyntaxException | javax.faces.application javax.faces.component javax.faces.component.html javax.faces.webapp | java.lang javax.faces javax.faces.context |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 7 | 50.0% | 70.0% | 20.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.event.ActionListener javax.faces.event.FacesEvent javax.faces.event.FacesListener javax.faces.event.PhaseListener javax.faces.event.ValueChangeListener | javax.faces.event.AbortProcessingException javax.faces.event.ActionEvent javax.faces.event.PhaseEvent javax.faces.event.PhaseId javax.faces.event.ValueChangeEvent | javax.faces.application javax.faces.component javax.faces.lifecycle | java.io java.lang java.util javax.faces javax.faces.component javax.faces.context javax.faces.lifecycle |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 5 | 100.0% | 62.0% | 62.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.lifecycle.Lifecycle javax.faces.lifecycle.LifecycleFactory | None | javax.faces.context javax.faces.event javax.faces.webapp | java.lang java.util javax.faces javax.faces.context javax.faces.event |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
1 | 6 | 11.0% | 86.0% | 3.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.model.DataModel javax.faces.model.DataModelListener | javax.faces.model.ArrayDataModel javax.faces.model.DataModelEvent javax.faces.model.ListDataModel javax.faces.model.ResultDataModel javax.faces.model.ResultSetDataModel javax.faces.model.ResultSetDataModel$WrapResultSetEntries javax.faces.model.ResultSetDataModel$WrapResultSetEntriesIterator javax.faces.model.ResultSetDataModel$WrapResultSetEntry javax.faces.model.ResultSetDataModel$WrapResultSetKeys javax.faces.model.ResultSetDataModel$WrapResultSetKeysIterator javax.faces.model.ResultSetDataModel$WrapResultSetMap javax.faces.model.ResultSetDataModel$WrapResultSetValues javax.faces.model.ResultSetDataModel$WrapResultSetValuesIterator javax.faces.model.ScalarDataModel javax.faces.model.SelectItem javax.faces.model.SelectItemGroup | javax.faces.component | java.io java.lang java.sql java.util javax.faces javax.servlet.jsp.jstl.sql |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 7 | 100.0% | 70.0% | 70.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.render.RenderKit javax.faces.render.RenderKitFactory javax.faces.render.Renderer javax.faces.render.ResponseStateManager | None | javax.faces.component javax.faces.context javax.faces.webapp | java.io java.lang java.util javax.faces.application javax.faces.component javax.faces.context javax.faces.convert |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
3 | 7 | 17.0% | 70.0% | 13.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.validator.Validator | javax.faces.validator.DoubleRangeValidator javax.faces.validator.LengthValidator javax.faces.validator.LongRangeValidator javax.faces.validator.ValidatorException javax.faces.validator._MessageUtils | javax.faces.application javax.faces.component javax.faces.webapp | java.lang java.text java.util javax.faces javax.faces.application javax.faces.component javax.faces.context |
Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance |
---|---|---|---|---|
0 | 17 | 22.0% | 100.0% | 22.0% |
Abstract Classes | Concrete Classes | Used by Packages | Uses Packages |
---|---|---|---|
javax.faces.webapp.UIComponentBodyTag javax.faces.webapp.UIComponentTag | javax.faces.webapp.AttributeTag javax.faces.webapp.ConverterTag javax.faces.webapp.FacesServlet javax.faces.webapp.FacetTag javax.faces.webapp.ValidatorTag javax.faces.webapp._DummyPageContextOutWriter javax.faces.webapp._PageContextOutWriter | None | java.io java.lang java.util javax.faces javax.faces.application javax.faces.component javax.faces.context javax.faces.convert javax.faces.el javax.faces.lifecycle javax.faces.render javax.faces.validator javax.servlet javax.servlet.http javax.servlet.jsp javax.servlet.jsp.tagext org.apache.commons.logging |
Package | Package Dependencies |
---|---|
javax.faces.application | javax.faces.el javax.faces.context javax.faces.render javax.faces.component javax.faces.el |
javax.faces.component | javax.faces.el javax.faces.context javax.faces.render javax.faces.component |
javax.faces.component.html | javax.faces.el javax.faces.context javax.faces.render javax.faces.component javax.faces.el |
javax.faces.context | javax.faces.render javax.faces.component javax.faces.el javax.faces.context |
javax.faces.convert | javax.faces.application javax.faces.el javax.faces.context javax.faces.render javax.faces.component javax.faces.el |
javax.faces.el | javax.faces.context javax.faces.render javax.faces.component javax.faces.el |
javax.faces.event | javax.faces.component javax.faces.el javax.faces.context javax.faces.render javax.faces.component |
javax.faces.lifecycle | javax.faces.event javax.faces.component javax.faces.el javax.faces.context javax.faces.render javax.faces.component |
javax.faces.render | javax.faces.component javax.faces.el javax.faces.context javax.faces.render |
javax.faces.validator | javax.faces.component javax.faces.el javax.faces.context javax.faces.render javax.faces.component |
javax.faces.webapp | javax.faces.lifecycle javax.faces.event javax.faces.component javax.faces.el javax.faces.context javax.faces.render javax.faces.component |
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. |