Detecting Design Patterns As Described By An Explicit Specification

Research output: Chapter in Book/Report/Conference proceedingConference Article in proceedingAcademicpeer-review

Abstract

Teaching design patterns in higher education enhances coding skills and improves software quality. However, manually correcting their work and detecting whether the students have correctly implemented the design patterns is time-consuming and would benefit from automated tools. There exist tools that can automatically detect design patterns in code. However, these tools rarely provide an explicit specification of what each pattern should look like. As a consequence, these tools are not usable in an educational environment. When using a tool to detect design patterns in an educational environment, there are several important considerations to keep in mind. Firstly, the tool should use an explicit specification of each design pattern. Secondly, as a teacher, you should be able to adjust the specifications. Third, the tool should be accurate, meaning it should produce few to no false positives or false negatives when identifying patterns in the students’ code. Finally, the tool should do this computationally efficiently. In this article, we present a new tool for detecting design patterns in code. Our tool is capable of recognizing 20 of the most commonly used design patterns, including those described by the’Gang of Four’.

Original languageEnglish
Title of host publicationSEKE 2023
Subtitle of host publicationProceedings of the 35th International Conference on Software Engineering and Knowledge Engineering
PublisherKSI Research Inc.
Pages218-221
Number of pages4
DOIs
Publication statusPublished - 2023
Event35th International Conference on Software Engineering and Knowledge Engineering, SEKE 2023 - Hybrid, San Francisco, United States
Duration: 1 Jul 202310 Jul 2023
https://ksiresearch.org/seke/seke23.html

Publication series

SeriesProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
ISSN2325-9000

Conference

Conference35th International Conference on Software Engineering and Knowledge Engineering, SEKE 2023
Country/TerritoryUnited States
CityHybrid, San Francisco
Period1/07/2310/07/23
Internet address

Keywords

  • Design Patterns
  • Detection
  • Specification

Fingerprint

Dive into the research topics of 'Detecting Design Patterns As Described By An Explicit Specification'. Together they form a unique fingerprint.

Cite this