forked from phoedos/pmd
More detailed performance metric logging.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5803 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@@ -209,7 +209,13 @@ public class ReviewCodeCmd extends AbstractDefaultCommand {
|
||||
PMDRuntimePlugin.getDefault().logInformation(
|
||||
"Review code command terminated. " + this.rulesCount + " rules were executed against " + this.filesCount
|
||||
+ " files. Actual PMD duration is about " + this.pmdDuration + "ms, that is about "
|
||||
+ (this.pmdDuration / ((long) this.filesCount * (long) this.rulesCount)));
|
||||
+ ((float)this.pmdDuration / (this.filesCount))
|
||||
+ " ms/file, "
|
||||
+ ((float)this.pmdDuration / (this.rulesCount))
|
||||
+ " ms/rule, "
|
||||
+ ((float)this.pmdDuration / ((long) this.filesCount * (long) this.rulesCount))
|
||||
+ " ms/filerule"
|
||||
);
|
||||
} else {
|
||||
PMDRuntimePlugin.getDefault().logInformation(
|
||||
"Review code command terminated. " + this.rulesCount + " rules were executed against " + this.filesCount
|
||||
|
Reference in New Issue
Block a user