{'fraction_non_alphanumeric': 0.010401188707280832, 'fraction_numerical': 0.0, 'mean_word_length': 4.860869565217391, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Testing a model of program quality

The Oviedo/VanVerth model of program quality has been implemented in a system for automatically grading quality in Pascal programs. Besides the obvious practical advantages of such a system, it also functions as a testbed in the process of validating the model. A study was conducted to test the performance of the model by comparing rankings obtained from measures produced by the model with rankings produced by grades for quality given by expert human graders. Results from the study showed that for the sets of programs tested, the model and the experts tended to agree about the relative quality of the programs under consideration.