Back to results

National University of Ireland Maynooth

Source Code Matching for Reuse of Formal Specifications

Abstract

dc:description.abstract

Although Software Verification technology is rapidly advancing, the process of formally specifying the intended behaviour of a program can still be difficult and time consuming as the program increases in size and complexity. In this project we focus on the source code matching module of Arís (Analogical Reasoning for reuse of Implementation & Specification) platform in which we aim to increase the number of verified programs by reducing the effort of writing specifications. Our approach promotes the advantages of code reuse and the possibility of transferring specifications between similar implementations. In order to effectively compare two source code files we represent them using Conceptual Graphs that allow us to explore the semantic content of the code while also analysing its structural properties using graph-based techniques. For comparing two conceptual graphs, we propose to use an incremental matching algorithm based on IAM (the Incremental Analogy Machine (Keane, et al., 1994)) and find the best mapping between isomorphic (exact matches) or homomorphic (non-identical) sub-graphs. We further develop analogical inferences from the acquired mapping using the CWSG (Copy With Substitution and Generation) algorithm for pattern completion and generate new specifications into our target/problem code. Finally, we present our evaluation and show that between structurally similar programs, the formal specifications can be fully transferred and successfully verified. Our overall results are very encouraging and clearly show the potential of reusing formal specifications in creating more dependable software systems.

Degree

thesis:*
Level dc:type.qualificationlevel
masters
Grantor dc:publisher.institution
National University of Ireland Maynooth
Year dc:date.issued
2013

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Grijincu, Daniela

Subjects

dc:subject × 1

Rights

Language dc:language
en

Chain of custody

source
Harvested from
National University of Ireland - Maynooth
Base URL
mural.maynoothuniversity.ie/cgi/oai2
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Grijincu, Daniela. Source Code Matching for Reuse of Formal Specifications. masters thesis, National University of Ireland Maynooth, 2013.