Work

Automated Source Code Structure Feedback Using srcML and RelaxNG

Year: 2013
Type: article
Abstract: Students learning programming in a Computer Science course, and software developers in industry both benefit from immediate feedback. Dynamic validation, such as software testing, tests the behavior of code and is often full automated to provide this kind of feedback. Static validation checks the structure of the source code, however very few automated tools exist that can practically perform this validation. The research presented is a framework for validating the structure of source code. The source code is converted into srcML, an XML format for source code, and the source code structure is validated using the XML grammar language RelaxNG.An evaluation was performed where the automated approach was applied to the source code written in twelve labs for a first course in programming of over 300 students. The implementation described here was found to be highly scalable and flexible. In academics, applications of the work include automated grading and student feedback, and in industry to code reviews, code policy enforcement, and code pattern learning.
Institution: University of Akron
Language: English
Open Access status: green
OpenAlex ID: W2344975964
FWCI:
Cites: 10
Cited by:
Related to: 10