aws-samples / aws-step-functions-plagiarism-demo-dotnetcore
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 5,388 lines of code.
    • 1 very long files (3,951 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (360 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (388 lines of code)
    • 20 very small files (689 lines of code)
73% | 0% | 6% | 7% | 12%
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
js99% | 0% | 0% | 0% | <1%
yaml0% | 0% | 100% | 0% | 0%
vue0% | 0% | 0% | 77% | 22%
html0% | 0% | 0% | 80% | 19%
cs0% | 0% | 0% | 0% | 100%
scss0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/frontend/admin97% | 0% | 0% | 2% | 0%
src/backend0% | 0% | 100% | 0% | 0%
src/frontend/testcentre0% | 0% | 0% | 59% | 40%
src/backend/Plagiarism0% | 0% | 0% | 0% | 100%
src/backend/SendNotificationTask0% | 0% | 0% | 0% | 100%
src/backend/SubmitExamTask0% | 0% | 0% | 0% | 100%
src/backend/PlagiarismRepository0% | 0% | 0% | 0% | 100%
src/backend/ScheduleExamTask0% | 0% | 0% | 0% | 100%
src/backend/ResolveIncidentTask0% | 0% | 0% | 0% | 100%
src/backend/AdminActionTask0% | 0% | 0% | 0% | 100%
src/backend/RegisterIncidentTask0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 25)
File# lines# units
bootstrap.bundle.js
in src/frontend/admin/js
3951 209
template.yaml
in src/backend
360 -
ExamIntegration.vue
in src/frontend/testcentre/src/components
145 -
Exam.vue
in src/frontend/testcentre/src/components
131 -
index.html
in src/frontend/admin
112 -
Function.cs
in src/backend/SendNotificationTask
93 3
Function.cs
in src/backend/SubmitExamTask
81 3
Incident.cs
in src/backend/Plagiarism
65 3
Question.vue
in src/frontend/testcentre/src/components
61 -
IncidentRepository.cs
in src/backend/PlagiarismRepository
60 4
custom.scss
in src/frontend/testcentre/src/assets
56 -
Function.cs
in src/backend/ScheduleExamTask
47 3
Function.cs
in src/backend/ResolveIncidentTask
31 3
Function.cs
in src/backend/AdminActionTask
30 3
Function.cs
in src/backend/RegisterIncidentTask
30 2
index.html
in src/frontend/testcentre/public
27 -
App.vue
in src/frontend/testcentre/src
20 -
amplify.yml
in root
17 -
main.js
in src/frontend/testcentre/src
14 -
ExamNotFoundException.cs
in src/backend/Plagiarism
13 2
StudentExceededAllowableExamRetries.cs
in src/backend/Plagiarism
13 2
IncidentNotFoundException.cs
in src/backend/Plagiarism
13 2
IIncidentRepository.cs
in src/backend/PlagiarismRepository
10 -
babel.config.js
in src/frontend/testcentre
5 -
ExamEventBus.js
in src/frontend/testcentre/src/components
3 -
Files With Most Units (Top 12)
File# lines# units
bootstrap.bundle.js
in src/frontend/admin/js
3951 209
IncidentRepository.cs
in src/backend/PlagiarismRepository
60 4
Incident.cs
in src/backend/Plagiarism
65 3
Function.cs
in src/backend/SendNotificationTask
93 3
Function.cs
in src/backend/ScheduleExamTask
47 3
Function.cs
in src/backend/AdminActionTask
30 3
Function.cs
in src/backend/SubmitExamTask
81 3
Function.cs
in src/backend/ResolveIncidentTask
31 3
ExamNotFoundException.cs
in src/backend/Plagiarism
13 2
StudentExceededAllowableExamRetries.cs
in src/backend/Plagiarism
13 2
IncidentNotFoundException.cs
in src/backend/Plagiarism
13 2
Function.cs
in src/backend/RegisterIncidentTask
30 2
Files With Long Lines (Top 7)

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

File# lines# units# long lines
bootstrap.bundle.js
in src/frontend/admin/js
3951 209 51
index.html
in src/frontend/admin
112 - 10
template.yaml
in src/backend
360 - 8
Function.cs
in src/backend/SendNotificationTask
93 3 5
ExamIntegration.vue
in src/frontend/testcentre/src/components
145 - 4
index.html
in src/frontend/testcentre/public
27 - 2
Incident.cs
in src/backend/Plagiarism
65 3 1