Cargando…

Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment

CONTEXT: Over the last decade, design patterns have been used extensively to generate reusable solutions to frequently encountered problems in software engineering and object oriented programming. A design pattern is a repeatable software design solution that provides a template for solving various...

Descripción completa

Detalles Bibliográficos
Autores principales: Esmaeilpour, Mansour, Naderifar, Vahideh, Shukur, Zarina
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2014
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4171372/
https://www.ncbi.nlm.nih.gov/pubmed/25243670
http://dx.doi.org/10.1371/journal.pone.0106313
_version_ 1782335882512039936
author Esmaeilpour, Mansour
Naderifar, Vahideh
Shukur, Zarina
author_facet Esmaeilpour, Mansour
Naderifar, Vahideh
Shukur, Zarina
author_sort Esmaeilpour, Mansour
collection PubMed
description CONTEXT: Over the last decade, design patterns have been used extensively to generate reusable solutions to frequently encountered problems in software engineering and object oriented programming. A design pattern is a repeatable software design solution that provides a template for solving various instances of a general problem. OBJECTIVE: This paper describes a new method for pattern mining, isolating design patterns and relationship between them; and a related tool, DLA-DNA for all implemented pattern and all projects used for evaluation. DLA-DNA achieves acceptable precision and recall instead of other evaluated tools based on distributed learning automata (DLA) and deoxyribonucleic acid (DNA) sequences alignment. METHOD: The proposed method mines structural design patterns in the object oriented source code and extracts the strong and weak relationships between them, enabling analyzers and programmers to determine the dependency rate of each object, component, and other section of the code for parameter passing and modular programming. The proposed model can detect design patterns better that available other tools those are Pinot, PTIDEJ and DPJF; and the strengths of their relationships. RESULTS: The result demonstrate that whenever the source code is build standard and non-standard, based on the design patterns, then the result of the proposed method is near to DPJF and better that Pinot and PTIDEJ. The proposed model is tested on the several source codes and is compared with other related models and available tools those the results show the precision and recall of the proposed method, averagely 20% and 9.6% are more than Pinot, 27% and 31% are more than PTIDEJ and 3.3% and 2% are more than DPJF respectively. CONCLUSION: The primary idea of the proposed method is organized in two following steps: the first step, elemental design patterns are identified, while at the second step, is composed to recognize actual design patterns.
format Online
Article
Text
id pubmed-4171372
institution National Center for Biotechnology Information
language English
publishDate 2014
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-41713722014-09-25 Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment Esmaeilpour, Mansour Naderifar, Vahideh Shukur, Zarina PLoS One Research Article CONTEXT: Over the last decade, design patterns have been used extensively to generate reusable solutions to frequently encountered problems in software engineering and object oriented programming. A design pattern is a repeatable software design solution that provides a template for solving various instances of a general problem. OBJECTIVE: This paper describes a new method for pattern mining, isolating design patterns and relationship between them; and a related tool, DLA-DNA for all implemented pattern and all projects used for evaluation. DLA-DNA achieves acceptable precision and recall instead of other evaluated tools based on distributed learning automata (DLA) and deoxyribonucleic acid (DNA) sequences alignment. METHOD: The proposed method mines structural design patterns in the object oriented source code and extracts the strong and weak relationships between them, enabling analyzers and programmers to determine the dependency rate of each object, component, and other section of the code for parameter passing and modular programming. The proposed model can detect design patterns better that available other tools those are Pinot, PTIDEJ and DPJF; and the strengths of their relationships. RESULTS: The result demonstrate that whenever the source code is build standard and non-standard, based on the design patterns, then the result of the proposed method is near to DPJF and better that Pinot and PTIDEJ. The proposed model is tested on the several source codes and is compared with other related models and available tools those the results show the precision and recall of the proposed method, averagely 20% and 9.6% are more than Pinot, 27% and 31% are more than PTIDEJ and 3.3% and 2% are more than DPJF respectively. CONCLUSION: The primary idea of the proposed method is organized in two following steps: the first step, elemental design patterns are identified, while at the second step, is composed to recognize actual design patterns. Public Library of Science 2014-09-22 /pmc/articles/PMC4171372/ /pubmed/25243670 http://dx.doi.org/10.1371/journal.pone.0106313 Text en © 2014 Esmaeilpour et al http://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are properly credited.
spellingShingle Research Article
Esmaeilpour, Mansour
Naderifar, Vahideh
Shukur, Zarina
Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
title Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
title_full Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
title_fullStr Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
title_full_unstemmed Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
title_short Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
title_sort design pattern mining using distributed learning automata and dna sequence alignment
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4171372/
https://www.ncbi.nlm.nih.gov/pubmed/25243670
http://dx.doi.org/10.1371/journal.pone.0106313
work_keys_str_mv AT esmaeilpourmansour designpatternminingusingdistributedlearningautomataanddnasequencealignment
AT naderifarvahideh designpatternminingusingdistributedlearningautomataanddnasequencealignment
AT shukurzarina designpatternminingusingdistributedlearningautomataanddnasequencealignment