{'fraction_non_alphanumeric': 0.020858895705521473, 'fraction_numerical': 0.006134969325153374, 'mean_word_length': 4.828571428571428, '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}}
Towards a measure of object oriented runtime cohesion based on number of instance variable accesses

In this paper we present a new object-oriented cohesion metric at the runtime boundary, based on number of runtime variable accesses. Only a small amount of previous work so far has been done with runtime boundary metrics [1, 2, 3, 4, 6]. This area has considerable potential: it promises more accurate quality measurements that have been available before, since quality is measured on the actual running code. We first propose the metric, then we compute the metric on an open source software package and validate it by comparing it to static cohesion metrics and expert cohesion data. Our results indicate that the metric does measure cohesion, and thus is worthy of future studies to determine its full utility.