+ All Categories
Home > Technology > Analyze your software assets with Modisco par Frédéric Madiot

Analyze your software assets with Modisco par Frédéric Madiot

Date post: 13-May-2015
Category:
Upload: eclipsedayparis
View: 1,072 times
Download: 5 times
Share this document with a friend
Popular Tags:
26
Copyright © 2010 Mia-Software All Rights Reserved Frédéric Madiot, Mia-Software Grégoire Dupé, Mia-Software Analyze your Software Assets With MoDisco
Transcript
Page 1: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Frédéric Madiot, Mia-Software

Grégoire Dupé, Mia-Software

Analyze your Software AssetsWith MoDisco

Page 2: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Mia-Software

Mia-Software is a Software Company80 customers, in 10 different countries

Eclipse Foundation member (5 committers)

Develops Model-Driven solutions since 1998

Mia-Insight : Quality AnalysisLegacy UnderstandingApplication Mining

Mia-StudioModel-to-Model transformationModel-to-Text transformation

Eclipse/MoDiscoIT Model-Driven Modernization

Page 3: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Mia-Software

Mia-Software is a subsidiary of SodifranceFrench leader in IT Modernization

900 employees

11 offices in France, Belgium and Tunisia

R&D team dedicated to IT Modernization

> 70 successful IT Modernization projects

VB6 to JEE/Ajax/JSF

Oracle Forms to JEE

VB6 to .Net

ABAL to .Net

Page 4: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

AtlanMod Team

AtlanMod is a research team Joint team between INRIA & École des Mines de Nantes (France)

Founded by Jean Bézivin

Around 12 members, lead by Jordi Cabot

Research focus on:MDE core technologies

metamodeling, model transformations, model weaving, megamodeling,…MDE applications

reverse engineering, interoperability

Organizers of the 1st full postgraduate program on MDE http://www.emn.fr/z-info/atlanmod/index.php/The_MDE_Diploma

Commitment to Eclipse open-source projects: ATL, TCS, AM3, AMW, MoDisco, …

Strong links with several software development companies

Participation in national and international projects

Page 5: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

About Modernization…

Page 6: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Software Modernization

Legacy Technologies

Source code

Databases

Configurationfiles

Other sources

Output

• Quality Analysis

• Understanding

• Code Refactoring

• Technical Migration

Scenarios

Documentation

Models

New system

Metrics

Page 7: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Modeling Software Artifacts

Source Code can be

represented with Models

This is nota UML model !

Page 8: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Software artifacts : - source code - configuration files - tests - database - …

ExistingSoftware System

Discover

Models

use Models to represent and manipulate

artifacts of existing systems

Understand

Viewpoints

Transform

NewSoftware System

Model-Driven Software Modernization

Page 9: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

MoDisco Project

Official Eclipse Modeling project (in MDT)Open-source (EPL licence)Based on other Eclipse Modeling projectsReleased with Helios

Supported by the OMG Eclipse implementations for

KDM (Knowledge Discovery Metamodel) SMM (Structured Metrics Metamodel)

http://www.eclipse.org/MoDisco/

an Eclipse platform to support

Software Modernization projects

Page 10: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

What can you do with MoDisco ?

Page 11: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Quality Analysis

Your own rules

ComplexityMaintenability

UsabilityEfficiencyPortability

etc

Existingapplication

ü Check your coding normsü Control multi-technos rulesü Select your output format

MoDisco

Calculate metrics on your code

13 931

42

Model of the existingapplication

Model of the metrics

Page 12: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

12Legacy Understanding

Your own rules

What to extract from the code

How to representthe information

Modeling tools

ExistingApplication

ü Detect specific patternsü Generate view-pointsü Respect your modelling norms

Documentation

Extract custom viewpoints out of your code

MoDisco

Model of the existingapplication

Model of the viewpoint(UML or DSL)

Page 13: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

13Code Refactoring

Your own rules

What to change+

How to change

Existing application

ü Re-apply coding normsü Upgrade component versionsü Replace coding patterns

Improve existing applications

MoDisco

Improvedapplication

Page 14: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

14Technical Migration

Your own rules

MigrationStrategy

Migratedapplication

Existingapplication

MoDisco

Model of the existingapplication

Model of the migratedapplication

Transform to new technologies

Page 15: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

the MoDisco

Toolbox

Page 16: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Supported Technologies

Infrastructure

MoDisco Architecture

Java üMetamodelüDiscovererüGeneratorüTransfo. to KDM

XMLüMetamodelüDiscovererüGenerator

. . .

Model Browser

Navigation through complex models

Customization & Extensibility

Definition ofspecific Viewpoints

DiscoveryManager

Plug and orchestratetransformations

OMG/ADMStandards

PivotMetamodels(SMM & KDM)

Eclipse Modeling projects

JSPüMetamodelüDiscovererüGenerator

Page 17: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

ADM Specifications

Knowledge Discovery Metamodel (KDM)Addresses the need to integrate various software tools that analyze ''existing software systems''.

Page 18: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

ADM Specifications

Structured Metrics Metamodel (SMM)Representing measurement information related to any model structured information with an initial focus on software

Page 19: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

EMF Model Browser

Spy On Your Models

Page 20: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Extensibility & Customization

Define Dynamic Viewpoints on Your Models

Page 21: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

JEE support

Extract Models from Source codeGenerate Source Code from Models

• Java files+ annotations (ejb, jpa, servlet)

• JSP pages• web.xml• ejb-jar.xml EMF models

KDM model

Page 22: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Examples of solutions built with MoDisco

Page 23: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Eclipse Plugin models

Checking Eclipse Plug-ins

Java modelPlugin project

.project

MANIFEST.MF

plugin.properties

build.properties

XML model

Manifest model

KDMCode model

KDMCode model

KDMSource model

SMM Measurementmodel

SMM Measuremodel

Eclipse Problems View

ImplementQA Rules

DeclareQA Rules

Page 24: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Checking Eclipse Plug-ins

SMM Measurements to Eclipse Markers

Page 25: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Defining Quality-Analysis Grids

Page 26: Analyze your software assets with Modisco par Frédéric Madiot

Copyright © 2010 Mia-Software All Rights Reserved

Thank you !

Eclipse projects

http://www.eclipse.org/MoDisco/

http://www.eclipse.org/modeling/emft/facet/

Companyhttp://www.mia-software.com/

http://www.sodifrance.fr/

Bloghttp://fmadiot.blogspot.com/


Recommended