Architecture-Aware Static Analysis and Violation Detection of C# Student Submissions
Computers · 25.06.2026 · 15 (7) · 404
DOI: 10.3390/computers15070404 ↗Kurz gefasst
Fachartikel in der Zeitschrift Computers, online erschienen am 25.06.2026. Verfasst von Bálint Dominik Orosz und 2 weiteren Autor:innen. Die Arbeit nennt 31 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: EKÖP-25 University Research Scholarship Program of the Ministry for Culture and Innovation.
Abstract (Originalsprache)
Static analysis of student programming submissions has proven a useful supplement to manual evaluation in university courses, but existing approaches focus on local code-quality issues and rarely check higher-level design decisions such as architectural conformance. We propose an architecture-aware static-analysis methodology for student submissions written in C# and structured according to the Model-View (MV) or Model-View-ViewModel (MVVM) architectures. A deterministic clustering algorithm assigns user-defined types to architectural layers by combining heuristic rules derived from SDK conventions with course-specific information, and our 10 proposed violation checks—covering layer-dependency rules, encapsulation, event handling, and dependence on concretions—are evaluated on the recovered layer structure. We implemented the methodology as an open-source analyzer integrated with an automated submission-evaluation system used in a university course focused on event-driven applications, and evaluated it on 947 submissions containing 13,126 user-defined types from past semesters. The analyzer assigned more than 98% of types to their correct layer and surfaced more than 6000 architectural and design issues. The results show that architecture-aware static analysis is a viable complement to manual grading and produces actionable feedback for both students and lecturers.
Förderung
- EKÖP-25 University Research Scholarship Program of the Ministry for Culture and Innovation
Zitieren
APA
Orosz, B. D., Szücs, J., & Cserép, M. (2026). Architecture-Aware Static Analysis and Violation Detection of C# Student Submissions. Computers, 15(7), 404. https://doi.org/10.3390/computers15070404
Vancouver
Orosz BD, Szücs J, Cserép M. Architecture-Aware Static Analysis and Violation Detection of C# Student Submissions. Computers. 2026;15(7):404. doi:10.3390/computers15070404
BibTeX
@article{Orosz2026,
author = {Orosz, Bálint Dominik and Szücs, Judit and Cserép, Máté},
title = {Architecture-Aware Static Analysis and Violation Detection of C# Student Submissions},
journal = {Computers},
year = {2026},
volume = {15},
number = {7},
pages = {404},
doi = {10.3390/computers15070404}
}
EUVIMED