aws-samples / amazon-textract-response-parser
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 25 files with 4,450 lines of code.
    • 1 very long files (1,312 lines of code)
    • 1 long files (549 lines of code)
    • 5 medium size files (1,637 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (461 lines of code)
    • 14 very small files (491 lines of code)
29% | 12% | 36% | 10% | 11%
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
ts67% | 0% | 10% | 6% | 14%
py0% | 28% | 51% | 11% | 8%
cs0% | 0% | 80% | 19% | 0%
js0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src-js/src76% | 0% | 12% | 7% | 3%
src-python/trp0% | 34% | 46% | 13% | 5%
src-csharp0% | 0% | 80% | 19% | 0%
src-python/a2i0% | 0% | 87% | 0% | 12%
src-js/src/api-models0% | 0% | 0% | 0% | 100%
src-python0% | 0% | 0% | 0% | 100%
src-js0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
document.ts
in src-js/src
1312 74
trp2.py
in src-python/trp
549 53
__init__.py
in src-python/trp
490 85
TextractExtensions.cs
in src-csharp
448 34
trp2_expense.py
in src-python/trp
261 24
a2irp.py
in src-python/a2i
230 45
expense.ts
in src-js/src
208 34
geometry.ts
in src-js/src
132 18
trp2_analyzeid.py
in src-python/trp
117 7
Program.cs
in src-csharp
107 9
t_pipeline.py
in src-python/trp
105 8
document.ts
in src-js/src/api-models
93 -
response.ts
in src-js/src/api-models
86 -
t_tables.py
in src-python/trp
83 6
base.ts
in src-js/src
56 5
setup.py
in src-python
46 1
a2irptest.py
in src-python/a2i
33 2
expense.ts
in src-js/src/api-models
28 -
rollup.config.js
in src-js
22 -
cfg
setup.cfg
in src-python
18 -
geometry.ts
in src-js/src/api-models
14 -
index.ts
in src-js/src/api-models
4 -
jest.config.js
in src-js
4 -
index.ts
in src-js/src
3 -
__init__.py
in src-python/a2i
1 -
Files With Most Units (Top 15)
File# lines# units
__init__.py
in src-python/trp
490 85
document.ts
in src-js/src
1312 74
trp2.py
in src-python/trp
549 53
a2irp.py
in src-python/a2i
230 45
expense.ts
in src-js/src
208 34
TextractExtensions.cs
in src-csharp
448 34
trp2_expense.py
in src-python/trp
261 24
geometry.ts
in src-js/src
132 18
Program.cs
in src-csharp
107 9
t_pipeline.py
in src-python/trp
105 8
trp2_analyzeid.py
in src-python/trp
117 7
t_tables.py
in src-python/trp
83 6
base.ts
in src-js/src
56 5
a2irptest.py
in src-python/a2i
33 2
setup.py
in src-python
46 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
document.ts
in src-js/src
1312 74 2
TextractExtensions.cs
in src-csharp
448 34 2
__init__.py
in src-python/trp
490 85 1