{'fraction_non_alphanumeric': 0.01870503597122302, 'fraction_numerical': 0.0, 'mean_word_length': 5.385321100917431, '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}}
Two quasi-experiments on cohesion metrics and program comprehension

Cohesion represents the degree to which a software module is focused on a single responsibility. It believes that the more cohesive, the easier it will be to understand the source code of a module. However, there is no empirical evidence about the relationship between cohesion, quantified by metrics, and the effort for understanding programs. In this context, we conducted two quasi-experiments to evaluate the relationship between cohesion measurements and the effort spent to understand the source code of classes in object-oriented systems. The results provide no evidence that cohesion affects program comprehensibility.