API Change Statistics
The overall difference between API Levels 10 and 11 is approximately 2.56%.
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 | 3 | 38 | 0 | 41 |
Classes and Interfaces | 109 | 196 | 0 | 305 |
Constructors | 20 | 5 | 1 | 26 |
Methods | 431 | 100 | 26 | 557 |
Fields | 619 | 36 | 0 | 655 |
Total | 1182 | 375 | 27 | 1584 |
Changed Packages, Sorted by Percentage Difference
Percentage Difference* | Package |
---|---|
40 | dalvik.bytecode |
24 | android.bluetooth |
23 | android.database.sqlite |
16 | android.app |
16 | android |
14 | android.preference |
14 | android.app.admin |
11 | android.content |
8 | android.view.inputmethod |
8 | android.text.method |
8 | android.widget |
8 | android.util |
6 | android.view |
6 | android.database |
5 | android.provider |
4 | android.view.animation |
4 | android.appwidget |
4 | android.webkit |
2 | android.os |
2 | android.test.mock |
2 | android.graphics |
1 | android.inputmethodservice |
1 | android.test |
1 | android.net |
1 | android.graphics.drawable |
1 | android.text |
1 | android.speech.tts |
1 | android.content.pm |
1 | android.media |
<1 | java.util |
<1 | android.accounts |
<1 | android.text.format |
<1 | android.speech |
<1 | android.hardware |
<1 | android.opengl |
<1 | android.telephony |
<1 | android.content.res |
<1 | java.lang |
* 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%.