SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Converting UML class diagram with anti-pattern problems
to verified code based on Event-B
Eman K. Elsayed
Mathematical and computer science Dep., Faculty of Science,
Al-Azhar University, Cairo, Egypt
1www.icgst.com
http://www.icgst.com/paper.aspx?pid=P1121352313
In this paper we proposed the logical correct path to implement automatically any
algorithm or model in verified C# code. Our proposal depends on using the event-
B as a formal method. It is suitable solution for un-experience in programming
language and profession in mathematical modeling. Our proposal also integrates
requirements, codes and verification in system development life cycle. We suggest
also using event-B pattern. Our suggestion is classify into two cases, the algorithm
case and the model case. The benefits of our proposal are reducing the prove
effort, reusability, increasing the automation degree and generate high quality
code. In this paper we applied and discussed the three phases of automatic code
generation philosophy on two case studies the first is “minimum algorithm” and
the second one is UML model for ATM
2www.icgst.com
http://www.icgst.com/paper.aspx?pid=P1121352313
Converting UML class diagram with anti-pattern problems to verified code based on
Event-B
Abstract
3www.icgst.com
Dr Eman K. Elsayed Bachelor of Science from computer science Department, Cairo
University 1994, Master of computer science from Cairo university 1999, and
computer science PHD 2005 from Alazhar university. I Published eleven papers until
2010 in data mining, ontology and e-learning. I am a member in egyptian
mathematical society and inteligent computer and information systems society.
Azhar University
http://www.fci.cu.edu.eg/
4

Weitere ähnliche Inhalte

Was ist angesagt?

Data communication and_computer_networks
Data communication and_computer_networksData communication and_computer_networks
Data communication and_computer_networks
Noor Siddiqui
 
Engr.Hamza Arshad CV
Engr.Hamza Arshad CVEngr.Hamza Arshad CV
Engr.Hamza Arshad CV
hamza arshad
 
Csc1100 exercise 4-design n-test
Csc1100 exercise 4-design n-testCsc1100 exercise 4-design n-test
Csc1100 exercise 4-design n-test
IIUM
 

Was ist angesagt? (19)

cv (1)
cv (1)cv (1)
cv (1)
 
Daniel j joubert cv
Daniel j joubert cvDaniel j joubert cv
Daniel j joubert cv
 
Line Of Code
Line Of CodeLine Of Code
Line Of Code
 
Data communication and_computer_networks
Data communication and_computer_networksData communication and_computer_networks
Data communication and_computer_networks
 
Evaluation of postfix expression using stack
Evaluation of postfix expression using stackEvaluation of postfix expression using stack
Evaluation of postfix expression using stack
 
Progression pathways strands created by Go OTA
Progression pathways  strands created by Go OTAProgression pathways  strands created by Go OTA
Progression pathways strands created by Go OTA
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Algorithm Design & Implementation
Algorithm Design & ImplementationAlgorithm Design & Implementation
Algorithm Design & Implementation
 
New
NewNew
New
 
L01 intro-daa - ppt1
L01 intro-daa - ppt1L01 intro-daa - ppt1
L01 intro-daa - ppt1
 
CV Alex Ortega 2014
CV Alex Ortega 2014CV Alex Ortega 2014
CV Alex Ortega 2014
 
CV Saad Allm
CV Saad AllmCV Saad Allm
CV Saad Allm
 
Importance of Algorithms
Importance of AlgorithmsImportance of Algorithms
Importance of Algorithms
 
MuhdAzmanShukriCV (1)
MuhdAzmanShukriCV (1)MuhdAzmanShukriCV (1)
MuhdAzmanShukriCV (1)
 
Engr.Hamza Arshad CV
Engr.Hamza Arshad CVEngr.Hamza Arshad CV
Engr.Hamza Arshad CV
 
Cse 3rd yr (se)
Cse 3rd yr (se)Cse 3rd yr (se)
Cse 3rd yr (se)
 
Csc1100 exercise 4-design n-test
Csc1100 exercise 4-design n-testCsc1100 exercise 4-design n-test
Csc1100 exercise 4-design n-test
 
Assignment 2
Assignment 2Assignment 2
Assignment 2
 
Amin's CV
Amin's CVAmin's CV
Amin's CV
 

Andere mochten auch

December quality stories
December quality storiesDecember quality stories
December quality stories
samsungmena
 
Samsung hope for children tehran
Samsung hope for children   tehranSamsung hope for children   tehran
Samsung hope for children tehran
samsungmena
 
APD Presentation by Prof.Javed Akram
APD Presentation by Prof.Javed AkramAPD Presentation by Prof.Javed Akram
APD Presentation by Prof.Javed Akram
Pk Doctors
 
Photos 110208145628-phpapp02
Photos 110208145628-phpapp02Photos 110208145628-phpapp02
Photos 110208145628-phpapp02
kaew393
 

Andere mochten auch (18)

Footprints Of Disaster.Okspra Hndts
Footprints Of Disaster.Okspra HndtsFootprints Of Disaster.Okspra Hndts
Footprints Of Disaster.Okspra Hndts
 
Treball psico 3
Treball psico 3Treball psico 3
Treball psico 3
 
P1121105111
P1121105111P1121105111
P1121105111
 
P1111343299
P1111343299P1111343299
P1111343299
 
Using David Allen's Model to Help the Parents and Other People
Using David Allen's Model to Help the Parents and Other PeopleUsing David Allen's Model to Help the Parents and Other People
Using David Allen's Model to Help the Parents and Other People
 
Protect Your Heart
Protect Your HeartProtect Your Heart
Protect Your Heart
 
Gran Feria de la Belleza
Gran Feria de la BellezaGran Feria de la Belleza
Gran Feria de la Belleza
 
P1111318274
P1111318274P1111318274
P1111318274
 
Matrixbrochure Web
Matrixbrochure WebMatrixbrochure Web
Matrixbrochure Web
 
December quality stories
December quality storiesDecember quality stories
December quality stories
 
Samsung hope for children tehran
Samsung hope for children   tehranSamsung hope for children   tehran
Samsung hope for children tehran
 
Futbol2
Futbol2Futbol2
Futbol2
 
APD Presentation by Prof.Javed Akram
APD Presentation by Prof.Javed AkramAPD Presentation by Prof.Javed Akram
APD Presentation by Prof.Javed Akram
 
Reggae
ReggaeReggae
Reggae
 
Ron Dziuda Business Development Professional
Ron Dziuda Business Development ProfessionalRon Dziuda Business Development Professional
Ron Dziuda Business Development Professional
 
P1121132687
P1121132687P1121132687
P1121132687
 
Photos 110208145628-phpapp02
Photos 110208145628-phpapp02Photos 110208145628-phpapp02
Photos 110208145628-phpapp02
 
Βιωματική μάθηση και διδασκαλία:Εμπειρίες από την υλοποίηση βιωματικών εκπαιδ...
Βιωματική μάθηση και διδασκαλία:Εμπειρίες από την υλοποίηση βιωματικών εκπαιδ...Βιωματική μάθηση και διδασκαλία:Εμπειρίες από την υλοποίηση βιωματικών εκπαιδ...
Βιωματική μάθηση και διδασκαλία:Εμπειρίες από την υλοποίηση βιωματικών εκπαιδ...
 

Ähnlich wie P1121352313

Binary code obfuscation through c++ template meta programming
Binary code obfuscation through c++ template meta programmingBinary code obfuscation through c++ template meta programming
Binary code obfuscation through c++ template meta programming
nong_dan
 
Model-Driven Generation of MVC2 Web Applications: From Models to Code
Model-Driven Generation of MVC2 Web Applications: From Models to CodeModel-Driven Generation of MVC2 Web Applications: From Models to Code
Model-Driven Generation of MVC2 Web Applications: From Models to Code
IJEACS
 

Ähnlich wie P1121352313 (20)

High quality implementation for
High quality implementation forHigh quality implementation for
High quality implementation for
 
Binary code obfuscation through c++ template meta programming
Binary code obfuscation through c++ template meta programmingBinary code obfuscation through c++ template meta programming
Binary code obfuscation through c++ template meta programming
 
Surendra Resume_2016
Surendra Resume_2016Surendra Resume_2016
Surendra Resume_2016
 
Surendra Resume_2016
Surendra Resume_2016Surendra Resume_2016
Surendra Resume_2016
 
Mathematical models and algorithms challenges
Mathematical models and algorithms challengesMathematical models and algorithms challenges
Mathematical models and algorithms challenges
 
Assurance of security and privacy requirements for cloud deployment model
Assurance of security and privacy requirements for cloud deployment modelAssurance of security and privacy requirements for cloud deployment model
Assurance of security and privacy requirements for cloud deployment model
 
A novel statistical cost model and an algorithm for efficient application off...
A novel statistical cost model and an algorithm for efficient application off...A novel statistical cost model and an algorithm for efficient application off...
A novel statistical cost model and an algorithm for efficient application off...
 
Automatic generation of business process models from user stories
Automatic generation of business process models from user  storiesAutomatic generation of business process models from user  stories
Automatic generation of business process models from user stories
 
Model-Driven Generation of MVC2 Web Applications: From Models to Code
Model-Driven Generation of MVC2 Web Applications: From Models to CodeModel-Driven Generation of MVC2 Web Applications: From Models to Code
Model-Driven Generation of MVC2 Web Applications: From Models to Code
 
Innovate with confidence – Functional Verification of Embedded Algorithms
Innovate with confidence – Functional Verification of Embedded AlgorithmsInnovate with confidence – Functional Verification of Embedded Algorithms
Innovate with confidence – Functional Verification of Embedded Algorithms
 
NEW ALGORITHMS FOR SECURE OUTSOURCING OF LARGE-SCALE SYSTEMS OF LINEAR EQUAT...
 NEW ALGORITHMS FOR SECURE OUTSOURCING OF LARGE-SCALE SYSTEMS OF LINEAR EQUAT... NEW ALGORITHMS FOR SECURE OUTSOURCING OF LARGE-SCALE SYSTEMS OF LINEAR EQUAT...
NEW ALGORITHMS FOR SECURE OUTSOURCING OF LARGE-SCALE SYSTEMS OF LINEAR EQUAT...
 
New algorithms for secure outsourcing of
New algorithms for secure outsourcing ofNew algorithms for secure outsourcing of
New algorithms for secure outsourcing of
 
New Algorithms for Secure Outsourcing of Large-Scale Systems of Linear Equat...
 New Algorithms for Secure Outsourcing of Large-Scale Systems of Linear Equat... New Algorithms for Secure Outsourcing of Large-Scale Systems of Linear Equat...
New Algorithms for Secure Outsourcing of Large-Scale Systems of Linear Equat...
 
Generation of Testcases from UML Sequence Diagram and Detecting Deadlocks usi...
Generation of Testcases from UML Sequence Diagram and Detecting Deadlocks usi...Generation of Testcases from UML Sequence Diagram and Detecting Deadlocks usi...
Generation of Testcases from UML Sequence Diagram and Detecting Deadlocks usi...
 
PHP modernization approach generating KDM models from PHP legacy code
PHP modernization approach generating KDM models from PHP legacy codePHP modernization approach generating KDM models from PHP legacy code
PHP modernization approach generating KDM models from PHP legacy code
 
Software Project Planning 1
Software Project Planning 1Software Project Planning 1
Software Project Planning 1
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Specification-based Verification of Incomplete Programs
Specification-based Verification of Incomplete ProgramsSpecification-based Verification of Incomplete Programs
Specification-based Verification of Incomplete Programs
 
Introduction to networks simulation
Introduction to networks simulationIntroduction to networks simulation
Introduction to networks simulation
 
Designing Secure Systems Using AORDD Methodologies in UML System Models
Designing Secure Systems Using AORDD Methodologies in UML  System ModelsDesigning Secure Systems Using AORDD Methodologies in UML  System Models
Designing Secure Systems Using AORDD Methodologies in UML System Models
 

Mehr von Ashraf Aboshosha

Mehr von Ashraf Aboshosha (20)

P1151351311
P1151351311P1151351311
P1151351311
 
P1151345302
P1151345302P1151345302
P1151345302
 
P1121340296
P1121340296P1121340296
P1121340296
 
P1121340294
P1121340294P1121340294
P1121340294
 
P1121327289
P1121327289P1121327289
P1121327289
 
P1151442348
P1151442348P1151442348
P1151442348
 
P1151442347
P1151442347P1151442347
P1151442347
 
P1151439345
P1151439345P1151439345
P1151439345
 
P1151424332
P1151424332P1151424332
P1151424332
 
P1151423331
P1151423331P1151423331
P1151423331
 
P1151420328
P1151420328P1151420328
P1151420328
 
P1151418327
P1151418327P1151418327
P1151418327
 
P1151404314
P1151404314P1151404314
P1151404314
 
P1111351312
P1111351312P1111351312
P1111351312
 
P1111444352
P1111444352P1111444352
P1111444352
 
P1111440346
P1111440346P1111440346
P1111440346
 
P1111431335
P1111431335P1111431335
P1111431335
 
P1111410320
P1111410320P1111410320
P1111410320
 
P1111410321
P1111410321P1111410321
P1111410321
 
P1111350310
P1111350310P1111350310
P1111350310
 

Kürzlich hochgeladen

Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 

Kürzlich hochgeladen (20)

Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 

P1121352313

  • 1. Converting UML class diagram with anti-pattern problems to verified code based on Event-B Eman K. Elsayed Mathematical and computer science Dep., Faculty of Science, Al-Azhar University, Cairo, Egypt 1www.icgst.com http://www.icgst.com/paper.aspx?pid=P1121352313
  • 2. In this paper we proposed the logical correct path to implement automatically any algorithm or model in verified C# code. Our proposal depends on using the event- B as a formal method. It is suitable solution for un-experience in programming language and profession in mathematical modeling. Our proposal also integrates requirements, codes and verification in system development life cycle. We suggest also using event-B pattern. Our suggestion is classify into two cases, the algorithm case and the model case. The benefits of our proposal are reducing the prove effort, reusability, increasing the automation degree and generate high quality code. In this paper we applied and discussed the three phases of automatic code generation philosophy on two case studies the first is “minimum algorithm” and the second one is UML model for ATM 2www.icgst.com http://www.icgst.com/paper.aspx?pid=P1121352313 Converting UML class diagram with anti-pattern problems to verified code based on Event-B Abstract
  • 3. 3www.icgst.com Dr Eman K. Elsayed Bachelor of Science from computer science Department, Cairo University 1994, Master of computer science from Cairo university 1999, and computer science PHD 2005 from Alazhar university. I Published eleven papers until 2010 in data mining, ontology and e-learning. I am a member in egyptian mathematical society and inteligent computer and information systems society. Azhar University http://www.fci.cu.edu.eg/
  • 4. 4