Clover coverage report - PMD - 3.7
Coverage timestamp: Wed May 31 2006 09:25:59 EDT

file stats: | LOC: | 24 |  | Methods: | 3
| NCLOC: | 16 |  | Classes: | 2

Source file | Conditionals | Statements | Methods | TOTAL

PHPLanguage.java

-

0%

0%

0%

1 |  | /**
2 |  | * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3 |  | */
4 |  | package net.sourceforge.pmd.cpd;
5 |  |
6 |  | import java.io.File;
7 |  | import java.io.FilenameFilter;
8 |  |
9 |  | public class PHPLanguage implements Language {
10 |  |
11 |  | public static class PHPFileOrDirectoryFilter implements FilenameFilter {
12 | 0 | public boolean accept(File dir, String filename) {
13 | 0 | return filename.endsWith("php") || filename.endsWith("class") || (new File(dir.getAbsolutePath() + System.getProperty("file.separator") + filename).isDirectory());
14 |  | }
15 |  | }
16 |  |
17 | 0 | public Tokenizer getTokenizer() {
18 | 0 | return new PHPTokenizer();
19 |  | }
20 |  |
21 | 0 | public FilenameFilter getFileFilter() {
22 | 0 | return new PHPFileOrDirectoryFilter();
23 |  | }
24 |  | }