Examples of SiteMapper


Examples of dk.brics.jwig.analysis.siteMap.SiteMapper

        write(new File(DIR, "feedback.txt"), prettyPrint);
    }

    public void printSiteMaps(SootMethod root) {
        StringBuilder sb = new StringBuilder();
        final SiteMapper siteMapper = new SiteMapper(stateMachine);
        sb.append("FULL:\n");
        final String full = siteMapper.getFullSiteMap().prettyPrint();
        sb.append(full);
        write(new File(DIR, "full.dot"), full);
        sb.append("RANKED:\n");
        final String ranked = siteMapper.getRankedSiteMap().prettyPrint();
        sb.append(ranked);
        write(new File(DIR, "ranked.dot"), ranked);
        if (root != null) {
            sb.append("BFS:\n");
            final String bfs = siteMapper.getBreadthFirstSiteMap(root)
                    .prettyPrint();
            sb.append(bfs);
            write(new File(DIR, "bfs.dot"), bfs);
        }
        final String string = sb.toString();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.