{'fraction_non_alphanumeric': 0.014037985136251032, 'fraction_numerical': 0.0, 'mean_word_length': 5.183673469387755, '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}}
A quality assessment model for Java code

Quality measures are extremely difficult to quantify because they depend on many parameters and factors, some of which cannot be identified or measured readily. Java is the language of choice for interoperable code segments that constitute an effective interface layer between Web servers and the user. Realizing those code segments, however, is a challenge. Reusability criteria do not apply. This paper describes a quality model that can be used directly on code, and thus during light development and in rapid development cycles. The model is based on nonquantifiable attributes of quality that then are related to specific measures found using a structured method. The measures identify statistical clusters that can be used to categorize the quality of each Java class file. The relation between quality factors and measures is proven at the mathematical level, using the representational theory of measurement, and then at the empirical level, using an independent assessment. The preliminary results collected seem to indicate that the quality model is effective in classifying Java programs. An important indication can then be obtained by the quality analysis.