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

Android Developers | Android.com

API Diff Specification
To Level: | 25.0.0
From Level: | 24.2.0
Generated | 2016.11.11 17:08

Top of Report

# API Change Statistics

The overall difference between API Levels 24.2.0 and 25.0.0 is approximately 1.82%.

## 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 | 1 | 11 | 0 | 12
Classes and Interfaces | 5 | 13 | 1 | 19
Constructors | 1 | 2 | 0 | 3
Methods | 18 | 3 | 0 | 21
Fields | 3 | 0 | 0 | 3
Total | 28 | 29 | 1 | 58

## Changed Packages, Sorted by Percentage Difference

Percentage Difference* | Package
--- | ---
25 | android.support.v4.net
5 | android.support.v13.app
3 | android.support.v7.app
3 | android.support.v4.text
2 | android.support.design.widget
1 | android.support.v7.widget
<1 | android.support.v4.content
<1 | android.support.v4.app
<1 | android.support.customtabs
<1 | android.support.v4.widget
<1 | android.support.v4.view

* See Calculation of Change Percentages, below.

## Changed Classes and Interfaces, Sorted by Percentage Difference

Percentage Difference* | Class or Interface
--- | ---
50 | android.support.v4.net.ConnectivityManagerCompat
33 | android.support.v13.app.ActivityCompat
20 | android.support.v4.text.BidiFormatter
11 | android.support.v4.app.ActivityCompat
6 | android.support.v4.content.ContextCompat
4 | android.support.v4.widget.SwipeRefreshLayout
2 | android.support.design.widget.FloatingActionButton
1 | android.support.v4.app.NotificationCompat.WearableExtender
1 | android.support.customtabs.CustomTabsIntent
1 | android.support.v4.view.ViewPager
<1 | android.support.v7.widget.RecyclerView.LayoutManager
<1 | android.support.v4.view.ViewCompat
<1 | android.support.v7.widget.RecyclerView

* 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%.