Main Page/Resources/LinTra

From Atenea

Jump to: navigation, search

Contents

Case Studies

IMDb

Metamodels

Image:Movies.png

Transformations

Input Models

imdb-0.1.xmi (# elements: 100024; # movies: 10400; file size: 7.1 Mb)

imdb-0.2.xmi (# elements: 200319; # movies: 27800; file size: 14.3 Mb)

imdb-0.5.xmi (# elements: 500716; # movies: 84400; file size: 37.7 Mb)

imdb-1.0.xmi (# elements: 1013510; # movies: 200000; file size: 81.9 Mb)

imdb-1.5.xmi (# elements: 1511287; # movies: 335000; file size: 129.7 Mb)

imdb-2.0.xmi (# elements: 2019707; # movies: 492000; file size: 181.9 Mb)

imdb-2.5.xmi (# elements: 2509987; # movies: 650000; file size: 232.6 Mb)

imdb-3.0.xmi (# elements: 3017435; # movies: 820000; file size: 287.9 Mb)

imdb-all.xmi (# elements: 3531618; # movies: ; file size: 345.4 Mb)

DBLP

Metamodels

Image:DBLP.png

Image:AuthorInfo.png

Transformations

  • DBLP2Info_v2: Find if those ICMT authors are still publishing (active) or if they have stopped (inactive) [ATL, ATL EMFTVM,ETL, QVT-O,LinTra]
  • DBLP2Info_v3: Find the conferences where people who stopped publishing at ICMT are now publishing [ATL, ATL EMFTVM,ETL, QVT-O,LinTra]
  • DBLP2Info_v4: Find all journals where people who are active in IST (have an article in the last 10 years) are also publising [ATL, ATL EMFTVM,ETL, QVT-O,LinTra]

Input Models

simpleDBLP.xmi (provided only for testing purposes; # elements: 21; file size: 2 Kb)

dblp.xmi (# elements: 5654916; file size: 1.2 Gb)

Java Refactoring

Metamodels

Transformations

  • JavaRefactoring: This is an example of program transformation rules for code refactoring, where all the @Singleton annotations are removed from Java programs and their implicit behavior is replaced with the actual Java code they represent. [ATL, ATL EMFTVM,ETL, QVT-O,LinTra]

Input Models

eclipseModel-0.1.xmi (# elements: 100126; file size: 24.5 Mb)

eclipseModel-0.2.xmi (# elements: 200224; file size: 50.8 Mb)

eclipseModel-0.5.xmi (# elements: 500510; file size: 131.8 Mb)

eclipseModel-1.0.xmi (# elements: 1000658; file size: 258.3 Mb)

eclipseModel-1.5.xmi (# elements: 1500304; file size: 410.3 Mb)

eclipseModel-2.0.xmi (# elements: 2000329; file size: 555.7 Mb)

eclipseModel-2.5.xmi (# elements: 2500194; file size: 698.2 Mb)

eclipseModel-3.0.xmi (# elements: 3000159; file size: 948.5 Mb)

eclipseModel-3.5.xmi (# elements: 3500107; file size: 1.08 Gb)

eclipseModel-4.0.xmi (# elements: 4000426; file size: 1.11 Gb)

eclipseModel-all.xmi (# elements: 4357774; file size: 1.21 Gb)


Java 2 Graph 2 ReducedGraph

Metamodels

Image:Graph.png

Transformations

  • Java2Graph: It transforms a Java model into a Prefuse graph where every class is a node and every attribute whose type is another class is an edge. The size of the nodes depends on the number of outgoing edges, and they are red if the class is abstract, blue if it is final and green if it is a regular class. [ATL, ATL EMFTVM,ETL, QVT-O,LinTra]
  • Java2Graph & Reduce Graph: It is a transformation chain. The first transformation is Java2Graph. Then, a second transformation is applied which reduces the graph removing the nodes that have five or less outgoing edges (and their corresponding edges). [ATL, ATL EMFTVM,ETL, QVT-O,LinTra]

Input Models

eclipseModel-0.1.xmi (# elements: 100126; file size: 24.5 Mb)

eclipseModel-0.2.xmi (# elements: 200224; file size: 50.8 Mb)

eclipseModel-0.5.xmi (# elements: 500510; file size: 131.8 Mb)

eclipseModel-1.0.xmi (# elements: 1000658; file size: 258.3 Mb)

eclipseModel-1.5.xmi (# elements: 1500304; file size: 410.3 Mb)

eclipseModel-2.0.xmi (# elements: 2000329; file size: 555.7 Mb)

eclipseModel-2.5.xmi (# elements: 2500194; file size: 698.2 Mb)

eclipseModel-3.0.xmi (# elements: 3000159; file size: 948.5 Mb)

eclipseModel-3.5.xmi (# elements: 3500107; file size: 1.08 Gb)

eclipseModel-4.0.xmi (# elements: 4000426; file size: 1.11 Gb)

eclipseModel-all.xmi (# elements: 4357774; file size: 1.21 Gb)

Public 2 Private

Metamodels

Transformations

  • Public2Private: Change the visibility of every public variable to private and create the corresponding getter and setter methods (ATL code can be downloaded from here)

Input Models

Same models used for the Java2Graph case study.

Source code

jLinTra is the Java implementation of LinTra. A bundle containing the jLinTra engine as well as the implementation of the case studies can be downloaded from here.

Personal tools