Package jdiff

Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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.