jdiff

Class HTMLStatistics

public class HTMLStatistics extends Object

Emit an HTML file containing statistics about the differences. Statistical information only appears if the -stats argument is used. See the file LICENSE.txt for copyright details.
Constructor Summary
HTMLStatistics(HTMLReportGenerator h)
Constructor.
Method Summary
voidemitClassesByDiff(APIDiff apiDiff)
Emit all classes sorted by percentage difference, and a histogram of the values..
voidemitNumbersByElement(APIDiff apiDiff)
Emit a table of numbers of removals, additions and changes by package, class, constructor, method and field.
voidemitPackagesByDiff(APIDiff apiDiff)
Emit all packages sorted by percentage difference, and a histogram of the values.
voidemitStatistics(String filename, APIDiff apiDiff)
Emit the statistics HTML file.

Constructor Detail

HTMLStatistics

public HTMLStatistics(HTMLReportGenerator h)
Constructor.

Method Detail

emitClassesByDiff

public void emitClassesByDiff(APIDiff apiDiff)
Emit all classes sorted by percentage difference, and a histogram of the values..

emitNumbersByElement

public void emitNumbersByElement(APIDiff apiDiff)
Emit a table of numbers of removals, additions and changes by package, class, constructor, method and field.

emitPackagesByDiff

public void emitPackagesByDiff(APIDiff apiDiff)
Emit all packages sorted by percentage difference, and a histogram of the values.

emitStatistics

public void emitStatistics(String filename, APIDiff apiDiff)
Emit the statistics HTML file.