jdiff
Class HTMLStatistics

java.lang.Object
  extended by jdiff.HTMLStatistics

public class HTMLStatistics
extends java.lang.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
 void emitClassesByDiff(APIDiff apiDiff)
          Emit all classes sorted by percentage difference, and a histogram of the values..
 void emitNumbersByElement(APIDiff apiDiff)
          Emit a table of numbers of removals, additions and changes by package, class, constructor, method and field.
 void emitPackagesByDiff(APIDiff apiDiff)
          Emit all packages sorted by percentage difference, and a histogram of the values.
 void emitStatistics(java.lang.String filename, APIDiff apiDiff)
          Emit the statistics HTML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLStatistics

public HTMLStatistics(HTMLReportGenerator h)
Constructor.

Method Detail

emitStatistics

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


emitPackagesByDiff

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


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.