Apache MyFaces
Documentation
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.shared.component40413100.0%75.0%75.0%1
org.apache.myfaces.shared.config110360.0%67.0%33.0%1
org.apache.myfaces.shared.context10104100.0%100.0%100.0%1
org.apache.myfaces.shared.el110140.0%80.0%20.0%1
org.apache.myfaces.shared.renderkit65131617.0%84.0%1.0%1
org.apache.myfaces.shared.renderkit.html2419501921.0%100.0%21.0%1
org.apache.myfaces.shared.renderkit.html.util4223750.0%70.0%20.0%1
org.apache.myfaces.shared.taglib31221267.0%86.0%52.0%1
org.apache.myfaces.shared.taglib.core2200110.0%100.0%0.0%1
org.apache.myfaces.shared.taglib.html2502503100.0%100.0%100.0%1
org.apache.myfaces.shared.test110040.0%100.0%0.0%1
org.apache.myfaces.shared.util222116245.0%80.0%15.000001%1
org.apache.myfaces.shared.util.el5140280.0%100.0%80.0%1
org.apache.myfaces.shared.util.serial2111350.0%75.0%25.0%1
org.apache.myfaces.shared.util.servlet110040.0%100.0%0.0%1
org.apache.myfaces.shared.util.xml220150.0%83.0%17.0%1
org.apache.myfaces.shared.webapp.webxml76101314.0%100.0%14.0%1

Packages

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

org.apache.myfaces.shared.component

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
13100.0%75.0%75.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.component.BindingAware
org.apache.myfaces.shared.component.DisplayValueOnlyCapable
org.apache.myfaces.shared.component.EscapeCapable
org.apache.myfaces.shared.component.ExecuteOnCallback
Noneorg.apache.myfaces.shared.renderkit.html
java.lang
javax.faces.component
javax.faces.context

org.apache.myfaces.shared.config

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
360.0%67.0%33.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.shared.config.MyfacesConfig
org.apache.myfaces.shared.renderkit.html
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.webapp.webxml
java.lang
java.util
javax.faces.context
javax.servlet
org.apache.commons.logging
org.apache.myfaces.shared.util

org.apache.myfaces.shared.context

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
04100.0%100.0%100.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.context.ResponseWriterWrapper
NoneNonejava.io
java.lang
javax.faces.component
javax.faces.context

org.apache.myfaces.shared.el

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
140.0%80.0%20.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.shared.el.SimpleActionMethodBinding
org.apache.myfaces.shared.taglib
java.lang
javax.faces.component
javax.faces.context
javax.faces.el

org.apache.myfaces.shared.renderkit

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
31617.0%84.0%1.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.renderkit.JSFAttr
org.apache.myfaces.shared.renderkit.RendererUtils
org.apache.myfaces.shared.renderkit.RendererUtils$1
org.apache.myfaces.shared.renderkit.RendererUtils$PassThroughAsStringConverter
org.apache.myfaces.shared.renderkit.ViewSequenceUtils
org.apache.myfaces.shared.renderkit._SharedRendererUtils
org.apache.myfaces.shared.renderkit.html
org.apache.myfaces.shared.taglib
org.apache.myfaces.shared.util
java.io
java.lang
java.lang.reflect
java.util
javax.faces
javax.faces.application
javax.faces.component
javax.faces.component.html
javax.faces.context
javax.faces.convert
javax.faces.el
javax.faces.event
javax.faces.model
org.apache.commons.logging
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.util

org.apache.myfaces.shared.renderkit.html

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
01921.0%100.0%21.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.renderkit.html.HTML
org.apache.myfaces.shared.renderkit.html.HtmlLinkRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlMessageRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlMessagesRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlRenderer
org.apache.myfaces.shared.renderkit.html.HtmlButtonRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlCheckboxRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlFormRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlGridRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlGroupRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlImageRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlListboxRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlMenuRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlMessagesRendererBase$MessagesIterator
org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils
org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils$LinkParameter
org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils$ScriptContext
org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImpl
org.apache.myfaces.shared.renderkit.html.HtmlSecretRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlTableRendererBase$Styles
org.apache.myfaces.shared.renderkit.html.HtmlTextRendererBase
org.apache.myfaces.shared.renderkit.html.HtmlTextareaRendererBase
Nonejava.io
java.lang
java.net
java.util
javax.faces
javax.faces.application
javax.faces.component
javax.faces.component.html
javax.faces.context
javax.faces.convert
javax.faces.event
javax.faces.model
javax.faces.render
org.apache.commons.logging
org.apache.myfaces.shared.component
org.apache.myfaces.shared.config
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.util

org.apache.myfaces.shared.renderkit.html.util

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
3750.0%70.0%20.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.renderkit.html.util.HTMLEncoder
org.apache.myfaces.shared.renderkit.html.util.UnicodeEncoder
org.apache.myfaces.shared.renderkit.html.util.FormInfo
org.apache.myfaces.shared.renderkit.html.util.JavascriptUtils
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html
org.apache.myfaces.shared.util
java.io
java.lang
java.util
javax.faces.component
javax.faces.context
javax.servlet.http
org.apache.myfaces.shared.config

org.apache.myfaces.shared.taglib

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
21267.0%86.0%52.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.taglib.UIComponentBodyTagBase
org.apache.myfaces.shared.taglib.UIComponentTagBase
org.apache.myfaces.shared.taglib.UIComponentTagUtils
org.apache.myfaces.shared.taglib.core
org.apache.myfaces.shared.taglib.html
java.io
java.lang
java.util
javax.faces.application
javax.faces.component
javax.faces.context
javax.faces.webapp
javax.servlet.jsp
javax.servlet.jsp.tagext
org.apache.commons.logging
org.apache.myfaces.shared.el
org.apache.myfaces.shared.renderkit

org.apache.myfaces.shared.taglib.core

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
0110.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.shared.taglib.core.ConvertDateTimeTagBase
org.apache.myfaces.shared.taglib.core.SelectItemTagBase
Nonejava.lang
java.util
javax.faces.application
javax.faces.component
javax.faces.context
javax.faces.convert
javax.faces.el
javax.faces.webapp
javax.servlet.jsp
org.apache.myfaces.shared.taglib
org.apache.myfaces.shared.util

org.apache.myfaces.shared.taglib.html

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
03100.0%100.0%100.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.taglib.html.HtmlCommandButtonTagBase
org.apache.myfaces.shared.taglib.html.HtmlCommandLinkTagBase
org.apache.myfaces.shared.taglib.html.HtmlComponentBodyTagBase
org.apache.myfaces.shared.taglib.html.HtmlComponentTagBase
org.apache.myfaces.shared.taglib.html.HtmlDataTableTagBase
org.apache.myfaces.shared.taglib.html.HtmlFormTagBase
org.apache.myfaces.shared.taglib.html.HtmlGraphicImageTagBase
org.apache.myfaces.shared.taglib.html.HtmlInputHiddenTagBase
org.apache.myfaces.shared.taglib.html.HtmlInputSecretTagBase
org.apache.myfaces.shared.taglib.html.HtmlInputTagBase
org.apache.myfaces.shared.taglib.html.HtmlInputTextTagBase
org.apache.myfaces.shared.taglib.html.HtmlInputTextareaTagBase
org.apache.myfaces.shared.taglib.html.HtmlMessageTagBase
org.apache.myfaces.shared.taglib.html.HtmlMessagesTagBase
org.apache.myfaces.shared.taglib.html.HtmlOutputFormatTagBase
org.apache.myfaces.shared.taglib.html.HtmlOutputLabelTagBase
org.apache.myfaces.shared.taglib.html.HtmlOutputLinkTagBase
org.apache.myfaces.shared.taglib.html.HtmlOutputTextTagBase
org.apache.myfaces.shared.taglib.html.HtmlPanelGridTagBase
org.apache.myfaces.shared.taglib.html.HtmlPanelGroupTagBase
org.apache.myfaces.shared.taglib.html.HtmlSelectBooleanCheckboxTagBase
org.apache.myfaces.shared.taglib.html.HtmlSelectListboxTagBase
org.apache.myfaces.shared.taglib.html.HtmlSelectManyCheckboxTagBase
org.apache.myfaces.shared.taglib.html.HtmlSelectMenuTagBase
org.apache.myfaces.shared.taglib.html.HtmlSelectOneRadioTagBase
NoneNonejava.lang
javax.faces.component
org.apache.myfaces.shared.taglib

org.apache.myfaces.shared.test

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
040.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.shared.test.ClassElementHandler
Nonejava.lang
java.util
org.xml.sax
org.xml.sax.helpers

org.apache.myfaces.shared.util

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
6245.0%80.0%15.000001%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.util.BiLevelCacheMap
org.apache.myfaces.shared.util.ArrayUtils
org.apache.myfaces.shared.util.ClassUtils
org.apache.myfaces.shared.util.ExceptionUtils
org.apache.myfaces.shared.util.HashMapUtils
org.apache.myfaces.shared.util.LocaleUtils
org.apache.myfaces.shared.util.MessageUtils
org.apache.myfaces.shared.util.MyFacesObjectInputStream
org.apache.myfaces.shared.util.NullEnumeration
org.apache.myfaces.shared.util.NullIterator
org.apache.myfaces.shared.util.ParametrizableFacesMessage
org.apache.myfaces.shared.util.RestoreStateUtils
org.apache.myfaces.shared.util.SelectItemsIterator
org.apache.myfaces.shared.util.StateUtils
org.apache.myfaces.shared.util.StateUtils$1
org.apache.myfaces.shared.util.StringUtils
org.apache.myfaces.shared.util.ViewExpiredException
org.apache.myfaces.shared.util._Coercions
org.apache.myfaces.shared.util._ComponentUtils
org.apache.myfaces.shared.util._Constants
org.apache.myfaces.shared.util._MessageUtil
org.apache.myfaces.shared.util._PrimitiveObjects
org.apache.myfaces.shared.config
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html
org.apache.myfaces.shared.taglib.core
org.apache.myfaces.shared.util.serial
org.apache.myfaces.shared.webapp.webxml
java.beans
java.io
java.lang
java.lang.reflect
java.math
java.security
java.text
java.util
java.util.zip
javax.crypto
javax.crypto.spec
javax.faces
javax.faces.application
javax.faces.component
javax.faces.context
javax.faces.el
javax.faces.model
javax.servlet
javax.servlet.jsp.el
org.apache.commons.codec.binary
org.apache.commons.logging
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.util.serial

org.apache.myfaces.shared.util.el

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
0280.0%100.0%80.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.util.el.ActionsMap
org.apache.myfaces.shared.util.el.GenericMap
org.apache.myfaces.shared.util.el.StringMap
org.apache.myfaces.shared.util.el.TestsMap
org.apache.myfaces.shared.util.el.ActionsMap$CommandEntry
Nonejava.lang
java.util

org.apache.myfaces.shared.util.serial

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
1350.0%75.0%25.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.util.serial.SerialFactory
org.apache.myfaces.shared.util.serial.DefaultSerialFactory
org.apache.myfaces.shared.util
java.io
java.lang
org.apache.myfaces.shared.util

org.apache.myfaces.shared.util.servlet

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
040.0%100.0%0.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.shared.util.servlet.SourceCodeServlet
Nonejava.io
java.lang
javax.servlet
javax.servlet.http

org.apache.myfaces.shared.util.xml

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
150.0%83.0%17.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
Noneorg.apache.myfaces.shared.util.xml.MyFacesErrorHandler
org.apache.myfaces.shared.util.xml.XmlUtils
org.apache.myfaces.shared.webapp.webxml
java.lang
java.util
org.apache.commons.logging
org.w3c.dom
org.xml.sax

org.apache.myfaces.shared.webapp.webxml

Afferent CouplingsEfferent CouplingsAbstractnessInstabilityDistance
01314.0%100.0%14.0%
Abstract ClassesConcrete ClassesUsed by PackagesUses Packages
org.apache.myfaces.shared.webapp.webxml.DelegatedFacesServlet
org.apache.myfaces.shared.webapp.webxml.FilterMapping
org.apache.myfaces.shared.webapp.webxml.ServletMapping
org.apache.myfaces.shared.webapp.webxml.WebXml
org.apache.myfaces.shared.webapp.webxml.WebXmlParser
org.apache.myfaces.shared.webapp.webxml.WebXmlParser$1
org.apache.myfaces.shared.webapp.webxml.WebXmlParser$_EntityResolver
Nonejava.io
java.lang
java.net
java.util
javax.faces
javax.faces.context
javax.xml.parsers
org.apache.commons.logging
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.util.xml
org.w3c.dom
org.xml.sax

Cycles

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

PackagePackage Dependencies
org.apache.myfaces.shared.configorg.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.renderkitorg.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.htmlorg.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.renderkit.html.utilorg.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.tagliborg.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.taglib.coreorg.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.taglib.htmlorg.apache.myfaces.shared.taglib
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.utilorg.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.util.serialorg.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.webapp.webxmlorg.apache.myfaces.shared.config
org.apache.myfaces.shared.util
org.apache.myfaces.shared.renderkit
org.apache.myfaces.shared.renderkit.html.util
org.apache.myfaces.shared.config

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.