SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
Industrial Experiences on
Domain-Specific Modeling
Contents
 Domain-Specific Modeling Languages: Introduction
 Review of industry cases
– Touch screen
– Home automation control
– Sports computer
– Military radio
 Summary and discussion
1
4,5 5
6 6
40
0
5
10
15
20
25
30
35
40
Number of new product
features implemented in a
given time (productivity
proportional to Assembler)
A rise in productivity is overdue
 "The entire history of software
engineering is that of the rise in
levels of abstraction"
 New general-purpose
programming languages have
not increased productivity
 Abstraction of development can
be raised above current level...
 ... without losing control or
accepting substandard results
*Software Productivity Research & Capers Jones, 2002
What data is available behind the
statements* like:
"5-fold productivity increase when compared
to standard development methods"
"The quality of the generated code is clearly
better, simply because the modeling language
rules out errors"
"The DSM solution makes development
significantly faster and easier than the old
manual coding practices"
* source: www.metacase.com/cases/
Four cases in more detail
 Touch screen device (Panasonic)
 Home automation (Ouman)
 Sports computer (Polar Electro)
 Military radio (Elektrobit)
Case 1: Panasonic’s touch screen
devices (Safa, 2007)
 Home automation solution installed by construction firms
 Features for controlled
– Lights
– Heating
– Air-conditioning
– Electricity
– Alarms
• Burglar
• Gas
• Smoke
– Reporting (energy saving)
Evaluation method
 Compare DSM to current manual coding practice
 Two evaluation methods
1. Implemented an existing product with DSM
2. Implemented the existing features to a different target
platform
• The same models, a new generator
 Tool-chains covering:
– Generate
– Compile
– Upload
– Boot
– Run
 Generators for:
– PC simulation
– Touch screen
– Microcontroller
Measuring development time
 Build the same application with both approaches
– Measure the time used
 Results:
– DSM is 425% faster
 Implemented the same product
to a new platform
– 3 days for generator development
– 0 days for modeling
Return on investment: Panasonic
 DSM solution developed in 15 days
 Product development with:
– the current approach: 17 days
– DSM: 4 days
0 5 10 15 20 25 30 35
DSM
Coding
Days
Creating DSM solution
Product 1
Product 2
Product 3
Product 4
Product 5
Case 2: Home automation
(Puolitaival, 2011)
Home automation,
remote control via mobile phone
 Ouman manufactures home automation systems
 Products are focused mainly on temperature control with
many different heating systems
 SMS interface for remote control
A language for specifying remote
control applications
One model for Ouman EH-60 product
remote controller
0 5 10 15 20
DSM
"past"
Days
Creating DSM solution
Product 1
Product 2
Product 3
Product 4
Product 5
Return on investment
 DSM solution developed: 2 weeks
 Product development: 1-2 days
– Comparison to earlier development effort not possible since
outsourced
• Cost was 6 figure number
 DSM allows a non-programmer to develop applications
Case 3: Polar’s Sport computers
 Heart rate measuring, analysis and visualization
 Calorie calculation, like current, cumulative, expenditure rate, active time
 Speed: current, average, maximum
 Distance, based on interval, trip, recovery
 Altimeter, vertical speed, altitude alarms, slope counter, graphical trend
 Cycling information like pedaling rate and cycling power
 Barometer, pressure drop alarm, graphical trend
 Exercise diaries
 Sensor connectivity (heart rate, speed, cadence, power, GPS)
 Compass, Temperature, Odometer, Logbooks, etc.
About the product development
(Kärnä et al. 2009)
 Polar focused on UI application development
– Single largest piece of software
• Takes 40-50% of the development time
– Typically always vary among products
 Software development is constrained by limited
resources:
– Memory, processor speed and battery life
 Polar created the needed languages and generators
internally
Sample of UI application design
Evaluation methods
 Compare the use of DSM and the current practice
 Two research methods
– Laboratory study
• 6 current developers, 6 implementations
• Implement a small, typical feature
– Pilot project
• Implement large portion of a whole product
• 1 person
Results of the studies
 Laboratory study
– Measuring time: at least 750% faster
– Asking opinions: results (scale 1-5, 5 best):
 Pilot
– Measuring time:
>900% faster
Return on investment: Polar
 DSM solution developed in 60 hours
 Product development with:
– the current approach: 23 days
– DSM: 2,3 days
Case 4: Military radio
(Puolitaival et al., 2011)
EB Tough VoIP Features
 Tough VoIP is a wired phone
that is using UDP/IP network for
connection
 Manufacturer: Elektrobit
 Main features:
– Easy configuration
– Point-to-Point call
– All call
– War-proof device
Testing problem
ETC...
EB Test Tool Platform +
OpenTTCN tester
Two language solution
Model Model
MBT
TTCN-3TTCN-3
Modeling
one test case
Modeling a
test logic
Model-Based
Testing
generates
multiple test
cases
Generating
one test case
Executing the
test case
Executing
test cases
Model example 1: test case
Model example 2: test logic
0 5 10 15 20
DSM
Coding
Days
Creating DSM solution
Test suite 1
Test suite 2
Test suite 3
Test suite 4
Test suite 5
Return on investment: Elektrobit
 About 10 times faster with modeling
 Set-up time estimation:
– 2 weeks for the first version, +1 week to make it better
 Other benefits:
– Test coverage dramatically increase
– Easy test configuration
Economics of DSM
 Repetition:
– # of product variants
– # of similar features
– # of developers
– ”outsourcing” to
domain experts
 Investment:
– Effort needed
to implement
DSLs
0
10
20
30
40
50
60
70
80
90
100
0 1 2 3 4 5 6
Repetition
Cost
Current DSM
DSM Solution Development Time
Man days
Concepts Symbols
GeneratorsRules
1 2 3 4
Steps for implementing DSM
Summary
 Domain-Specific Modeling languages provide:
– Better productivity
– Quality improvements
– Easier use and introduction of new developers
 MetaEdit+ makes moving to DSLs feasible
– Expert can focus on language design, not on creating tooling
– Models update and work when languages changes
 Creation of languages does not take much time!
More details on the cases
 Kelly, S., Tolvanen, J.-P., Domain-Specific Modeling: Enabling
Full Code Generation, Wiley, 2008. http://dsmbook.com
 Kärnä, J., et al. Evaluating the Use of Domain-Specific Modeling
in Practice, Proceedings of the 9th Workshop on Domain-
Specific Modeling, HSE Print, B-108, 2009.
 Puolitaival, O.-P., Home Automation DSL case, Code Generation
Conference, 2011
 Puolitaival, O.-P., Kanstren, T., Rytky, V.-P., Saarela, A.,
Utilizing Domain-Specific Modeling for Software Testing,
Proceedings of VALID, October 2011
 Safa, L., The Making Of User-Interface Designer, A Proprietary
DSM Tool, Proceedings of the 7th Workshop on Domain-Specific
Modeling, Technical Reports, TR-38, University of Jyväskylä,
2007
For more cases, customer stories, testimonials
visit www.metacase.com
Thank You!

Más contenido relacionado

La actualidad más candente

Resume_Animesh_Deb
Resume_Animesh_DebResume_Animesh_Deb
Resume_Animesh_DebAnimesh Deb
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentationMiha Tisca
 
Introduction to DL-BUILDER
Introduction to DL-BUILDERIntroduction to DL-BUILDER
Introduction to DL-BUILDERssuserc37b5e
 
COCOMO Modal In Software Engineering By NADEEM AHMED
COCOMO Modal In Software Engineering By NADEEM AHMED COCOMO Modal In Software Engineering By NADEEM AHMED
COCOMO Modal In Software Engineering By NADEEM AHMED NA000000
 
CONSTRUCTIVE COST MODEL TOOLS
CONSTRUCTIVE COST MODEL TOOLS CONSTRUCTIVE COST MODEL TOOLS
CONSTRUCTIVE COST MODEL TOOLS Hossam Nabih
 
Globalization Testing for Cloud Products
Globalization Testing for Cloud ProductsGlobalization Testing for Cloud Products
Globalization Testing for Cloud ProductsTechWell
 
COCOMO model | How to calculate effort, staffing and Duration of Project
COCOMO model | How to calculate effort, staffing and Duration of ProjectCOCOMO model | How to calculate effort, staffing and Duration of Project
COCOMO model | How to calculate effort, staffing and Duration of ProjectNavjyotsinh Jadeja
 
COCOMO Model in software project management
COCOMO Model in software project managementCOCOMO Model in software project management
COCOMO Model in software project managementSyed Hassan Ali
 
Cocomo model (muskan soni)
Cocomo model (muskan soni)Cocomo model (muskan soni)
Cocomo model (muskan soni)MuskanSony
 

La actualidad más candente (20)

Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Resume_Animesh_Deb
Resume_Animesh_DebResume_Animesh_Deb
Resume_Animesh_Deb
 
COCOMO MODEL
COCOMO MODELCOCOMO MODEL
COCOMO MODEL
 
Cocomo
CocomoCocomo
Cocomo
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
 
Cocom ii
Cocom iiCocom ii
Cocom ii
 
Introduction to DL-BUILDER
Introduction to DL-BUILDERIntroduction to DL-BUILDER
Introduction to DL-BUILDER
 
Rashmi_Resume
Rashmi_ResumeRashmi_Resume
Rashmi_Resume
 
COCOMO Modal In Software Engineering By NADEEM AHMED
COCOMO Modal In Software Engineering By NADEEM AHMED COCOMO Modal In Software Engineering By NADEEM AHMED
COCOMO Modal In Software Engineering By NADEEM AHMED
 
CONSTRUCTIVE COST MODEL TOOLS
CONSTRUCTIVE COST MODEL TOOLS CONSTRUCTIVE COST MODEL TOOLS
CONSTRUCTIVE COST MODEL TOOLS
 
COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2
 
Globalization Testing for Cloud Products
Globalization Testing for Cloud ProductsGlobalization Testing for Cloud Products
Globalization Testing for Cloud Products
 
Cocomo m odel
Cocomo m odelCocomo m odel
Cocomo m odel
 
CV1603en
CV1603enCV1603en
CV1603en
 
COCOMO model | How to calculate effort, staffing and Duration of Project
COCOMO model | How to calculate effort, staffing and Duration of ProjectCOCOMO model | How to calculate effort, staffing and Duration of Project
COCOMO model | How to calculate effort, staffing and Duration of Project
 
COCOMO Model in software project management
COCOMO Model in software project managementCOCOMO Model in software project management
COCOMO Model in software project management
 
Preeti Sharma tech
Preeti Sharma techPreeti Sharma tech
Preeti Sharma tech
 
Cocomo model (muskan soni)
Cocomo model (muskan soni)Cocomo model (muskan soni)
Cocomo model (muskan soni)
 
EHarringtonResume
EHarringtonResumeEHarringtonResume
EHarringtonResume
 
ITFT - Cocomo model
ITFT -  Cocomo modelITFT -  Cocomo model
ITFT - Cocomo model
 

Similar a Industrial experiences on Domain-Specific Modeling

Effort Used to Create Domain-Specific Modeling Languages
Effort Used to Create Domain-Specific Modeling LanguagesEffort Used to Create Domain-Specific Modeling Languages
Effort Used to Create Domain-Specific Modeling LanguagesJuha-Pekka Tolvanen
 
The Extreme Programming (XP) Model
The Extreme Programming (XP) ModelThe Extreme Programming (XP) Model
The Extreme Programming (XP) ModelDamian T. Gordon
 
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
Extreme  Programming    Talk Wise  Consulting   Www.TalkwiseconsultingExtreme  Programming    Talk Wise  Consulting   Www.Talkwiseconsulting
Extreme Programming Talk Wise Consulting Www.Talkwiseconsultingtalkwiseone
 
Extreme programming talk wise consulting - www.talkwiseconsulting
Extreme programming   talk wise consulting - www.talkwiseconsultingExtreme programming   talk wise consulting - www.talkwiseconsulting
Extreme programming talk wise consulting - www.talkwiseconsultingtalkwiseone
 
Cincom Smalltalk News
Cincom Smalltalk NewsCincom Smalltalk News
Cincom Smalltalk NewsESUG
 
Keynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generatorsKeynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generatorsJuha-Pekka Tolvanen
 
Test-Driven-Development.pptx
Test-Driven-Development.pptxTest-Driven-Development.pptx
Test-Driven-Development.pptxdheeraj438799
 
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICCOCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICSneha Padhiar
 
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICCOCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICSneha Padhiar
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSneha Padhiar
 
Software_effort_estimation for Software engineering.pdf
Software_effort_estimation for Software engineering.pdfSoftware_effort_estimation for Software engineering.pdf
Software_effort_estimation for Software engineering.pdfsnehan789
 
Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013SmartBear
 
Lessons Learned from Large Scale Adoption of DevOps for IBM z Systems Software
Lessons Learned from Large Scale Adoption of DevOps for IBM z Systems SoftwareLessons Learned from Large Scale Adoption of DevOps for IBM z Systems Software
Lessons Learned from Large Scale Adoption of DevOps for IBM z Systems SoftwareDevOps for Enterprise Systems
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCodecamp Romania
 

Similar a Industrial experiences on Domain-Specific Modeling (20)

Effort Used to Create Domain-Specific Modeling Languages
Effort Used to Create Domain-Specific Modeling LanguagesEffort Used to Create Domain-Specific Modeling Languages
Effort Used to Create Domain-Specific Modeling Languages
 
Resume
ResumeResume
Resume
 
The Extreme Programming (XP) Model
The Extreme Programming (XP) ModelThe Extreme Programming (XP) Model
The Extreme Programming (XP) Model
 
cv11
cv11cv11
cv11
 
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
Extreme  Programming    Talk Wise  Consulting   Www.TalkwiseconsultingExtreme  Programming    Talk Wise  Consulting   Www.Talkwiseconsulting
Extreme Programming Talk Wise Consulting Www.Talkwiseconsulting
 
Extreme programming talk wise consulting - www.talkwiseconsulting
Extreme programming   talk wise consulting - www.talkwiseconsultingExtreme programming   talk wise consulting - www.talkwiseconsulting
Extreme programming talk wise consulting - www.talkwiseconsulting
 
Cincom Smalltalk News
Cincom Smalltalk NewsCincom Smalltalk News
Cincom Smalltalk News
 
Keynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generatorsKeynote at Code Generation 2014: The business cases of modeling and generators
Keynote at Code Generation 2014: The business cases of modeling and generators
 
Test-Driven-Development.pptx
Test-Driven-Development.pptxTest-Driven-Development.pptx
Test-Driven-Development.pptx
 
Week1.pptx
Week1.pptxWeek1.pptx
Week1.pptx
 
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICCOCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
 
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERICCOCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
COCOMO FP COST ESTIMATION TECHNIQUES:NUMERIC
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
 
Metrics
MetricsMetrics
Metrics
 
Software_effort_estimation for Software engineering.pdf
Software_effort_estimation for Software engineering.pdfSoftware_effort_estimation for Software engineering.pdf
Software_effort_estimation for Software engineering.pdf
 
CV - Rakesh Sharma
CV - Rakesh SharmaCV - Rakesh Sharma
CV - Rakesh Sharma
 
Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013Cross functional peer review preso 10-01-2013
Cross functional peer review preso 10-01-2013
 
Lessons Learned from Large Scale Adoption of DevOps for IBM z Systems Software
Lessons Learned from Large Scale Adoption of DevOps for IBM z Systems SoftwareLessons Learned from Large Scale Adoption of DevOps for IBM z Systems Software
Lessons Learned from Large Scale Adoption of DevOps for IBM z Systems Software
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditech
 
Spm file33
Spm file33Spm file33
Spm file33
 

Más de Juha-Pekka Tolvanen

How to formalize a ubiquitous language into a domain-specific language.pdf
How to formalize a ubiquitous language into a domain-specific language.pdfHow to formalize a ubiquitous language into a domain-specific language.pdf
How to formalize a ubiquitous language into a domain-specific language.pdfJuha-Pekka Tolvanen
 
Measuring Productivity from Model-Based Development
Measuring Productivity from Model-Based DevelopmentMeasuring Productivity from Model-Based Development
Measuring Productivity from Model-Based DevelopmentJuha-Pekka Tolvanen
 
How domain specific modeling languages address variability: investigation of ...
How domain specific modeling languages address variability: investigation of ...How domain specific modeling languages address variability: investigation of ...
How domain specific modeling languages address variability: investigation of ...Juha-Pekka Tolvanen
 
Automating safety engineering with model based techniques
Automating safety engineering with model based techniquesAutomating safety engineering with model based techniques
Automating safety engineering with model based techniquesJuha-Pekka Tolvanen
 
Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+Juha-Pekka Tolvanen
 
Automotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL modelsAutomotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL modelsJuha-Pekka Tolvanen
 
Collaborative modeling and metamodeling
Collaborative modeling and metamodelingCollaborative modeling and metamodeling
Collaborative modeling and metamodelingJuha-Pekka Tolvanen
 
Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+Juha-Pekka Tolvanen
 
Model level debugging and profiling, Code Generation Conference 2014
Model level debugging and profiling, Code Generation Conference 2014Model level debugging and profiling, Code Generation Conference 2014
Model level debugging and profiling, Code Generation Conference 2014Juha-Pekka Tolvanen
 

Más de Juha-Pekka Tolvanen (9)

How to formalize a ubiquitous language into a domain-specific language.pdf
How to formalize a ubiquitous language into a domain-specific language.pdfHow to formalize a ubiquitous language into a domain-specific language.pdf
How to formalize a ubiquitous language into a domain-specific language.pdf
 
Measuring Productivity from Model-Based Development
Measuring Productivity from Model-Based DevelopmentMeasuring Productivity from Model-Based Development
Measuring Productivity from Model-Based Development
 
How domain specific modeling languages address variability: investigation of ...
How domain specific modeling languages address variability: investigation of ...How domain specific modeling languages address variability: investigation of ...
How domain specific modeling languages address variability: investigation of ...
 
Automating safety engineering with model based techniques
Automating safety engineering with model based techniquesAutomating safety engineering with model based techniques
Automating safety engineering with model based techniques
 
Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+Collaborative language engineering and language use: demo with MetaEdit+
Collaborative language engineering and language use: demo with MetaEdit+
 
Automotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL modelsAutomotive architecture examples with EAST-ADL models
Automotive architecture examples with EAST-ADL models
 
Collaborative modeling and metamodeling
Collaborative modeling and metamodelingCollaborative modeling and metamodeling
Collaborative modeling and metamodeling
 
Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+Collaborative modeling and metamodeling in MetaEdit+
Collaborative modeling and metamodeling in MetaEdit+
 
Model level debugging and profiling, Code Generation Conference 2014
Model level debugging and profiling, Code Generation Conference 2014Model level debugging and profiling, Code Generation Conference 2014
Model level debugging and profiling, Code Generation Conference 2014
 

Último

SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingShane Coughlan
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfmaor17
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfRTS corp
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesKrzysztofKkol1
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 

Último (20)

SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full RecordingOpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
OpenChain Education Work Group Monthly Meeting - 2024-04-10 - Full Recording
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Zer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdfZer0con 2024 final share short version.pdf
Zer0con 2024 final share short version.pdf
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 

Industrial experiences on Domain-Specific Modeling

  • 2. Contents  Domain-Specific Modeling Languages: Introduction  Review of industry cases – Touch screen – Home automation control – Sports computer – Military radio  Summary and discussion
  • 3. 1 4,5 5 6 6 40 0 5 10 15 20 25 30 35 40 Number of new product features implemented in a given time (productivity proportional to Assembler) A rise in productivity is overdue  "The entire history of software engineering is that of the rise in levels of abstraction"  New general-purpose programming languages have not increased productivity  Abstraction of development can be raised above current level...  ... without losing control or accepting substandard results *Software Productivity Research & Capers Jones, 2002
  • 4. What data is available behind the statements* like: "5-fold productivity increase when compared to standard development methods" "The quality of the generated code is clearly better, simply because the modeling language rules out errors" "The DSM solution makes development significantly faster and easier than the old manual coding practices" * source: www.metacase.com/cases/
  • 5. Four cases in more detail  Touch screen device (Panasonic)  Home automation (Ouman)  Sports computer (Polar Electro)  Military radio (Elektrobit)
  • 6. Case 1: Panasonic’s touch screen devices (Safa, 2007)  Home automation solution installed by construction firms  Features for controlled – Lights – Heating – Air-conditioning – Electricity – Alarms • Burglar • Gas • Smoke – Reporting (energy saving)
  • 7.
  • 8. Evaluation method  Compare DSM to current manual coding practice  Two evaluation methods 1. Implemented an existing product with DSM 2. Implemented the existing features to a different target platform • The same models, a new generator
  • 9.  Tool-chains covering: – Generate – Compile – Upload – Boot – Run  Generators for: – PC simulation – Touch screen – Microcontroller
  • 10. Measuring development time  Build the same application with both approaches – Measure the time used  Results: – DSM is 425% faster  Implemented the same product to a new platform – 3 days for generator development – 0 days for modeling
  • 11. Return on investment: Panasonic  DSM solution developed in 15 days  Product development with: – the current approach: 17 days – DSM: 4 days 0 5 10 15 20 25 30 35 DSM Coding Days Creating DSM solution Product 1 Product 2 Product 3 Product 4 Product 5
  • 12. Case 2: Home automation (Puolitaival, 2011)
  • 13. Home automation, remote control via mobile phone  Ouman manufactures home automation systems  Products are focused mainly on temperature control with many different heating systems  SMS interface for remote control
  • 14. A language for specifying remote control applications
  • 15. One model for Ouman EH-60 product remote controller
  • 16. 0 5 10 15 20 DSM "past" Days Creating DSM solution Product 1 Product 2 Product 3 Product 4 Product 5 Return on investment  DSM solution developed: 2 weeks  Product development: 1-2 days – Comparison to earlier development effort not possible since outsourced • Cost was 6 figure number  DSM allows a non-programmer to develop applications
  • 17. Case 3: Polar’s Sport computers  Heart rate measuring, analysis and visualization  Calorie calculation, like current, cumulative, expenditure rate, active time  Speed: current, average, maximum  Distance, based on interval, trip, recovery  Altimeter, vertical speed, altitude alarms, slope counter, graphical trend  Cycling information like pedaling rate and cycling power  Barometer, pressure drop alarm, graphical trend  Exercise diaries  Sensor connectivity (heart rate, speed, cadence, power, GPS)  Compass, Temperature, Odometer, Logbooks, etc.
  • 18. About the product development (Kärnä et al. 2009)  Polar focused on UI application development – Single largest piece of software • Takes 40-50% of the development time – Typically always vary among products  Software development is constrained by limited resources: – Memory, processor speed and battery life  Polar created the needed languages and generators internally
  • 19. Sample of UI application design
  • 20. Evaluation methods  Compare the use of DSM and the current practice  Two research methods – Laboratory study • 6 current developers, 6 implementations • Implement a small, typical feature – Pilot project • Implement large portion of a whole product • 1 person
  • 21. Results of the studies  Laboratory study – Measuring time: at least 750% faster – Asking opinions: results (scale 1-5, 5 best):  Pilot – Measuring time: >900% faster
  • 22. Return on investment: Polar  DSM solution developed in 60 hours  Product development with: – the current approach: 23 days – DSM: 2,3 days
  • 23. Case 4: Military radio (Puolitaival et al., 2011)
  • 24. EB Tough VoIP Features  Tough VoIP is a wired phone that is using UDP/IP network for connection  Manufacturer: Elektrobit  Main features: – Easy configuration – Point-to-Point call – All call – War-proof device
  • 26. EB Test Tool Platform + OpenTTCN tester Two language solution Model Model MBT TTCN-3TTCN-3 Modeling one test case Modeling a test logic Model-Based Testing generates multiple test cases Generating one test case Executing the test case Executing test cases
  • 27. Model example 1: test case
  • 28. Model example 2: test logic
  • 29. 0 5 10 15 20 DSM Coding Days Creating DSM solution Test suite 1 Test suite 2 Test suite 3 Test suite 4 Test suite 5 Return on investment: Elektrobit  About 10 times faster with modeling  Set-up time estimation: – 2 weeks for the first version, +1 week to make it better  Other benefits: – Test coverage dramatically increase – Easy test configuration
  • 30. Economics of DSM  Repetition: – # of product variants – # of similar features – # of developers – ”outsourcing” to domain experts  Investment: – Effort needed to implement DSLs 0 10 20 30 40 50 60 70 80 90 100 0 1 2 3 4 5 6 Repetition Cost Current DSM
  • 31. DSM Solution Development Time Man days
  • 32. Concepts Symbols GeneratorsRules 1 2 3 4 Steps for implementing DSM
  • 33. Summary  Domain-Specific Modeling languages provide: – Better productivity – Quality improvements – Easier use and introduction of new developers  MetaEdit+ makes moving to DSLs feasible – Expert can focus on language design, not on creating tooling – Models update and work when languages changes  Creation of languages does not take much time!
  • 34. More details on the cases  Kelly, S., Tolvanen, J.-P., Domain-Specific Modeling: Enabling Full Code Generation, Wiley, 2008. http://dsmbook.com  Kärnä, J., et al. Evaluating the Use of Domain-Specific Modeling in Practice, Proceedings of the 9th Workshop on Domain- Specific Modeling, HSE Print, B-108, 2009.  Puolitaival, O.-P., Home Automation DSL case, Code Generation Conference, 2011  Puolitaival, O.-P., Kanstren, T., Rytky, V.-P., Saarela, A., Utilizing Domain-Specific Modeling for Software Testing, Proceedings of VALID, October 2011  Safa, L., The Making Of User-Interface Designer, A Proprietary DSM Tool, Proceedings of the 7th Workshop on Domain-Specific Modeling, Technical Reports, TR-38, University of Jyväskylä, 2007
  • 35. For more cases, customer stories, testimonials visit www.metacase.com Thank You!