{'fraction_non_alphanumeric': 0.01476510067114094, 'fraction_numerical': 0.0, 'mean_word_length': 5.431034482758621, '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}}
Refactoring rules effect of class cohesion on high-level design

Various refactoring rules and their impact on class cohesion at high-level designs have been investigated. Early measurement and improvement of internal quality attributes such as cohesion, allows developers to avoid extensive review, frequent modification and rewriting of specifications, designs, and source codes. The impact of refactoring is obtained by comparing class cohesion of a design before and after refactoring applied. A set of class cohesion metrics that suits four properties of a good class cohesion metric was chosen based on theoretical analysis and supported by empirical evidence. We found that refactoring rules does not always improve class cohesion values.