System.out.println("-------" + path + "-------");
readerfile = new ReaderFile(path);
Metric composite = new Composite();
Metric clases = new Classes(readerfile);
Metric methods = new Methods(readerfile);
Metric lineseffectives = new LinesEffectives(readerfile);
Metric lines = new Lines(readerfile);
atributes = new Attribute(readerfile);
Metric construct = new Construct(readerfile);
Metric parameters = new Parameter(readerfile);
parameters.getArrayInfo(readerfile);
Metric numfor = new NumberOfFor(readermethod);
Metric numif = new NumberOfIf(readermethod);
Metric numwhile = new NumberOfWhile(readermethod);
composite.add(clases);
composite.add(methods);
composite.add(lines);
composite.add(lineseffectives);
composite.add(construct);
composite.add(parameters);
composite.add(numfor);
composite.add(numif);
composite.add(numwhile);
int i = 0;
while (i < 9) {
System.out.println(composite.getChild(i).getCount());
i++;
}
//System.out.println(atributes.NumberAttributeGlobal());
System.out.println("------------------------------------------------------------");
}