The following document contains the results of PMD's CPD 6.38.0.
File | Line |
---|---|
org/apache/maven/plugins/pmd/CpdReport.java | 127 |
org/apache/maven/plugins/pmd/PmdReport.java | 272 |
return getBundle( locale ).getString( "report.cpd.description" ); } /** * {@inheritDoc} */ @Override public void executeReport( Locale locale ) throws MavenReportException { try { execute( locale ); } finally { if ( getSink() != null ) { getSink().close(); } } } private void execute( Locale locale ) throws MavenReportException { if ( !skip && canGenerateReport() ) { ClassLoader origLoader = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader( this.getClass().getClassLoader() ); generateMavenSiteReport( locale ); } finally { Thread.currentThread().setContextClassLoader( origLoader ); } } } @Override public boolean canGenerateReport() { if ( skip ) { getLog().info( "Skipping CPD execution" ); |