The CoCoME case study comprises an architectural model defined with the Palladio Component Model (PCM), augmented with a behavior language (BL) and a data type language (DTL). As CoCoME is based on an enterprise application scenario, we want to monitor its usage and behavior. Therefore, we utilize the monitoring framework Kieker and the adjunct DSLs for record specification (IRL) and the specification of advises and sensor placement (IAL).
Source Code
Sources for all parts can be found at the following links (including the different code revisions):
- Monitoring and instrumentation: IAL and IRL (git rev 6a7a1fec86591170a90df031315afe3d402e67ac)
- Data model: DTL (git rev 4d2b80d903c)
- Behavior model: BL (git revision 335245e4e34, ca65f97d5d3, e1a5305cf18, 15bc5adce0e)
- Palladio and ProtoCom generator
- Other parts will appear after extraction for the secret SVN
Evaluation Results
git Revision | # of Classes | LOC | Modules | Nodes | Edges | |
---|---|---|---|---|---|---|
Megamodel v1 | — | — | — | 17 | 24 | |
Megamodel v2 | — | — | — | 32 | 46 | |
IRL | 751b193c716 | 17 | 28 | 208 | 593 | |
IAL | 751b193c716 | 1 | 8 | 28 | 47 | |
DTL | 4d2b80d903c | 1 | 13 | 43 | 79 | |
Behavior r1 | be2dafbc53a | 6 | 16 | 56 | 125 | |
Behavior r2 | 83acc26830d | 6 | 17 | 57 | 127 | |
Behavior r3 | 0961df26eb7 | 6 | 17 | 58 | 134 | |
Behavior r4 | 0c87a9e84c4 | 6 | 17 | 64 | 156 |
Size | Complexity | Cohesion | Coupling | Cyclomatic Complexity | |||||
---|---|---|---|---|---|---|---|---|---|
< 3 | < 5 | < 7 | < 10 | ≥ 10 | |||||
Megamodel v1 | 76.46 | 133.19 | — | — | — | — | — | — | — |
Megamodel v2 | 167.89 | 231.15 | — | — | — | — | — | — | — |
IRL | 1452.28 | 4470.54 | 0.013395 | 3462.61 | 100 | 4 | 0 | 0 | 4 |
IAL | 140.30 | 246.68 | 0.064206 | 156.50 | 20 | 2 | 1 | 0 | 0 |
DTL | 221.99 | 475.40 | 0.046843 | 352.10 | 13 | 6 | 0 | 1 | 1 |
Behavior r1 | 314.25 | 802.70 | 0.043709 | 594.93 | 27 | 2 | 1 | 3 | 2 |
Behavior r2 | 321.54 | 813.99 | 0.043965 | 605.90 | 27 | 2 | 1 | 3 | 2 |
Behavior r3 | 328.86 | 873.37 | 0.043965 | 654.83 | 27 | 2 | 1 | 3 | 2 |
Behavior r4 | 373.23 | 1041.43 | 0.042075 | 781.88 | 27 | 2 | 1 | 3 | 2 |
Please feel free to contact us (contact) if you require additional information on setting up the case study or the tooling.