soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Identify unused references in metamodel #259

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?
Analyse all of the test models -- source and completed -- and identify if there 
are any references that are not being used, and therefore may be safely removed.

What goal would this enhancement help you achieve?
A smaller metamodel.

Original issue reported on code.google.com by soundasleep on 9 May 2011 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by soundasleep on 9 May 2011 at 2:59

GoogleCodeExporter commented 9 years ago
A small test case script has been provided in r2938.

A possibly relevant academic paper is "Metamodel Usage Analysis for Identifying 
Metamodel Improvements" - Markus Herrmannsdoerfer, Daniel Ratiu, and Maximilian 
Koegel.

Original comment by soundasleep on 19 May 2011 at 8:43

GoogleCodeExporter commented 9 years ago
The preliminary results from this tool are available at 
http://openiaml.org/model/unused/unused-metamodel-features.

Original comment by soundasleep on 20 May 2011 at 12:56

GoogleCodeExporter commented 9 years ago
In r2941, removed the following supertype references:

AccessControlHandler -> Wireable
DecisionNode -> DataFlowEdgesSource
Gate -> WireSource
Gate -> WireDestination
Permission -> ContainsWires

Original comment by soundasleep on 20 May 2011 at 2:01

GoogleCodeExporter commented 9 years ago
Closing as of r2942.

Original comment by soundasleep on 20 May 2011 at 2:19