The following document contains the results of PMD's CPD 6.29.0.
File | Line |
---|---|
org/apache/maven/plugins/pmd/CpdReport.java | 125 |
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 ) { return false; } boolean result = super.canGenerateReport(); if ( result ) { try { |