|
Generated by JDiff |
|||||||
FRAMES NO FRAMES |
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 APIsWhereadded
is the number of packages added,removed
is the number of packages removed, andchanged
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 25%.
Percentage Difference |
Package |
25 | org.apache.zookeeper |
Percentage Difference |
Frequency | Percentage Frequency |
25 | 1.0 |
Percentage Difference |
Frequency | Percentage Frequency |
4 | 0.125 | |
11 | 0.0625 | |
14 | 0.0625 | |
15 | 0.0625 | |
16 | 0.0625 | |
20 | 0.0625 | |
33 | 0.4375 | |
44 | 0.0625 | |
80 | 0.0625 |
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 | 28 | 2 | 31 |
Fields | 1 | 20 | 1 | 22 |
Total | 5 | 84 | 20 | 109 |