Análisis automático del código en prácticas de programación en orientación a objetos
- Santiago Pérez Aldeguer (coord.)
- Guadalupe Castellano Pérez (coord.)
- Alfredo Pina Calafi (coord.)
Publisher: Adaya Press
ISBN: 978-94-92805-00-3
Year of publication: 2017
Pages: 61-71
Type: Book chapter
Abstract
Teaching and learning programming skills in computer science are complex processes for the lecturer and the student respectively. As such, making use of technological advances, several proposals have emerged in order to support both the student in this task and the professor in the evaluation of subjects where these skills are taught. Among these proposals, it is popular the execution of test suites, which allow checking that the program developed by the student satisfies the requested functionality. However, this option cannot help detect whether that program complies with certain established requirements or not. This chapter focuses on the direct analysis of the code to verify that the solutions provided by the students meet the conditions set in the practice statement. This analysis, known as static analysis, is automatic and beneficial both for the professor and the student, highlighting the quick feedback obtained by the student at all times. The aim of this chapter is to describe the experience in a subject about object-oriented programming in a two-year period applying the aforementioned checks on the code. We explain what the innovation is used for and how it was developed. In addition, we show illustrative results related to its acceptance by the student body and its utility.