API Change Statistics
The overall difference between API Levels 35 and b-dp1 is approximately 1.11%.
Total of Differences, by Number and Type
The table below lists the numbers of program elements (packages, classes, constructors, methods, and fields) that were added, changed, or removed. The table 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.
Type | Additions | Changes | Removals | Total |
---|---|---|---|---|
Packages | 4 | 19 | 0 | 23 |
Classes and Interfaces | 41 | 64 | 0 | 105 |
Constructors | 9 | 0 | 0 | 9 |
Methods | 58 | 10 | 0 | 68 |
Fields | 51 | 25 | 1 | 77 |
Total | 163 | 118 | 1 | 282 |
Changed Packages, Sorted by Percentage Difference
* See Calculation of Change Percentages, below.
Changed Classes and Interfaces, Sorted by Percentage Difference
* See Calculation of Change Percentages, below.
Calculation of Change Percentages
The percent change statistic reported for all elements in the "to" API Level specification 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%.