aws-samples / medical-transcription-analysis
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 106 files with 15,652 lines of code.
    • 1 very long files (8,231 lines of code)
    • 1 long files (934 lines of code)
    • 7 medium size files (1,876 lines of codeclsfd_ftr_w_mp_ins)
    • 14 small files (1,822 lines of code)
    • 83 very small files (2,789 lines of code)
52% | 5% | 11% | 11% | 17%
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
css85% | 0% | 0% | 8% | 5%
js0% | 24% | 26% | 10% | 38%
ts0% | 0% | 88% | 0% | 11%
scss0% | 0% | 30% | 35% | 34%
py0% | 0% | 21% | 35% | 42%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src76% | 8% | 5% | 5% | 4%
src/components0% | 0% | 17% | 36% | 46%
lib0% | 0% | 96% | 0% | 3%
src/styles0% | 0% | 48% | 0% | 51%
lambda0% | 0% | 36% | 42% | 21%
lambda/custom_resource_athena0% | 0% | 0% | 100% | 0%
src/audio-utils0% | 0% | 0% | 0% | 100%
src/utils0% | 0% | 0% | 0% | 100%
lambda/create_session0% | 0% | 0% | 0% | 100%
src/ai0% | 0% | 0% | 0% | 100%
lambda/get_credentials0% | 0% | 0% | 0% | 100%
lambda/list_sessions0% | 0% | 0% | 0% | 100%
lambda/get_session_data0% | 0% | 0% | 0% | 100%
lambda/get_transcription_translation0% | 0% | 0% | 0% | 100%
lambda/create_health_care_professional0% | 0% | 0% | 0% | 100%
lambda/create_patient0% | 0% | 0% | 0% | 100%
lambda/list_patients0% | 0% | 0% | 0% | 100%
lambda/list_health_care_professionals0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
src/libs0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
bootstrap.min.css
in app/src
8231 -
home.js
in app/src
934 13
medical-transcription-analysis-stack.ts
in app/lib
421 2
preHome.js
in app/src
359 4
_typography.scss
in app/src/styles/shared
234 -
AnalysisPane.js
in app/src/components
227 3
export.js
in app/src
223 2
helper.py
in app/lambda
209 28
ExportPane.js
in app/src/components
203 2
preHome.module.css
in app/src
190 -
ExportPane.module.css
in app/src/components
160 -
Button.scss
in app/src/components/Button
149 -
supportedTranslationLanguages.js
in app/src/components/SupportedLanguagesMenu
146 -
testAthena.py
in app/lambda
142 10
index.css
in app/src
139 -
FormInput.scss
in app/src/components/FormInput
127 -
Login.js
in app/src
126 1
TranscriptPane.module.css
in app/src/components
115 -
TranscriptLine.js
in app/src/components
113 3
MicrophoneIcon.module.css
in app/src/components
107 -
home.module.css
in app/src
106 -
datastore.py
in app/lambda
101 7
lambda_function.py
in app/lambda/custom_resource_athena
101 15
_grids.scss
in app/src/styles/shared
94 -
serviceWorker.js
in app/src
91 4
Header.module.css
in app/src/components
90 -
Dropzone.js
in app/src/components
88 4
sigv4.js
in app/src/utils
87 12
soapSummary.js
in app/src/utils
82 5
Header.js
in app/src/components
77 1
AnalysisPane.module.css
in app/src/components
69 -
streamAudioToWebsocket.js
in app/src/audio-utils
68 7
useComprehension.js
in app/src
67 1
_colors.scss
in app/src/styles/shared
67 -
App.css
in app/src
66 -
SampleSelector.module.css
in app/src/components
64 -
FormInput.js
in app/src/components/FormInput
59 1
_utils.scss
in app/src/styles/shared
57 -
DebugMenu.js
in app/src/components
54 2
MicrophoneIcon.js
in app/src/components
53 2
lambda_function.py
in app/lambda/create_session
53 5
SampleSelector.js
in app/src/components
52 1
Toggle.module.css
in app/src/components
51 -
Loading.js
in app/src/components/Loading
51 1
Button.js
in app/src/components/Button
51 -
SOAPReviewPane.module.css
in app/src/components
44 -
TranscriptPane.js
in app/src/components
44 -
InProgressTranscriptLine.module.css
in app/src/components
44 -
models.py
in app/lambda
44 9
index.js
in app/src
42 -
Files With Most Units (Top 20)
File# lines# units
helper.py
in app/lambda
209 28
lambda_function.py
in app/lambda/custom_resource_athena
101 15
home.js
in app/src
934 13
sigv4.js
in app/src/utils
87 12
testAthena.py
in app/lambda
142 10
models.py
in app/lambda
44 9
streamAudioToWebsocket.js
in app/src/audio-utils
68 7
datastore.py
in app/lambda
101 7
soapSummary.js
in app/src/utils
82 5
lambda_function.py
in app/lambda/create_session
53 5
serviceWorker.js
in app/src
91 4
Dropzone.js
in app/src/components
88 4
preHome.js
in app/src
359 4
AnalysisPane.js
in app/src/components
227 3
TranscriptLine.js
in app/src/components
113 3
utility.py
in app/lambda
20 3
lambda_function.py
in app/lambda/create_patient
27 3
lambda_function.py
in app/lambda/list_patients
20 3
lambda_function.py
in app/lambda/create_health_care_professional
28 3
lambda_function.py
in app/lambda/get_session_data
32 3
Files With Long Lines (Top 20)

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

File# lines# units# long lines
testAthena.py
in app/lambda
142 10 14
lambda_function.py
in app/lambda/create_session
53 5 12
bootstrap.min.css
in app/src
8231 - 8
lambda_function.py
in app/lambda/get_transcription_translation
31 2 7
lambda_function.py
in app/lambda/custom_resource_athena
101 15 6
home.js
in app/src
934 13 5
preHome.js
in app/src
359 4 4
datastore.py
in app/lambda
101 7 3
lambda_function.py
in app/lambda/list_sessions
33 3 3
models.py
in app/lambda
44 9 3
ExportPane.js
in app/src/components
203 2 2
lambda_function.py
in app/lambda/create_health_care_professional
28 3 2
lambda_function.py
in app/lambda/get_session_data
32 3 2
InProgressTranscriptLine.js
in app/src/components
39 2 1
DeleteIcon.js
in app/src/components/DeleteIcon
9 - 1
FormInput.js
in app/src/components/FormInput
59 1 1
index.html
in app/public
18 - 1
lambda_function.py
in app/lambda/create_patient
27 3 1
lambda_function.py
in app/lambda/list_patients
20 3 1
lambda_function.py
in app/lambda/list_health_care_professionals
20 3 1