Clover coverage report - PMD - 3.7 Coverage timestamp: Wed May 31 2006 09:25:59 EDT FRAMES NO FRAMES |
file stats: | LOC: | 11 |  | Methods: | 1
| NCLOC: | 9 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
MatchLengthComparator.java | - | 0% | 0% | 0% |

1 |  | package net.sourceforge.pmd.cpd;
2 |  |
3 |  | import java.util.Comparator;
4 |  |
5 |  | public class MatchLengthComparator implements Comparator {
6 | 0 | public int compare(Object o1, Object o2) {
7 | 0 | Match m1 = (Match) o1;
8 | 0 | Match m2 = (Match) o2;
9 | 0 | return m2.getLineCount() - m1.getLineCount();
10 |  | }
11 |  | }