Apache Software Foundation JDO API

##### JDO Links

- JDO Wiki

##### JCP Links

- JDO 1.0 JSR-12
- JDO 2.0 JSR-243

##### Project Documentation

- About
- Project Info
- Project Reports
  - Metrics
  - Checkstyle
  - Change Log
  - Developer Activity
  - File Activity
  - Project License
  - JavaDocs
  - JavaDoc Report
  - JavaDoc Warnings Report
  - Source Xref
  - Test Xref
  - Unit Tests
  - Link Check Report
  - Task List
- Development Process

##### Legend

- External Link
- Opens in a new window

## Metric Results

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

The following document contains the results of a JDependmetric analysis. The various metrics are defined at the bottom of this document.

## Summary

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

Package | TC | AC | CC | AC | EC | A | I | D
--- | --- | --- | --- | --- | --- | --- | --- | ---
javax.jdo | 51 | 12 | 39 | 2 | 18 | 0.24 | 90% | 14%
javax.jdo.annotations | 46 | 37 | 9 | 1 | 2 | 0.8 | 67% | 47%
javax.jdo.datastore | 4 | 3 | 1 | 1 | 2 | 0.75 | 67% | 42%
javax.jdo.identity | 9 | 1 | 8 | 0 | 5 | 0.11 | 100% | 11%
javax.jdo.listener | 16 | 15 | 1 | 1 | 4 | 0.94 | 80% | 74%
javax.jdo.metadata | 34 | 32 | 2 | 1 | 3 | 0.94 | 75% | 69%
javax.jdo.spi | 22 | 11 | 11 | 3 | 8 | 0.5 | 73% | 23%

## Packages

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

### javax.jdo

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
2 | 18 | 24% | 90% | 14%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Constants Extent FetchGroup FetchPlan InstanceCallbacks JDOEnhancer JDOEntityManager JDOEntityManagerFactory PersistenceManager PersistenceManagerFactory Query Transaction | Enhancer JDOCanRetryException JDODataStoreException JDODetachedFieldAccessException JDOEnhanceException JDOException JDOFatalDataStoreException JDOFatalException JDOFatalInternalException JDOFatalUserException JDOHelper JDOHelper$1 JDOHelper$10 JDOHelper$11 JDOHelper$12 JDOHelper$13 JDOHelper$14 JDOHelper$15 JDOHelper$16 JDOHelper$17 JDOHelper$18 JDOHelper$19 JDOHelper$2 JDOHelper$3 JDOHelper$4 JDOHelper$5 JDOHelper$6 JDOHelper$7 JDOHelper$8 JDOHelper$9 JDONullIdentityException JDOObjectNotFoundException JDOOptimisticVerificationException JDOQueryInterruptedException JDOReadOnlyException JDOUnsupportedOptionException JDOUserCallbackException JDOUserException ObjectState | javax.jdo.identity javax.jdo.spi | java.io java.lang java.lang.instrument java.lang.reflect java.net java.security java.util javax.jdo.datastore javax.jdo.listener javax.jdo.metadata javax.jdo.spi javax.naming javax.persistence javax.rmi javax.transaction javax.xml.parsers org.w3c.dom org.xml.sax

### javax.jdo.annotations

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 2 | 80% | 67% | 47%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Cacheable Column Columns DatastoreIdentity Discriminator Element Embedded EmbeddedOnly Extension Extensions FetchGroup FetchGroups FetchPlan FetchPlans ForeignKey ForeignKeys Index Indices Inheritance Join Joins Key NotPersistent Order PersistenceAware PersistenceCapable Persistent PrimaryKey Queries Query Sequence Serialized Transactional Unique Uniques Value Version | DiscriminatorStrategy ForeignKeyAction IdGeneratorStrategy IdentityType InheritanceStrategy NullValue PersistenceModifier SequenceStrategy VersionStrategy | javax.jdo.metadata | java.lang java.lang.annotation

### javax.jdo.datastore

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 2 | 75% | 67% | 42%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
DataStoreCache JDOConnection Sequence | DataStoreCache$EmptyDataStoreCache | javax.jdo | java.lang java.util

### javax.jdo.identity

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
0 | 5 | 11% | 100% | 11%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
SingleFieldIdentity | ByteIdentity CharIdentity IntIdentity LongIdentity ObjectIdentity ObjectIdentity$1 ShortIdentity StringIdentity | None | java.io java.lang java.security javax.jdo javax.jdo.spi

### javax.jdo.listener

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 4 | 94% | 80% | 74%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
AttachCallback AttachLifecycleListener ClearCallback ClearLifecycleListener CreateLifecycleListener DeleteCallback DeleteLifecycleListener DetachCallback DetachLifecycleListener DirtyLifecycleListener InstanceLifecycleListener LoadCallback LoadLifecycleListener StoreCallback StoreLifecycleListener | InstanceLifecycleEvent | javax.jdo | java.io java.lang java.util javax.jdo.spi

### javax.jdo.metadata

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
1 | 3 | 94% | 75% | 69%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
ArrayMetadata ClassMetadata CollectionMetadata ColumnMetadata DatastoreIdentityMetadata DiscriminatorMetadata ElementMetadata EmbeddedMetadata ExtensionMetadata FetchGroupMetadata FetchPlanMetadata FieldMetadata ForeignKeyMetadata IndexMetadata InheritanceMetadata InterfaceMetadata JDOMetadata JoinMetadata KeyMetadata MapMetadata MemberMetadata Metadata OrderMetadata PackageMetadata PrimaryKeyMetadata PropertyMetadata QueryMetadata SequenceMetadata TypeMetadata UniqueMetadata ValueMetadata VersionMetadata | ClassPersistenceModifier Indexed | javax.jdo | java.lang java.lang.reflect javax.jdo.annotations

### javax.jdo.spi

Afferent Couplings | Efferent Couplings | Abstractness | Instability | Distance
--- | --- | --- | --- | ---
3 | 8 | 50% | 73% | 23%

Abstract Classes | Concrete Classes | Used by Packages | Uses Packages
--- | --- | --- | ---
Detachable JDOImplHelper$StateInterrogationBooleanReturn JDOImplHelper$StateInterrogationObjectReturn JDOImplHelper$StringConstructor PersistenceCapable PersistenceCapable$ObjectIdFieldConsumer PersistenceCapable$ObjectIdFieldManager PersistenceCapable$ObjectIdFieldSupplier RegisterClassListener StateInterrogation StateManager | I18NHelper I18NHelper$1 I18NHelper$2 JDOImplHelper JDOImplHelper$1 JDOImplHelper$2 JDOImplHelper$3 JDOImplHelper$4 JDOImplHelper$Meta JDOPermission RegisterClassEvent | javax.jdo javax.jdo.identity javax.jdo.listener | java.lang java.lang.reflect java.security java.text java.util javax.jdo javax.xml.parsers org.xml.sax

## Cycles

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

Package | Cyclic Dependencies
--- | ---
javax.jdo | javax.jdo.spi javax.jdo
javax.jdo.identity | javax.jdo.spi javax.jdo javax.jdo.spi
javax.jdo.listener | javax.jdo.spi javax.jdo javax.jdo.spi
javax.jdo.spi | javax.jdo javax.jdo.spi

## Explanations

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

The following explanations are for quick reference and are lifted directly from the original JDepend documentation.

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.