Return to search

Visualisering av datastrukturer : Utveckling av ett tolkningsverktyg

Tolking och tillgodogörande av datastrukturer, organiserad information ochprogramkodsfiler förekommer frekvent i arbete med mjukvaruutveckling. Dennainformation är lagrad i textbaserad form och dess förståelse kräver stornoggrannhet och tidsinvestering från utvecklarens sida. I syfte att försöka förenklaprocessen beskriver detta examensarbete utvecklingen av en prototyp till ettverktygsprogram, vilket automatiserar tolkning av XML-data och källkodsfiler förprogrammeringsspråken C och C++. Programmet skapar och presenterar sedanen visuell graf av den undersökta strukturen. Algoritmen klarar av att presenteragodtyckligt stora XML-filer samt ett begränsat antal samtidigt inlästakällkodsfiler. Effekterna på tolkningens tidsåtgång och dess tillförlitlighet harutvärderats i en undersökning bland studenter inom mjukvaruutveckling.Resultatet visade på en viss mätbar ökning i antalet korrekta slutsatser somanvändaren drog efter att ha studerat datasammanhanget grafiskt jämfört meddess ursprungliga textform. Tidsåtgången mättes inte mer noggrant än subjektivthos användarna, av vilka en övervägande andel ansåg att tiden förkortades medden grafiska representationen till deras hjälp. Examensarbetet visar attanvändandet av detta eller motsvarande verktyg kan öka tillgodogörandet avdatastrukturer genom att både höja graden av tillförlitligheten hos dennainformation och samtidigt minska tidsåtgången. Däremot är den kvantifierbaravinsten av dessa resultat inte statistiskt säkerställd till en högre grad. / Interpretation and assimilation of data structures, organized information andsource code files are frequently occuring during software development. This kindof information is stored in text-based form and its understanding requires greatthoroughness and investment in time from the developer's part. This thesisdescribes the development of a utility program prototype, which automates theparsing of XML data and source code files from the programming languages Cand C++, in purpose of trying to simplify the interpretation process. The programcreates and presents a visual graph of the structure found, using an algorithmwhich can present arbitrary large XML files as well as a limited number ofconcurrent source code files. The effects on the interpretation time and itsreliablity has been evaluated in a survey among software development students.The result showed a certain increase in the number of correct conclusions fromthe participants' side after studying the visual representation compared to itsorignial text-based form. The amount of time used was not measured other thansubjectively by the users themselves, of which a predominant proportionconsidered a reduction in needed time when using the graphical representation.The thesis shows that the use of this or an equivalent utility can enhance theassimilation of data structures by increasing the rate of reliabilty whilesimultaneously decreasing the needed amount of time. Still, the quantifyable gainsof these results remains statistically largely uncertain.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:miun-19429
Date January 2013
CreatorsAdborn, Mats
PublisherMittuniversitetet, Institutionen för informationsteknologi och medier
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0027 seconds