Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • apa.csl
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Integrated Source Code and Architectural Quality Analysis Using Neo4j Graph Database
Karlstads universitet, Fakulteten för hälsa, natur- och teknikvetenskap (from 2013), Institutionen för matematik och datavetenskap (from 2013).
2024 (Engelska)Självständigt arbete på avancerad nivå (masterexamen), 20 poäng / 30 hpStudentuppsats (Examensarbete)Alternativ titel
Integrerad källkod och arkitektonisk kvalitetsanalys med hjälp av Neo4jGraph Database (Svenska)
Abstract [en]

In the realm of software engineering, understanding the architecture and measuringthe quality of a source code is essential for maintaining and enhancing softwaresystems. However, many existing tools fall short in evaluating architectural aspects,such as detecting architectural erosion or addressing architecture-related metrics andconstraints tailored to the unique context of their systems or organisations. Thisdeficiency restricts proactive architecture governance and hinders the mitigation ofarchitecture-related risks, creating a critical gap in the analysis of software sourcecode.

This thesis presents a novel approach to tackle these challenges. It proposes a graphdatabase as a data structure for analysing the source code and architecture quality andcalculating various architectural metrics of interest. The tool developed in this thesisrepresents the source code structural elements and their relationships in the graphdatabase, enabling an intuitive analysis of the source code architecture.

The tool also integrates different code quality metrics parsed from Visual Studiocode metrics results, mapped to their correspondent nodes to assess the source codeoverall quality and identify potential areas of improvement. This empowers softwareengineers and developers to make informed decisions regarding refactoring, codeoptimisation, and architectural enhancements.

Furthermore, the tool allows users to define the intended architecture in terms ofmodules to reveal any Architecture erosion (AEr). It also provides the flexibility toestablish custom constraints and metrics through tailored queries, accommodating theunique requirements of their system and company.

A case study conducted on a real-world software project validates the effectivenessand usefulness of the proposed approach. The case study demonstrates how the toolanalysis reveals valuable insights into the source code health and identifies patternsthat can impact maintainability and scalability. The results of this research showcasethe potential of our tool as a powerful instrument for analysing the code qualityand architecture of source code, fostering more resilient and sustainable softwaresystems.

Ort, förlag, år, upplaga, sidor
2024. , s. 92
Nyckelord [en]
Architecture, Codebase, Neo4j, Graph database, Metric analysis, Code complexity, Roslyn API, Code quality.
Nationell ämneskategori
Systemvetenskap, informationssystem och informatik Annan data- och informationsvetenskap Datavetenskap (datalogi)
Identifikatorer
URN: urn:nbn:se:kau:diva-99319OAI: oai:DiVA.org:kau-99319DiVA, id: diva2:1851736
Ämne / kurs
Datavetenskap
Utbildningsprogram
Civilingenjör: Datateknik (300 hp)
Presentation
2024-04-03, Karlstad, 16:03 (Engelska)
Handledare
Examinatorer
Tillgänglig från: 2024-04-18 Skapad: 2024-04-15 Senast uppdaterad: 2024-04-19Bibliografiskt granskad

Open Access i DiVA

Integrated Source Code and Architectural Quality Analysis Using Neo4j Graph Database(3854 kB)58 nedladdningar
Filinformation
Filnamn FULLTEXT01.pdfFilstorlek 3854 kBChecksumma SHA-512
9222aabf21e859fb41aec1f4b58d1e545cf19354543513c1f4ed7bcd126ee8acd5701edf83b4bd4344915f91cf061a22e93328de659e94c905e12e0fa6f54e5c
Typ fulltextMimetyp application/pdf

Av organisationen
Institutionen för matematik och datavetenskap (from 2013)
Systemvetenskap, informationssystem och informatikAnnan data- och informationsvetenskapDatavetenskap (datalogi)

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 58 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

urn-nbn

Altmetricpoäng

urn-nbn
Totalt: 166 träffar
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • apa.csl
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf