330 likes | 406 Views
Explore requirements, design evolution, project work summary, and testing of a software tool converting ASN.1 to CSV. Includes XML examples and Xpath formats.
E N D
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!
Selected Topics in Software Engineering-Distributed Software Development
ASN.1 to CSV converter generator Final Presentation 2009-01-15 FER: Ivan Škugor Željko Krpetić Željko Knežević MDH: Guido Di Campli Giovanni Piemontese Paolo D’Amelio 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
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 <?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]"> 3432972f </P> <P T="[APPLICATION 19]">00</P> </C> </C> </C>
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']
Example of output CSV Nrtrde,02,HRVVI, , mtc , , ,29340011,00 mtc , , ,2934 ,00 mtc , , , 3432972f,00
Project Work Summary Project status : Finished
Total Working Hours Cost of 1 hour is 25€ Total hours 814 Total project cost is: 28.490€
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 Workload division: Developed by FER TREEVIEW GENERATOR XSL GENERATOR GUI Developedby MDH
Use Case diagram 1/2 = Done = Almost done or needs improvements = Not Done
Use Case diagram 2/2 = Done = Almost done or needs improvements = Not Done
Testing 1/2 Random Testing Explorarory Testing Normal Testing Integration Testing State Transition Stress Testing Performance Testing Faulty Testing TREEVIEW GENERATOR Random Testing Explorarory Testing Normal Testing Integration Testing Fault Injection State Transition Stress Testing Performance Testing GUI Random Testing Explorarory Testing Normal Testing Integration Testing State Transition XSL GENERATOR
Requirements and Design Application installation routine:
Software Support • We will provide 10 hours of free support to our customer