Date post: | 13-May-2015 |
Category: |
Technology |
Upload: | eclipsedayparis |
View: | 1,072 times |
Download: | 5 times |
Copyright © 2010 Mia-Software All Rights Reserved
Frédéric Madiot, Mia-Software
Grégoire Dupé, Mia-Software
Analyze your Software AssetsWith MoDisco
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
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
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
Copyright © 2010 Mia-Software All Rights Reserved
About Modernization…
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
Copyright © 2010 Mia-Software All Rights Reserved
Modeling Software Artifacts
Source Code can be
represented with Models
This is nota UML model !
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
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
Copyright © 2010 Mia-Software All Rights Reserved
What can you do with MoDisco ?
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
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)
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
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
Copyright © 2010 Mia-Software All Rights Reserved
the MoDisco
Toolbox
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
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''.
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
Copyright © 2010 Mia-Software All Rights Reserved
EMF Model Browser
Spy On Your Models
Copyright © 2010 Mia-Software All Rights Reserved
Extensibility & Customization
Define Dynamic Viewpoints on Your Models
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
Copyright © 2010 Mia-Software All Rights Reserved
Examples of solutions built with MoDisco
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
Copyright © 2010 Mia-Software All Rights Reserved
Checking Eclipse Plug-ins
SMM Measurements to Eclipse Markers
Copyright © 2010 Mia-Software All Rights Reserved
Defining Quality-Analysis Grids
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/