Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 29 |  | Methods: | 3
| NCLOC: | 18 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
JSPLanguage.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 net.sourceforge.pmd.SourceFileSelector;
7 |  |
8 |  | import java.io.FilenameFilter;
9 |  |
10 |  | public class JSPLanguage implements Language {
11 |  |
12 |  | private JSPTokenizer tokenizer = new JSPTokenizer();
13 |  | private SourceFileSelector sourceFileSelector;
14 |  |
15 | 0 | public JSPLanguage() {
16 | 0 | sourceFileSelector = new SourceFileSelector();
17 | 0 | sourceFileSelector.setSelectJavaFiles(false);
18 | 0 | sourceFileSelector.setSelectJspFiles(true);
19 |  | }
20 |  |
21 | 0 | public Tokenizer getTokenizer() {
22 | 0 | return tokenizer;
23 |  | }
24 |  |
25 | 0 | public FilenameFilter getFileFilter() {
26 | 0 | return new SourceFileOrDirectoryFilter(sourceFileSelector);
27 |  | }
28 |  | }
29 |  |