Back to results

Queen's University at Kingston

Code pattern analysis of object-oriented programming languages

Abstract

dc:description.abstract

Code patterns, including programming patterns and design patterns, are good references for programming language feature improvement and software re-engineering. However, to our knowledge, no existing research has attempted to detect code patterns based on code clone detection technology. In this study, we build upon the previous work and propose to detect and analyze code patterns from a collection of open source projects using NiPAT technology. Because design patterns are most closely associated with object-oriented languages, we choose Java and Python projects to conduct our study. The tool we use for detecting patterns is NiPAT, a pattern detecting tool originally developed for the TXL programming language based on the NiCad clone detector. We extend NiPAT for the Java and Python programming languages. Then, we try to identify all the patterns from the pattern report and classify them into several different categories. In the end of the study, we analyze all the patterns and compare the differences between Java and Python patterns.

Degree

thesis:*
Department dc:contributor.department
Computing
Grantor
Queen's University at Kingston

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Miao, Xubo
Advisor dc:contributor.supervisor
  • Cordy, James R.

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • CC0 1.0 Universal
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1974/15252

Chain of custody

source
Harvested from
Queens University
Base URL
qspace.library.queensu.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Miao, Xubo. Code pattern analysis of object-oriented programming languages. Queen's University at Kingston, https://hdl.handle.net/1974/15252