Package org.wicketstuff.pageserializer.common.analyze.report

Examples of org.wicketstuff.pageserializer.common.analyze.report.SimilarNodeTreeTransformator


    DirectoryBasedReportOutput reportOutput=new DirectoryBasedReportOutput(tempDirectory("reports"));
   
    ISerializedObjectTreeProcessor treeProcessor = TreeProcessors.listOf(new TypeSizeReport(reportOutput.with(Keys.withNameAndFileExtension("TypeSizeReport", "txt"))),
        new SortedTreeSizeReport(reportOutput.with(Keys.withNameAndFileExtension("SortedTreeSizeReport", "txt"))),
        new RenderTreeProcessor(reportOutput.with(Keys.withNameAndFileExtension("d3js-chart", "html")),new D3DataFileRenderer()),
        new SimilarNodeTreeTransformator(new SortedTreeSizeReport(reportOutput.with(Keys.withNameAndFileExtension("StrippedSortedTreeSizeReport", "txt")))));
    ITreeFilter filter = new ITreeFilter()
    {
      @Override
      public boolean accept(ISerializedObjectTree source, Level current)
      {
View Full Code Here


            "TypeSizeReport", "txt"))),
        new SortedTreeSizeReport(reportOutput.with(Keys.withNameAndFileExtension(
            "SortedTreeSizeReport", "txt"))),
        new RenderTreeProcessor(reportOutput.with(Keys.withNameAndFileExtension(
            "d3js-chart", "html")), new D3DataFileRenderer()),
        new SimilarNodeTreeTransformator(new SortedTreeSizeReport(reportOutput.with(Keys
            .withNameAndFileExtension("StrippedSortedTreeSizeReport", "txt")))));
    ITreeFilter filter = new ITreeFilter()
    {
      @Override
      public boolean accept(ISerializedObjectTree source, Level current)
View Full Code Here

            "TypeSizeReport", "txt"))),
        new SortedTreeSizeReport(reportOutput.with(Keys.withNameAndFileExtension(
            "SortedTreeSizeReport", "txt"))),
        new RenderTreeProcessor(reportOutput.with(Keys.withNameAndFileExtension(
            "d3js-chart", "html")), new D3DataFileRenderer()),
        new SimilarNodeTreeTransformator(new SortedTreeSizeReport(reportOutput.with(Keys
            .withNameAndFileExtension("StrippedSortedTreeSizeReport", "txt")))));
    ITreeFilter filter = new ITreeFilter()
    {
      @Override
      public boolean accept(ISerializedObjectTree source, Level current)
View Full Code Here

     
      // output of report of type sizes, sorted tree report (by size), aggregated tree
      ISerializedObjectTreeProcessor typeAndSortedTreeAndCollapsedSortedTreeProcessors = TreeProcessors.listOf(
        new TypeSizeReport(output.with(Keys.withNameAndFileExtension("typesize", "txt"))),
        new SortedTreeSizeReport(output.with(Keys.withNameAndFileExtension("treesize", "txt"))),
        new SimilarNodeTreeTransformator(new SortedTreeSizeReport(output.with(Keys.withNameAndFileExtension("sorted-treesize", "txt")))),
        new RenderTreeProcessor(output.with(Keys.withNameAndFileExtension("d3js-chart", "html")),new D3DataFileRenderer()));

      // strips class object writes from tree
      TreeTransformator treeProcessors = new TreeTransformator(
        typeAndSortedTreeAndCollapsedSortedTreeProcessors,
View Full Code Here

   
    IReportOutput reportOutput=new LoggerReportOutput();

    // output of report of type sizes, sorted tree report (by size), aggregated tree
    ISerializedObjectTreeProcessor typeAndSortedTreeAndCollapsedSortedTreeProcessors = TreeProcessors.listOf(
      new TypeSizeReport(reportOutput), new SortedTreeSizeReport(reportOutput), new SimilarNodeTreeTransformator(
        new SortedTreeSizeReport(reportOutput)));

    // strips class object writes from tree
    TreeTransformator treeProcessors = new TreeTransformator(
      typeAndSortedTreeAndCollapsedSortedTreeProcessors,
View Full Code Here

    };
   
    IReportOutput reportOutput=new LoggerReportOutput();

    ISerializedObjectTreeProcessor treeProcessor = TreeProcessors.listOf(new TypeSizeReport(reportOutput),
      new TreeSizeReport(reportOutput), new SortedTreeSizeReport(reportOutput), new SimilarNodeTreeTransformator(
        new SortedTreeSizeReport(reportOutput)));
    ITreeFilter filter = new TypeFilter(Class.class);
    ISerializedObjectTreeProcessor cleanedTreeProcessor = new TreeTransformator(treeProcessor,
      TreeTransformator.strip(filter));
    ISerializationListener listener = SerializationListeners.listOf(
View Full Code Here

TOP

Related Classes of org.wicketstuff.pageserializer.common.analyze.report.SimilarNodeTreeTransformator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.