Ihantola, PetriPetersen, Andrew2019-01-032019-01-032019-01-08978-0-9981331-2-6http://hdl.handle.net/10125/60204Instructors of introductory programming courses would benefit from having a metric for evaluating the sophistication of student code. Since introductory programming courses pack a wide spectrum of topics in a short timeframe, student code changes quickly, raising questions of whether existing software complexity metrics effectively reflect student growth as reflected in their code. We investigate code produced by over 800 students in two different Python-based CS1 courses to determine if frequently used code quality and complexity metrics (e.g., cyclomatic and Halstead complexities) or metrics based on length and syntactic complexity are more effective as a heuristic for gauging students' progress through a course. We conclude that the traditional metrics do not correlate well with time passed in the course. In contrast, metrics based on syntactic complexity and solution size correlate strongly with time in the course, suggesting that they may be more appropriate for evaluating how student code evolves in a course context.9 pagesengAttribution-NonCommercial-NoDerivatives 4.0 InternationalMethods and ModelsSoftware Engineering Education and Trainingcomplexity measures, computer science educatio, CS1, curriculum, programmingCode Complexity in Introductory Programming CoursesConference Paper10.24251/HICSS.2019.924