INTEROPERABILIDADE SEMÂNTICA ENTRE CÓDIGOS FONTE BASEADA EM ONTOLOGIA

Nenhuma Miniatura disponível
Data
2021-11-24
Autores
Aguiar, Camila Zacché de
Título da Revista
ISSN da Revista
Título de Volume
Editor
Universidade Federal do Espírito Santo
Resumo
The source code is a well-formed sequence of computer instructions expressed in a programming language, composed of a set of symbols organized with their respective syntax and semantics. The different representations of source code in programming languages create a heterogeneous context, as does the use of multiple programming languages in a single source code. This scenario prevents the direct exchange of information between source codes of different programming languages, requiring specialized knowledge of their languages and diversity of tools and practices. In this sense, as a way to mitigate heterogeneity between programming languages, we apply semantic interoperability to ensure that shared information have their meanings understood and operationalized by code written in different source programming languages. To do this, we adopt ontologies to ensure uniform interpretations that share a consistent common commitment about the source code domain. In addition to acting as an interlanguage between different source codes, ontologies are widely accepted in the literature as tools to provide semantics and interoperability between entities with different natures. To apply ontologies to source code interoperability, this research presents a source code ontology network called SCON — Source Code Ontology Network and a method for source code interoperability based on ontology called OSCIN — Ontology-Based Source Code Interoperability. While SCON semantically represents common and consensual concepts about the domain of source code, regardless of the programming language, OSCIN aims to apply this representation for different purposes in a unified way. The method is based on the source code subdomain that will be represented, the programming language that it is capable of handling, and the application purpose that will be applied. In order to provide a set of solutions to support the application of the OSCIN method in different source code subdomains, programming languages and application purposes, this research presents the OSCINF framework — Ontology-based Source Code Interoperability Framework, which generates the artifacts expected by the OSCIN method and defines the SABiOS method — Systematic Approach for Building Ontologies with Scrum for the construction of well-founded ontologies. Finally, this research evaluates source code interoperability by applying the OSCIN method to detect smells, software metrics and code migration in source codes from different programming languages.
Descrição
Palavras-chave
Interoperabilidade semântica , interoperabilidade semântica em códigofonte , ontologia , engenharia de ontologia
Citação