NOTICE These materials are prepared only for the

  • Slides: 33
Download presentation
NOTICE! • These materials are prepared only for the students enrolled in the course

NOTICE! • These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer Science and Engineering, University of Mälardalen, Västerås, Sweden and at the Faculty of Electrical Engineering and Computing, University of Zagreb, Croatia (year 2003/2004). • For all other purposes, authors’ written permission is needed! • The purpose of these materials is to help students in better understanding of lectures in DSD and not their replacement! 2009 -01 -15 1

Selected Topics in Software Engineering - Distributed Software Development 2009 -01 -15 2

Selected Topics in Software Engineering - Distributed Software Development 2009 -01 -15 2

ASN. 1 to CSV converter generator Final Presentation 2009 -01 -15 FER: MDH: Ivan

ASN. 1 to CSV converter generator Final Presentation 2009 -01 -15 FER: MDH: Ivan Škugor Guido Di Campli Željko Krpetić Giovanni Piemontese Željko Knežević Paolo D’Amelio Steering group: Igor Čavrak at FER Rikard Lang at MDH M. Sc. Branko Beslać (Ring datacom) 2009 -01 -15 3

What we will talk about? • • • Requirements Design evolution Project work summary

What we will talk about? • • • Requirements Design evolution Project work summary Experiences from the project Testing Software demonstration 2009 -01 -15 4

Requirements Requirement Finished Generate converter without a need for YES additional programming ANSI C

Requirements Requirement Finished Generate converter without a need for YES additional programming ANSI C compilant YES ASN. 1 grammar presentation in the GUI YES Grammar entity selection YES Output format Requirement changed 2009 -01 -15 5

Design evolution 2009 -01 -15 6

Design evolution 2009 -01 -15 6

1. solution 2009 -01 -15 7

1. solution 2009 -01 -15 7

2. solution 2009 -01 -15 8

2. solution 2009 -01 -15 8

3. solution 2009 -01 -15 9

3. solution 2009 -01 -15 9

Final solution 2009 -01 -15 10

Final solution 2009 -01 -15 10

BER • Modified ANS 1 C 9/10/2020 11

BER • Modified ANS 1 C 9/10/2020 11

ASN. 1 • Preprocessed with ASN 1 C 9/10/2020 12

ASN. 1 • Preprocessed with ASN 1 C 9/10/2020 12

XSL generator • Takes Xpath formats as input • Generates XSL file – XSL

XSL generator • Takes Xpath formats as input • Generates XSL file – XSL is used for XML to CSV conversion using XSLT • Returns string status 2009 -01 -15 13

Basic idea • Linearize XML file – Root nodes at same level are represented

Basic idea • Linearize XML file – Root nodes at same level are represented as one (or more rows) in CSV file – Root nodes that are not in the same level are left empty 2009 -01 -15 14

Example XML <? xml version="1. 0" encoding="utf-8"? > <C T="[APPLICATION 1]"> <P T="[APPLICATION 41]">02</P>

Example XML <? xml version="1. 0" encoding="utf-8"? > <C T="[APPLICATION 1]"> <P T="[APPLICATION 41]">02</P> <P T="[APPLICATION 38]">HRVVI</P> <P T="[APPLICATION 45]">+0200</P> <C T="[APPLICATION 2]"> <C T="[APPLICATION 4]"> <P T="[APPLICATION 34]">29340011</P> <P T="[APPLICATION 19]">00</P> </C> <C T="[APPLICATION 4]"> <P T="[APPLICATION 34]"> 2934 </P> <P T="[APPLICATION 19]">00</P> </C> <C T="[APPLICATION 4]"> <P T="[APPLICATION 34]"> 3432972 f </P> <P T="[APPLICATION 19]">00</P> </C> 2009 -01 -15 15

Example Xpaths C[@T='[APPLICATION 1]' and @name='Nrtrde']/P[@T='[APPLICATION 41] ' and @type='OCTET STRING'] C[@T='[APPLICATION 1]' and

Example Xpaths C[@T='[APPLICATION 1]' and @name='Nrtrde']/P[@T='[APPLICATION 41] ' and @type='OCTET STRING'] C[@T='[APPLICATION 1]' and @name='Nrtrde']/P[@T='[APPLICATION 38]' and @type='OCTET STRING'] C[@T='[APPLICATION 1]']/C[@T='[APPLICATION 2]']/C[@T='[APPLICATION 4] ' and @name='mtc']/P[@T='[APPLICATION 34]' and @type='OCTET STRING'] C[@T='[APPLICATION 1]']/C[@T='[APPLICATION 2]']/C[@T='[APPLICATION 4]' and @name='mtc']/P[@T='[APPLICATION 19]' and @type='OCTET STRING'] 2009 -01 -15 16

Example of output CSV Nrtrde, 02, HRVVI, , mtc , , , 29340011, 00

Example of output CSV Nrtrde, 02, HRVVI, , mtc , , , 29340011, 00 mtc , , , 2934 , 00 mtc , , , 3432972 f, 00 2009 -01 -15 17

Project Work Summary Project status : Finished w 45 Activity Project plan w 46

Project Work Summary Project status : Finished w 45 Activity Project plan w 46 w 47 w 48 w 49 w 50 w 51 w 52 w 1 Requirements analysis & definition System Design Tree view generator Converter generator GUI Integration Testing Final Product 2009 -01 -15 w 2 18 w 3

Working hours 60 50 Ivan 40 Željko Kr Željko Kn 30 Guido Giovanni 20

Working hours 60 50 Ivan 40 Željko Kr Željko Kn 30 Guido Giovanni 20 Paolo 10 0 W 45 Member Ivan Željko Kr Željko Kn Guido Giovanni Paolo Total 2009 -01 -15 W 46 W 45 12 13 7 7 10 7 56 W 47 W 48 W 46 W 47 W 48 4 4 8 12 12 12 52 7 15 24 24 19 22 111 11 14 12 15 15 15 82 W 49 21 14 35 15 115 W 50 17 11 25 31 32 31 147 W 50 W 51 W 02 Total 22 14 10 17 17 17 97 50 20 10 25 25 25 155 144 105 131 145 144 814 W 02 19

Total Working Hours 180 Total Hours 160 140 120 100 Total Hours 80 60

Total Working Hours 180 Total Hours 160 140 120 100 Total Hours 80 60 40 20 0 W 45 2009 -01 -15 W 46 W 47 W 48 W 49 W 50 W 51 W 02 Current Planned Cost 27000€ Cost of 1 hour is 25€ Current Actual Cost 28490€ Total hours 814 Planned Project Cost 29000€ Forecasted Project Cost 29000€ Total project cost is: 28. 490€ 20

Experiences from the project • Tools of communication are: • How to reach member:

Experiences from the project • Tools of communication are: • How to reach member: Ø Ivan Škugor: Msn, Google, Video Conference Ø Željko Krpetić: Msn, Google, Skype, Video Conference, Telephone Ø Željko Knežević: Msn, Google, Video Conference Ø Guido Di Campli: Msn, Google, Skype, Video Conference Ø Giovanni Piemontese: Msn, Google, Skype, Video Conference Ø Paolo D’Amelio: Msn, Google, Skype, Video Conference 2009 -01 -15 21

Experiences from the project Time: • Time was spent in the right manner •

Experiences from the project Time: • Time was spent in the right manner • Changing requirements entailed more time Improvements for next time: • Start immediatly with conference • Try to talk everyone with customer 2009 -01 -15 22

Experiences from the project Workload division: TREEVIEW GENERATOR 2009 -01 -15 GUI XSL GENERATOR

Experiences from the project Workload division: TREEVIEW GENERATOR 2009 -01 -15 GUI XSL GENERATOR 23

Use Case diagram 1/2 = Done = Almost done or needs improvements = Not

Use Case diagram 1/2 = Done = Almost done or needs improvements = Not Done 2009 -01 -15 24

Use Case diagram 2/2 = Done = Almost done or needs improvements = Not

Use Case diagram 2/2 = Done = Almost done or needs improvements = Not Done 2009 -01 -15 25

Sequence diagram 2009 -01 -15 26

Sequence diagram 2009 -01 -15 26

Random Testing Explorarory Testing Normal Testing Integration Testing State Transition Stress Testing Performance Testing

Random Testing Explorarory Testing Normal Testing Integration Testing State Transition Stress Testing Performance Testing Faulty Testing 1/2 TREEVIEW GENERATOR GUI Random Testing Explorarory Testing Normal Testing Integration Testing State Transition 2009 -01 -15 Random Testing Explorarory Testing Normal Testing Integration Testing Fault Injection State Transition Stress Testing Performance Testing XSL GENERATOR 27

Testing 2/2 Test Random Testing Exploratory Testing Verdict Pass Not Passed Comment Tested funcionalities

Testing 2/2 Test Random Testing Exploratory Testing Verdict Pass Not Passed Comment Tested funcionalities works Problems fixed Normal Testing Pass Tested funcionalities works Integration Testing Pass Tested funcionalities works Falt Injection Testing Pass Tested funcionalities works State Transition Testing Pass Tested funcionalities works Stress Testing 1 Test not passed Bug found Performance Testing Pass Tested funcionalities works Faulty Testing Pass Possibility to force the system 2009 -01 -15 28

Project demonstration 2009 -01 -15 29

Project demonstration 2009 -01 -15 29

Fallback solution 2009 -01 -15 30

Fallback solution 2009 -01 -15 30

Requirements and Design Application installation routine: 2009 -01 -15 31

Requirements and Design Application installation routine: 2009 -01 -15 31

Software Support • We will provide 10 hours of free support to our customer

Software Support • We will provide 10 hours of free support to our customer 2009 -01 -15 32

Any Questions ? 2009 -01 -15 33

Any Questions ? 2009 -01 -15 33