class FrontierSummaryReport extends Report {

    @Override
    public void write(PrintWriter writer, StatisticsTracker stats) {<FILL_FUNCTION_BODY>}

    @Override
    public String getFilename() {
        return "frontier-summary-report.txt";
    }

}

        if(!stats.controller.getFrontier().isRunning()) {
            writer.println("frontier unstarted");
        } else {
            try {
                stats.controller.getFrontier().reportTo(writer);
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    
<methods>public void <init>() ,public abstract java.lang.String getFilename() ,public boolean getShouldReportAtEndOfCrawl() ,public boolean getShouldReportDuringCrawl() ,public void setShouldReportAtEndOfCrawl(boolean) ,public void setShouldReportDuringCrawl(boolean) ,public abstract void write(java.io.PrintWriter, org.archive.crawler.reporting.StatisticsTracker) <variables>private boolean shouldReportAtEndOfCrawl,private boolean shouldReportDuringCrawl