aws-samples / mainframe-data-utilities
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 10 files with 679 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (176 lines of code)
    • 9 very small files (503 lines of code)
0% | 0% | 0% | 25% | 74%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cob0% | 0% | 0% | 65% | 34%
py0% | 0% | 0% | 0% | 100%
cpy0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
LegacyReference0% | 0% | 0% | 55% | 44%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
cob
COBKS05.cob
in LegacyReference
176 -
parse_copybook_to_json.py
in root
98 2
cob
COBPACK2.cob
in LegacyReference
92 -
copybook.py
in root
85 6
datasource.py
in root
68 8
utils.py
in root
63 8
extract_ebcdic_to_ascii.py
in root
32 2
cpy
COBPACK2.cpy
in LegacyReference
28 -
cpy
COBKS05.cpy
in LegacyReference
21 -
ebcdic.py
in root
16 1
Files With Most Units (Top 6)
File# lines# units
datasource.py
in root
68 8
utils.py
in root
63 8
copybook.py
in root
85 6
extract_ebcdic_to_ascii.py
in root
32 2
parse_copybook_to_json.py
in root
98 2
ebcdic.py
in root
16 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 4 long lines.

File# lines# units# long lines
utils.py
in root
63 8 2
extract_ebcdic_to_ascii.py
in root
32 2 1
parse_copybook_to_json.py
in root
98 2 1