aws / porting-assistant-dotnet-ui
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 191 files with 13,772 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 19 medium size files (5,497 lines of codeclsfd_ftr_w_mp_ins)
    • 27 small files (3,749 lines of code)
    • 145 very small files (4,526 lines of code)
0% | 0% | 39% | 27% | 32%
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
ts0% | 0% | 47% | 18% | 34%
tsx0% | 0% | 41% | 33% | 24%
cs0% | 0% | 15% | 43% | 41%
scss0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
packages/react/src/components0% | 0% | 42% | 32% | 24%
packages/react/src/store0% | 0% | 64% | 0% | 35%
packages/electron/src0% | 0% | 70% | 16% | 13%
packages/react/src0% | 0% | 44% | 34% | 21%
packages/integration-test/src0% | 0% | 65% | 0% | 34%
packages/electron/build-scripts0% | 0% | 89% | 0% | 10%
packages/csharp/PortingAssistant/PortingAssistant.Telemetry0% | 0% | 56% | 0% | 43%
packages/csharp/PortingAssistant/PortingAssistant.Common0% | 0% | 0% | 61% | 38%
packages/electron/src/telemetry0% | 0% | 0% | 96% | 3%
packages/react/src/containers0% | 0% | 0% | 26% | 73%
packages/csharp/PortingAssistant/PortingAssistant.Api0% | 0% | 0% | 50% | 49%
packages/react/src/models0% | 0% | 0% | 53% | 46%
packages/csharp/PortingAssistant/PortingAssistant.VisualStudio0% | 0% | 0% | 76% | 23%
packages/react/src/utils0% | 0% | 0% | 0% | 100%
packages/electron/src/models0% | 0% | 0% | 0% | 100%
packages/react/src/constants0% | 0% | 0% | 0% | 100%
packages/react/public0% | 0% | 0% | 0% | 100%
packages/react0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
tableSelectors.ts
in packages/react/src/store/selectors
496 8
NugetPackageUpgrades.tsx
in packages/react/src/components/PortShared
392 -
DashboardTable.tsx
in packages/react/src/components/Dashboard
363 2
backendSaga.ts
in packages/react/src/store/sagas
361 23
PackageRuleContribution.tsx
in packages/react/src/components/CustomerContribution
336 3
mockData.ts
in packages/react/src
315 -
ProjectsTable.tsx
in packages/react/src/components/AssessSolution
307 -
testRunner.ts
in packages/integration-test/src
302 1
ProfileSelection.tsx
in packages/react/src/components/Setup
298 1
NugetPackageTable.tsx
in packages/react/src/components/AssessShared
287 -
electron-backend.ts
in packages/electron/src
272 -
publish.ts
in packages/electron/build-scripts
270 -
LogUploadUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Telemetry/Utils
237 3
AssessSolutionDashboard.tsx
in packages/react/src/components/AssessSolution
227 1
ApiTable.tsx
in packages/react/src/components/AssessShared
211 -
preload-localStore.ts
in packages/electron/src
210 2
electron.ts
in packages/electron/src
207 8
SolutionSummary.tsx
in packages/react/src/components/AssessSolution
204 2
solutionSelectors.ts
in packages/react/src/store/selectors
202 -
MainContent.tsx
in packages/react/src/components
199 1
electron-telemetry.ts
in packages/electron/src/telemetry
194 -
FileTable.tsx
in packages/react/src/components/AssessShared
192 -
SettingsDashboard.tsx
in packages/react/src/components/Settings
185 -
Application.cs
in packages/csharp/PortingAssistant/PortingAssistant.Api
166 4
ProjectReferences.tsx
in packages/react/src/components/AssessShared
161 -
preload.ts
in packages/electron/src
161 -
electron-metrics.ts
in packages/electron/src/telemetry
160 1
CustomerFeedbackModal.tsx
in packages/react/src/components/CustomerContribution
157 1
AssesmentService.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Services
155 4
handlePortProjectSubmission.ts
in packages/react/src/components/PortShared
150 5
AddSolutionForm.tsx
in packages/react/src/components/AddSolution
147 3
AssessProjectDashboard.tsx
in packages/react/src/components/AssessProject
131 -
App.tsx
in packages/react/src
130 1
LocationSection.tsx
in packages/react/src/components/PortConfigurationModal
121 -
TelemetryCollectionUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Utils
117 8
CustomerContributionUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Utils
117 4
project.ts
in packages/react/src/models
116 -
ProjectSummary.tsx
in packages/react/src/components/AssessProject
116 -
createReduxStore.ts
in packages/react/src
116 -
Dashboard.tsx
in packages/react/src/containers
114 -
SourceCodeDisplay.tsx
in packages/react/src/components/HighlighterShared
111 -
ProfileSelectionModal.tsx
in packages/react/src/components/Setup
110 -
useSolutionFlashbarMessage.ts
in packages/react/src/components/Dashboard
108 6
PortSolutionDashboard.tsx
in packages/react/src/components/PortSolution
106 -
VisualStudioFinder.cs
in packages/csharp/PortingAssistant/PortingAssistant.VisualStudio
106 5
PortProject.tsx
in packages/react/src/containers
103 -
Program.cs
in packages/csharp/PortingAssistant/PortingAssistant.Api
97 2
PortProjectDashboard.tsx
in packages/react/src/components/PortProject
95 -
CodeTheme.scss
in packages/react/src/components/HighlighterShared
93 -
bootstrapElectron.ts
in packages/react/src
89 -
Files With Most Units (Top 20)
File# lines# units
backendSaga.ts
in packages/react/src/store/sagas
361 23
tableSelectors.ts
in packages/react/src/store/selectors
496 8
electron.ts
in packages/electron/src
207 8
TelemetryCollectionUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Utils
117 8
useSolutionFlashbarMessage.ts
in packages/react/src/components/Dashboard
108 6
handlePortProjectSubmission.ts
in packages/react/src/components/PortShared
150 5
VisualStudioFinder.cs
in packages/csharp/PortingAssistant/PortingAssistant.VisualStudio
106 5
PortingAssistantJsonSerializer.cs
in packages/csharp/PortingAssistant/PortingAssistant.Api
67 5
CustomerContributionUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Utils
117 4
AssesmentService.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Services
155 4
Application.cs
in packages/csharp/PortingAssistant/PortingAssistant.Api
166 4
constants.ts
in packages/integration-test/src
72 4
PackageRuleContribution.tsx
in packages/react/src/components/CustomerContribution
336 3
AddSolutionForm.tsx
in packages/react/src/components/AddSolution
147 3
LocalProvider.ts
in packages/electron/src
48 3
setup.ts
in packages/electron/src
38 3
LogUploadUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Telemetry/Utils
237 3
PortingAssistantSink.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Model
34 3
error.ts
in packages/react/src/store/reducers
61 2
useNugetFlashbarMessages.ts
in packages/react/src/components/AssessShared
65 2
Files With Long Lines (Top 20)

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

File# lines# units# long lines
TelemetryCollectionUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Utils
117 8 13
LogUploadUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Telemetry/Utils
237 3 11
Program.cs
in packages/csharp/PortingAssistant/PortingAssistant.Api
97 2 11
AssesmentService.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Services
155 4 10
Program.cs
in packages/csharp/PortingAssistant/PortingAssistant.Telemetry
60 1 5
CustomerContributionUtils.cs
in packages/csharp/PortingAssistant/PortingAssistant.Common/Utils
117 4 4
tableSelectors.ts
in packages/react/src/store/selectors
496 8 3
CustomerFeedbackModal.tsx
in packages/react/src/components/CustomerContribution
157 1 3
ProfileSelection.tsx
in packages/react/src/components/Setup
298 1 3
Application.cs
in packages/csharp/PortingAssistant/PortingAssistant.Api
166 4 3
LocationSection.tsx
in packages/react/src/components/PortConfigurationModal
121 - 2
useNugetFlashbarMessages.ts
in packages/react/src/components/AssessShared
65 2 2
SettingsDashboard.tsx
in packages/react/src/components/Settings
185 - 2
useSolutionFlashbarMessage.ts
in packages/react/src/components/Dashboard
108 6 2
LocalProvider.ts
in packages/electron/src
48 3 2
EditSettings.tsx
in packages/react/src/containers
58 - 1
portingSaga.ts
in packages/react/src/store/sagas
38 - 1
externalUrls.ts
in packages/react/src/constants
14 - 1
isPortingCompleted.ts
in packages/react/src/utils
24 - 1
getCompatibleApi.ts
in packages/react/src/utils
85 - 1