A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB
| Main Author: | |
|---|---|
| Publication Date: | 2023 |
| Format: | Master thesis |
| Language: | eng |
| Source: | Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) |
| Download full: | http://hdl.handle.net/10362/155571 |
Summary: | 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. |
| id |
RCAP_1c78607a9d9877c202b057192597aaf6 |
|---|---|
| oai_identifier_str |
oai:run.unl.pt:10362/155571 |
| network_acronym_str |
RCAP |
| network_name_str |
Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) |
| repository_id_str |
https://opendoar.ac.uk/repository/7160 |
| spelling |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLABSoftware QualityConcernsLanguage ConstructsCoding Anti-PatternsMATLABObject Oriented FeaturesDomínio/Área Científica::Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e InformáticaThis 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.Monteiro, MiguelMarques, NunoRUNAlmeida, Diogo David Sousa2023-07-20T12:29:07Z2023-052023-05-01T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfhttp://hdl.handle.net/10362/155571enginfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-22T18:13:11Zoai:run.unl.pt:10362/155571Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T17:43:44.514421Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse |
| dc.title.none.fl_str_mv |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| title |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| spellingShingle |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB Almeida, Diogo David Sousa Software Quality Concerns Language Constructs Coding Anti-Patterns MATLAB Object Oriented Features Domínio/Área Científica::Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática |
| title_short |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| title_full |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| title_fullStr |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| title_full_unstemmed |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| title_sort |
A CHARACTERIZATION STUDY OF MATLAB AND CODING ANTI-PATTERNS. LANGUAGE CONSTRUCTS AND THEIR, IMPORTANCE IN MATLAB |
| author |
Almeida, Diogo David Sousa |
| author_facet |
Almeida, Diogo David Sousa |
| author_role |
author |
| dc.contributor.none.fl_str_mv |
Monteiro, Miguel Marques, Nuno RUN |
| dc.contributor.author.fl_str_mv |
Almeida, Diogo David Sousa |
| dc.subject.por.fl_str_mv |
Software Quality Concerns Language Constructs Coding Anti-Patterns MATLAB Object Oriented Features Domínio/Área Científica::Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática |
| topic |
Software Quality Concerns Language Constructs Coding Anti-Patterns MATLAB Object Oriented Features Domínio/Área Científica::Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática |
| description |
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. |
| publishDate |
2023 |
| dc.date.none.fl_str_mv |
2023-07-20T12:29:07Z 2023-05 2023-05-01T00:00:00Z |
| dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
| dc.type.driver.fl_str_mv |
info:eu-repo/semantics/masterThesis |
| format |
masterThesis |
| status_str |
publishedVersion |
| dc.identifier.uri.fl_str_mv |
http://hdl.handle.net/10362/155571 |
| url |
http://hdl.handle.net/10362/155571 |
| dc.language.iso.fl_str_mv |
eng |
| language |
eng |
| dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
| eu_rights_str_mv |
openAccess |
| dc.format.none.fl_str_mv |
application/pdf |
| dc.source.none.fl_str_mv |
reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia instacron:RCAAP |
| instname_str |
FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia |
| instacron_str |
RCAAP |
| institution |
RCAAP |
| reponame_str |
Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) |
| collection |
Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) |
| repository.name.fl_str_mv |
Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia |
| repository.mail.fl_str_mv |
info@rcaap.pt |
| _version_ |
1833596920165040128 |