{'fraction_non_alphanumeric': 0.01901469317199654, 'fraction_numerical': 0.0, 'mean_word_length': 4.5673076923076925, '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 definition of lines of code for Ada

The application of the principles and methods of modern software engineering requires the measurement of the essential factors of the software development process. One basic factor is the program size. Up to now no satisfactory definition of program size has been agreed upon. A popular definition of program size is "lines of code " (LOC) but even for this specific measure the situation is the same and there are different definitions of LOC in use. That is, for the same program we may obtain different values for its size.In this paper we report about a new definition of lines of code for Ada. This definition was developed at Siemens as part of an in-house standard, in which LOC is defined for different languages. This standard defines the number of all source lines as the gross size of a program and the number of all those lines which are essential for the correct execution of the program as the net size of a program. Furthermore, the standard distinguishes five sorts of lines which are important for a more detailed analysis of a program: statement, declaration, directive, comment, and separator lines.