Mais conteúdo relacionado Semelhante a Analyze your software assets with Modisco par Frédéric Madiot (20) Mais de EclipseDayParis (6) Analyze your software assets with Modisco par Frédéric Madiot1. Analyze your Software Assets
With MoDisco
Frédéric Madiot, Mia-Software
Grégoire Dupé, Mia-Software
Copyright © 2010 Mia-Software
All Rights Reserved
2. Mia-Software
Mia-Software is a Software Company
80 customers, in 10 different countries
Eclipse Foundation member (5 committers)
Develops Model-Driven solutions since 1998
Mia-Insight :
Quality Analysis
Legacy Understanding
Application Mining
Mia-Studio
Model-to-Model transformation
Model-to-Text transformation
Eclipse/MoDisco
IT Model-Driven Modernization
Copyright © 2010 Mia-Software
All Rights Reserved
3. Mia-Software
Mia-Software is a subsidiary of Sodifrance
French 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
4. 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
5. About
Modernization…
Copyright © 2010 Mia-Software
All Rights Reserved
6. Software Modernization
Legacy Technologies Output
Scenarios
Source code Metrics
Databases •
Quality Analysis Models
•
Understanding
Configuration
•
Code Refactoring
files New system
•
Technical Migration
Other sources Documentation
Copyright © 2010 Mia-Software
All Rights Reserved
7. Modeling Software Artifacts
Source Code can be
represented with Models
This is not
a UML model !
Copyright © 2010 Mia-Software
All Rights Reserved
8. Model-Driven Software Modernization
use Models to represent and manipulate
artifacts of existing systems
Existing
Discover Understand Transform
Software System
Software artifacts :
New
Models - source codeViewpoints
- configuration files Software System
- tests
- database
-…
Copyright © 2010 Mia-Software
All Rights Reserved
9. MoDisco Project
an Eclipse platform to support
Software Modernization projects
Official Eclipse Modeling project (in MDT)
Open-source (EPL licence)
Based on other Eclipse Modeling projects
Released with Helios
Supported by the OMG
Eclipse implementations for
KDM (Knowledge Discovery Metamodel)
SMM (Structured Metrics Metamodel)
http://www.eclipse.org/MoDisco/
Copyright © 2010 Mia-Software
All Rights Reserved
10. What can you do
with MoDisco ?
Copyright © 2010 Mia-Software
All Rights Reserved
11. Quality Analysis
Calculate metrics on your code
MoDisco
42
13 931
Model Model
Existing
of the existing of the metrics
application
application
Complexity
Maintenability
ü
Check your coding norms
Your own rules Usability ü
Control multi-technos rules
Efficiency ü
Select your output format
Portability
etc
Copyright © 2010 Mia-Software
All Rights Reserved
12. Legacy Understanding
12
Extract custom viewpoints out of your code
MoDisco
Modeling tools
Model Model
Existing
of the existing of the viewpoint
Application Documentation
application (UML or DSL)
What to extract
from the code
ü
Detect specific patterns
Your own rules ü
Generate view-points
How to represent ü
Respect your modelling norms
the information
Copyright © 2010 Mia-Software
All Rights Reserved
13. Code Refactoring
13
Improve existing applications
MoDisco
Existing Improved
application application
What to change
+
ü
Re-apply coding norms
Your own rules How to change ü
Upgrade component versions
ü
Replace coding patterns
Copyright © 2010 Mia-Software
All Rights Reserved
14. Technical Migration
14
Transform to new technologies
MoDisco
Model Model Migrated
Existing
of the existing of the migrated application
application
application application
Migration
Strategy
Your own rules
Copyright © 2010 Mia-Software
All Rights Reserved
15. the
MoDisco
Toolbox
Copyright © 2010 Mia-Software
All Rights Reserved
16. MoDisco Architecture
Supported Technologies
Java ...
JSP XML
ü
Metamodel Metamodel
ü
Metamodel ü
ü
Discoverer Discoverer
ü
Discoverer ü
ü
Generator Generator
ü
Generator ü
ü
Transfo. to KDM
Discovery Model Customization OMG/ADM
Manager Browser & Extensibility Standards
Plug and orchestrate Navigation Definition of Pivot
transformations through specific Metamodels
complex models Viewpoints (SMM & KDM)
Infrastructure
Eclipse Modeling projects
Copyright © 2010 Mia-Software
All Rights Reserved
17. 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
18. 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
19. EMF Model Browser
Spy On Your Models
Copyright © 2010 Mia-Software
All Rights Reserved
21. JEE support
Extract Models from Source code
Generate Source Code from Models
KDM model
•
Java files
+ annotations (ejb, jpa, servlet)
•
JSP pages
•
web.xml
•
ejb-jar.xml EMF models
Copyright © 2010 Mia-Software
All Rights Reserved
23. Checking Eclipse Plug-ins
Declare
QA Rules
Eclipse Plugin models
SMM Measure
KDMSource model model
Plugin project
Java model
XML model SMM Measurement
.project model Eclipse
Problems View
MANIFEST.MF Manifest model
Implement
plugin.properties KDMCode model
QA Rules
build.properties KDMCode model
Copyright © 2010 Mia-Software
All Rights Reserved
26. Thank you !
Eclipse projects
http://www.eclipse.org/MoDisco/
http://www.eclipse.org/modeling/emft/facet/
Company
http://www.mia-software.com/
http://www.sodifrance.fr/
Blog
http://fmadiot.blogspot.com/
Copyright © 2010 Mia-Software
All Rights Reserved