Capturing and Exploiting Design Pattern Variability in Mobile Application Generation
Abstract
The increasing reliance on automatic code generation in mobile application development often leads to code that neglects fundamental design principles and architectural quality. In this work, we address this challenge by capturing and exploiting the inherent variability of software design patterns to systematically generate customizable and well-structured mobile applications. We propose the use of the Universal Variability Language (UVL) to explicitly model the structural and behavioral variation points of common design patterns, such as Singleton, Strategy, Observer, Adapter, and Factory Method. These models are integrated with reusable Jinja templates, enabling code generation in Swift. Our approach leverages Software Product Line (SPL) engineering principles, treating design patterns as configurable assets within a product line and supporting automated generation of custom design patterns. We also analyze the configuration space of the modeled patterns, offering insights into their variability complexity. By formalizing design pattern variability and embedding it into the generation process, our work bridges model-driven engineering with practical mobile development, promoting the production of maintainable, reusable, and architecturally sound applications.
Create a lesson
Metadata
- Comments
- Research paper presented as a Master's Thesis for the MSc in Advanced Software Technologies for Mobile Devices, Universidad San Jorge (Spain), September 2025
Related papers
HD-GEN: A High-Performance Software System for Human Mobility Data Generation Based on Patterns of Life
Shared title terminologycs.SEHossein Amiri, Joon-Seok Kim, Hamdi Kavak et al.
Towards Reliable AI-Assisted Analog Design: Template-Constrained LLM Agents for SAR ADC Generation
Shared title terminologycs.SEDimple Vijay Kochar, Hae-Seung Lee, Anantha P. Chandrakasan
Design-Specification Tiling for ICL-based CAD Code Generation
Shared title terminologycs.SEYali Du, San-Zhuo Xi, Hui Sun et al.
Towards Comprehensive Mobile Application Testing for User-centric Feature Coverage via Simulating Real-World Users with Personas
Shared title terminologycs.SEHa Min Son, Huan Ren, Huan Song et al.
WebDesignIter: Co-Evolving Design Knowledge for Repository-Level Front-End Code Generation
Shared title terminologycs.SEZheng Pei, Mingwei Liu, Zhenxi Chen et al.
AI-Generated Code Issues: A Taxonomy from Repository Histories, AI Conversations, and Developer Interviews
Shared title terminologycs.SERosalia Tufano, Nargiz Humbatova, Daniele Bifolco et al.