This repository was archived by the owner on Jan 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function printResult(CodeCloneMap $clones, bool $verbose): void
20
20
{
21
21
if (count ($ clones ) > 0 ) {
22
22
printf (
23
- 'Found %d clones with %d duplicated lines in %d files: ' . PHP_EOL . PHP_EOL ,
23
+ 'Found %d code clones with %d duplicated lines in %d files: ' . PHP_EOL . PHP_EOL ,
24
24
count ($ clones ),
25
25
$ clones ->numberOfDuplicatedLines (),
26
26
$ clones ->numberOfFilesWithClones ()
@@ -51,14 +51,14 @@ public function printResult(CodeCloneMap $clones, bool $verbose): void
51
51
}
52
52
53
53
if ($ clones ->isEmpty ()) {
54
- print 'No clones found. ' . PHP_EOL . PHP_EOL ;
54
+ print 'No code clones found. ' . PHP_EOL . PHP_EOL ;
55
55
56
56
return ;
57
57
}
58
58
59
59
printf (
60
60
'%s duplicated lines out of %d total lines of code. ' . PHP_EOL .
61
- 'Average size of duplication is %d lines, largest clone has %d of lines ' . PHP_EOL . PHP_EOL ,
61
+ 'Average code clone size is %d lines, the largest code clone has %d lines ' . PHP_EOL . PHP_EOL ,
62
62
$ clones ->percentage (),
63
63
$ clones ->numberOfLines (),
64
64
$ clones ->averageSize (),
You can’t perform that action at this time.
0 commit comments