Create a global API
Create a global API for all the metrics to use. This API should at least be able to hand over all the code in POJOs (plain old java objects), like packages, files, classes, methods and lines or such.
This API is not defined yet, but should be by a formal specification
Blueprint information
- Status:
- Complete
- Approver:
- Pascal de Vink
- Priority:
- Essential
- Drafter:
- Pascal de Vink
- Direction:
- Needs approval
- Assignee:
- Pascal de Vink
- Definition:
- Obsolete
- Series goal:
- Accepted for 1.0
- Implementation:
-
Unknown
- Milestone target:
-
1.0-alpha-1
- Started by
- Completed by
- Pascal de Vink
Related branches
Related bugs
Sprints
Whiteboard
// TODO: change iteration process:
/*
* First, we should iterate over the entire source model
* We then find packages, code, classes, methods and lines
* (pccml for short)
* For each of these, we create an AvailableMetrics model
* and a Result model. We ask the metricsfactory to extract
* the metrics for the specified object (pccml) and put the
* results in the Result model. The Result model is then added
* to the AvailableMetrics model.
* The Objects metrics are then changed to the AvailableMetrics
* model.
* Lastly, we hand over the source model, which includes all
* metric results, to another controller (to be defined)
* which handles the display of the results
*
* /
Work Items
Dependency tree
![](deptree.png)
* Blueprints in grey have been implemented.