1 package javancss.parser;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import javancss.FunctionMetric;
7 import javancss.ObjectMetric;
8 import javancss.PackageMetric;
9
10 public interface JavaParserInterface
11 {
12 void parse() throws Exception;
13
14 void parseImportUnit() throws Exception;
15
16 int getNcss();
17
18 int getLOC();
19
20
21 int getJvdc();
22
23
24
25
26
27 List<FunctionMetric> getFunction();
28
29
30
31
32 List<ObjectMetric> getObject();
33
34
35
36
37 Map<String, PackageMetric> getPackage();
38
39 List<Object[]> getImports();
40
41
42
43
44 Object[] getPackageObjects();
45
46
47
48
49
50
51
52 String getLastFunction();
53 }