Package com.adobe.ac.pmd.metrics.maven.utils

Examples of com.adobe.ac.pmd.metrics.maven.utils.ModuleReport


            final MavenProject child = mavenProject;
            final File xmlReport = new File( child.getBasedir() // NOPMD
                  + File.separator + relative, tempFileName );
            if ( xmlReport.exists() )
            {
               reports.add( new ModuleReport( child, loadDocument( xmlReport ) ) ); // NOPMD
            }
            else
            {
               getLog().debug( "xml file not found: "
                     + xmlReport );
View Full Code Here


        int jdlines = 0;
        int single = 0;
        int multi = 0;
        for ( final ModuleReport moduleReport : reports )
        {
            final ModuleReport report = moduleReport;
            final Document document = report.getJavancssDocument();
            getSink().tableRow();
            getLog().debug( "Aggregating "
                    + report.getModule().getArtifactId() );
            tableCellHelper( report.getModule().getArtifactId() );
            final int packageSize = document.selectNodes( "//javancss/packages/package" ).size();
            packages += packageSize;
            tableCellHelper( String.valueOf( packageSize ) );

            final Node node = document.selectSingleNode( "//javancss/packages/total" );
View Full Code Here

TOP

Related Classes of com.adobe.ac.pmd.metrics.maven.utils.ModuleReport

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.