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: | 23
From Level: | 22.2.1
Generated | 2015.08.12 10:09

Top of Report

# API Change Statistics

The overall difference between API Levels 22.2.1 and 23 is approximately 14.32%.

## 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 | 9 | 18 | 0 | 27
Classes and Interfaces | 25 | 43 | 0 | 68
Constructors | 1 | 0 | 0 | 1
Methods | 109 | 4 | 3 | 116
Fields | 90 | 0 | 32 | 122
Total | 234 | 65 | 35 | 334

## Changed Packages, Sorted by Percentage Difference

Percentage Difference* | Package
--- | ---
33 | android.support.v7.util
26 | android.support.v4.content
23 | android.support.v4.os
16 | android.support.v13.app
14 | android.support.v7.graphics
13 | android.support.v4.view.accessibility
10 | android.support.v4.text
8 | android.support.v4.animation
6 | android.support.v4.app
5 | android.support.design.widget
4 | android.support.v4.graphics.drawable
3 | android.support.v4.widget
2 | android.support.v7.app
2 | android.support.v7.appcompat
<1 | android.support.v4.media
<1 | android.support.v4.media.session
<1 | android.support.v17.leanback.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
--- | ---
78 | android.support.v4.view.accessibility.AccessibilityNodeInfoCompat.AccessibilityActionCompat
66 | android.support.v4.widget.PopupWindowCompat
60 | android.support.v4.text.ICUCompat
40 | android.support.design.widget.TextInputLayout
33 | android.support.v4.animation.AnimatorCompatHelper
25 | android.support.v13.app.FragmentCompat
23 | android.support.v4.content.AsyncTaskLoader
17 | android.support.design.widget.CollapsingToolbarLayout
15 | android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter
14 | android.support.v4.content.ContextCompat
14 | android.support.v7.graphics.Palette.Builder
13 | android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
13 | android.support.v4.app.ActivityCompat
12 | android.support.design.widget.AppBarLayout
9 | android.support.design.widget.AppBarLayout.Behavior
9 | android.support.v4.content.Loader
8 | android.support.v7.appcompat.R.color
8 | android.support.v4.graphics.drawable.DrawableCompat
7 | android.support.v4.widget.ExploreByTouchHelper
7 | android.support.v7.app.AppCompatDelegate
6 | android.support.v4.app.Fragment
5 | android.support.design.widget.NavigationView
5 | android.support.design.widget.Snackbar
5 | android.support.v4.graphics.drawable.RoundedBitmapDrawable
5 | android.support.v17.leanback.widget.FullWidthDetailsOverviewRowPresenter.ViewHolder
5 | android.support.v4.media.MediaDescriptionCompat.Builder
5 | android.support.v7.appcompat.R.styleable
4 | android.support.v7.appcompat.R.dimen
4 | android.support.v4.media.MediaDescriptionCompat
4 | android.support.v7.appcompat.R.drawable
3 | android.support.v7.appcompat.R.attr
3 | android.support.v4.media.session.MediaControllerCompat.TransportControls
3 | android.support.design.widget.TabLayout
3 | android.support.v4.app.FragmentActivity
3 | android.support.v4.media.session.MediaSessionCompat.Callback
2 | android.support.design.widget.TabLayout.Tab
2 | android.support.v4.widget.DrawerLayout
2 | android.support.v7.appcompat.R.style
2 | android.support.v4.widget.SwipeRefreshLayout
1 | android.support.v7.appcompat.R.layout
1 | android.support.v4.media.session.PlaybackStateCompat
1 | android.support.v4.view.ViewCompat
1 | android.support.v7.appcompat.R.id

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