Abstract
ContextOver 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.ObjectiveThis 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.MethodThe 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.ResultsThe 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.ConclusionThe 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.
Highlights
In software engineering, a design pattern is a general and reusable solution to a frequently occurring software design problem
The result demonstrate that whenever the source code is build standard and non-standard, based on the design patterns, 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
Summary
A design pattern is a general and reusable solution to a frequently occurring software design problem. A design pattern is not an algorithm that can be converted directly into code but rather a template for solving various instances of a general problem. Design patterns are an important tool in software engineering documentation, allowing software developers to reuse previous strategies for resolving recurrent issues. Any sequence of DNA, ribonucleic acid (RNA), or proteins can be aligned using a variety of bioinformatics algorithms. DNA sequence mining is a method of finding the common subsequence in a set of sequences (often two sequences). These ideas are illustrated in the following numerical example [19]. A learning algorithm through which the automaton learns a set of optimal actions by trial and error
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.