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! NOTICE!
Selected Topics in Software Engineering - Distributed Software Development
ASN.1 to CSV converter generator Final Presentation MDH: Guido Di Campli Giovanni Piemontese Paolo D’Amelio FER: Ivan Škugor Željko Krpetić Željko Knežević Steering group: Igor Čavrak at FER Rikard Lang at MDH M.Sc. Branko Beslać (Ring datacom)
What we will talk about? Requirements Design evolution Project work summary Experiences from the project Testing Software demonstration
Requirements RequirementFinished Generate converter without a need for additional programming YES ANSI C compilantYES ASN.1 grammar presentation in the GUI YES Grammar entity selectionYES Output formatRequirement changed
Design evolution
1. solution
2. solution
3. solution
Final solution
BER Modified ANS1C
ASN.1 Preprocessed with ASN1C
XSL generator Takes Xpath formats as input Generates XSL file –XSL is used for XML to CSV conversion using XSLT Returns string status
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
Example XML 02 HRVVI f
Example Xpaths 1]' and 41] ' STRING'] 1]' and 38]' STRING'] 4] ' and 34]' STRING'] 4]' and 19]' STRING']
Example of output CSV Nrtrde,02,HRVVI,, mtc,,, ,00 mtc,,,2934,00 mtc,,, f,
Project Work Summary Activity w45w46w47w48w49w50w51w52w1 w2w2w3 Project plan Requirements analysis & definition System Design Tree view generator Converter generator GUI Integration Testing Final Product Project status : Finished
Working hours MemberW45W46 W47W48 W49W50W51 W02 Total Ivan Željko Kr Željko Kn Guido Giovanni Paolo Total
Total Working Hours Cost of 1 hour is 25€ Total hours 814 Total project cost is: € Current Planned Cost 27000€ Current Actual Cost 28490€ Planned Project Cost 29000€ Forecasted Project Cost 29000€
Experiences from the project Tools of communication are: How to reach each 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
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
Experiences from the project TREEVIEW GENERATOR GUI XSL GENERATOR Workload division:
Use Case diagram 1/ = Done = Almost done or needs improvements = Not Done
= Done = Almost done or needs improvements = Not Done Use Case diagram 2/2
Sequence diagram
Testing 1/ GUI XSL GENERATOR Random Testing Explorarory Testing Normal Testing Integration Testing Fault Injection State Transition Stress Testing Performance Testing Random Testing Explorarory Testing Normal Testing Integration Testing State Transition Random Testing Explorarory Testing Normal Testing Integration Testing State Transition Stress Testing Performance Testing Faulty Testing TREEVIEW GENERATOR
Testing 2/ TestVerdictComment Random TestingPassTested funcionalities works Exploratory TestingNot PassedProblems fixed Normal TestingPassTested funcionalities works Integration TestingPassTested funcionalities works Falt Injection TestingPassTested funcionalities works State Transition TestingPassTested funcionalities works Stress Testing1 Test not passed Bug found Performance TestingPassTested funcionalities works Faulty TestingPassPossibility to force the system
Fallback solution
Requirements and Design Application installation routine:
Software Support We will provide 10 hours of free support to our customer