aws-samples / copilot-primer-workshop
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 19 files with 503 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 (123 lines of code)
    • 18 very small files (380 lines of code)
0% | 0% | 0% | 24% | 75%
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
css0% | 0% | 0% | 91% | 8%
tsx0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend/webapp/src0% | 0% | 0% | 60% | 39%
frontend/webapp/src/components0% | 0% | 0% | 0% | 100%
backend0% | 0% | 0% | 0% | 100%
frontend/webapp/src/modules0% | 0% | 0% | 0% | 100%
frontend/webapp/public0% | 0% | 0% | 0% | 100%
manifests/backend0% | 0% | 0% | 0% | 100%
manifests/frontend0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
App.css
in code/frontend/webapp/src
123 -
app.py
in code/backend
81 9
tasksModule.ts
in code/frontend/webapp/src/modules
66 4
TaskInput.tsx
in code/frontend/webapp/src/components
34 -
TaskItem.tsx
in code/frontend/webapp/src/components
30 -
TableOperation.tsx
in code/frontend/webapp/src/components
23 -
TaskList.tsx
in code/frontend/webapp/src/components
17 -
index.html
in code/frontend/webapp/public
17 -
App.tsx
in code/frontend/webapp/src
15 -
manifest.yml
in code/manifests/backend
14 -
index.tsx
in code/frontend/webapp/src
14 -
reportWebVitals.ts
in code/frontend/webapp/src
13 -
manifest.yml
in code/manifests/frontend
12 -
index.css
in code/frontend/webapp/src
12 -
Types.ts
in code/frontend/webapp/src
10 -
rootReducer.ts
in code/frontend/webapp/src
7 -
store.ts
in code/frontend/webapp/src
7 -
util.ts
in code/frontend/webapp/src/components
7 1
setupTests.ts
in code/frontend/webapp/src
1 -
Files With Most Units (Top 3)
File# lines# units
app.py
in code/backend
81 9
tasksModule.ts
in code/frontend/webapp/src/modules
66 4
util.ts
in code/frontend/webapp/src/components
7 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines