|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ikokoon.serenity.process.AProcess
com.ikokoon.serenity.process.Aggregator
public class Aggregator
This class aggregates all the totals for the report. For each method there is a total for the number of lines that the method has and a for each line that is executed there is a line element. So the percentage of lines that were executed is covered lines / total lines * 100. The complexity total is added up for each method along with the coverage total for each method and divided by the total methods in the class to get the class average for coverage and complexity. Similarly for the package totals of complexity and coverage the class totals for the package are added up and divided by the number of classes in the package. Metrics are also gathered for the dependency, afferent and efferent and the abstractness and stability calculated from that.
| Field Summary |
|---|
| Fields inherited from class com.ikokoon.serenity.process.AProcess |
|---|
logger |
| Constructor Summary | |
|---|---|
Aggregator(IProcess parent,
IDataBase dataBase)
Constructor takes the parent process. |
|
| Method Summary | |
|---|---|
void |
execute()
Please refer to the class JavaDoc for more information. |
| Methods inherited from class com.ikokoon.serenity.process.AProcess |
|---|
setChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Aggregator(IProcess parent,
IDataBase dataBase)
parent - the parent process that will call this child. The child process, i.e. this instance, will add it's self to the parent| Method Detail |
|---|
public void execute()
execute in interface IProcessexecute in class AProcessAProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||