{'fraction_non_alphanumeric': 0.013725490196078431, 'fraction_numerical': 0.0, 'mean_word_length': 5.468354430379747, '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}}
Influence of Identifier Length and Semantics on the Comprehensibility of Source Code

Identifiers are essential for the understanding of source code. Programmers can name them arbitrarily, which is a major source for hard to understand code. We investigated how an identifier’s length and semantics affect program comprehensibility. In a controlled experiment, we showed that identifier names using proper words lead to a faster defect detection than identifier names using abbreviated words or single letters.