Please use this identifier to cite or link to this item: http://hdl.handle.net/10362/155571
Title: A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB
Author: Almeida, Diogo David Sousa
Advisor: Monteiro, Miguel
Marques, Nuno
Keywords: Software Quality
Concerns
Language Constructs
Coding Anti-Patterns
MATLAB
Object Oriented Features
Defense Date: May-2023
Abstract: This thesis is an analysis of the MATLAB language. The analysis performs a characterization of the language and detects some specific coding anti-patterns. The work for this thesis builds on previous research on techniques for concern location in MATLAB code bases. It is based on a SQLite database that contains all the lexical tokens from a given repository of MATLAB systems. Previous research studied the use of this database for representing the MATLAB repository and supporting higher-level concepts, as well as its detection in specific MATLAB files. The viability of this approach was demonstrated in work prior to this thesis using SQL queries over the database, demonstrating that code blocks can be used to characterize the language and describe some coding anti-patterns. The present thesis extends previous work by extending the concept of code blocks. It incorporates that notion into the broader concept of language constructs. Support for language constructs in the SQLite platform are a contribution of this thesis. The results were derived from a repository of over 450 000 MATLAB files. Work on this repository also serves as a MATLAB characterization study.
Esta tese é uma análise da linguagem MATLAB. A análise realiza uma caracterização da linguagem e detecta alguns anti-padrões de codificação específicos. O trabalho para esta tese baseia-se em pesquisas anteriores sobre técnicas de localização de concerns em bases de código MATLAB. É baseado numa base de dados SQLite que contém todos os tokens lexicais de um determinado repositório de sistemas MATLAB. Investigações anteriores estudaram o uso desta base de dados para representar o repositório MATLAB e dar suporte a conceitos de alto nível, bem como sua detecção em ficheiros MATLAB específicos. A viabilidade desta abordagem foi demonstrada em trabalhos anteriores a esta tese utilizando consultas SQL à base de dados, demonstrando que os blocos de código podem ser utilizados para caracterizar a linguagem e descrever alguns anti-padrões de codificação. A presente tese estende trabalhos anteriores ao estender o conceito de blocos de código. Esta tese incorpora essa noção no conceito mais amplo de construções de linguagem. O suporte para construções de linguagem na plataforma SQLite é uma contribuição desta tese. Os resultados foram derivados de um repositório de mais de 450 000 ficheiros MATLAB. O trabalho neste repositório também serve como um estudo de caracterização do MATLAB.
URI: http://hdl.handle.net/10362/155571
Designation: MASTER IN COMPUTER SCIENCE
Appears in Collections:FCT: DI - Dissertações de Mestrado

Files in This Item:
File Description SizeFormat 
Almeida_2023.pdf4,84 MBAdobe PDFView/Open


FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpace
Formato BibTex MendeleyEndnote 

Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.