Description: JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.
Keywords: diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet

`zookeeper 3.4.6` | Overview | Package | Class | Statistics | Help
| Generated by JDiff
| FRAMES NO FRAMES

# JDiff Statistics

> The percent change statistic reported for all elements in each API is defined recursively as follows:

>     Percentage difference = 100 * (added + removed + 2*changed)
>                             -----------------------------------
>                             sum of public elements in BOTH APIs

> Where `added` is the number of packages added, `removed` is the number of packages removed, and `changed` is the number of packages changed. This definition is applied recursively for the classes and their program elements, so the value for a changed package will be less than 1, unless every class in that package has changed. The definition ensures that if all packages are removed and all new packages are added, the change will be 100%. Values are rounded here, so a value of 0% indicates a percentage difference of less than 0.5%.

> The overall difference between the two APIs is approximately 26%.

### Sections

Packages sorted by percentage difference
Classes and Interfaces sorted by percentage difference
Differences by number and type

## Packages Sorted By Percentage Difference

Percentage Difference | Package
26 | org.apache.zookeeper

Percentage Difference | Frequency | Percentage Frequency
26 | 1.0 |

## Classes and Interfaces Sorted By Percentage Difference

Percentage Difference | Class or Interface
80 | org.apache.zookeeper.ZooKeeperMain
50 | org.apache.zookeeper.ClientCnxn
33 | org.apache.zookeeper.KeeperException.BadArgumentsException
33 | org.apache.zookeeper.KeeperException.BadVersionException
33 | org.apache.zookeeper.KeeperException.InvalidACLException
33 | org.apache.zookeeper.KeeperException.NoChildrenForEphemeralsException
33 | org.apache.zookeeper.KeeperException.NoNodeException
33 | org.apache.zookeeper.KeeperException.NodeExistsException
33 | org.apache.zookeeper.KeeperException.NotEmptyException
28 | org.apache.zookeeper.Environment
20 | org.apache.zookeeper.ZooKeeper
15 | org.apache.zookeeper.ZooKeeper.States
14 | org.apache.zookeeper.Watcher.Event.KeeperState
11 | org.apache.zookeeper.ZooDefs.OpCode
4 | org.apache.zookeeper.KeeperException
4 | org.apache.zookeeper.KeeperException.Code

Percentage Difference | Frequency | Percentage Frequency
4 | 0.125 |
11 | 0.0625 |
14 | 0.0625 |
15 | 0.0625 |
20 | 0.0625 |
28 | 0.0625 |
33 | 0.4375 |
50 | 0.0625 |
80 | 0.0625 |

## Differences By Number and Type

> The numbers of program elements (packages, classes. constructors, methods and fields) which are recorded as removed, added or changed includes only the highest-level program elements. That is, if a class with two methods was added, the number of methods added does not include those two methods, but the number of classes added does include that class.

Number of Differences
| Removals | Additions | Changes | Total
Packages | 0 | 0 | 1 | 1
Classes and Interfaces | 0 | 23 | 16 | 39
Constructors | 3 | 13 | 0 | 16
Methods | 1 | 32 | 2 | 35
Fields | 1 | 21 | 1 | 23
Total | 5 | 89 | 20 | 114