facebookresearch / aepsych
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 111 files with 36,603 lines of code.
    • 4 very long files (25,025 lines of code)
    • 3 long files (2,047 lines of code)
    • 12 medium size files (3,247 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (3,326 lines of code)
    • 68 very small files (2,958 lines of code)
68% | 5% | 8% | 9% | 8%
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
XML100% | 0% | 0% | 0% | 0%
unity100% | 0% | 0% | 0% | 0%
asset0% | 47% | 31% | 0% | 20%
py0% | 16% | 24% | 38% | 20%
prefab0% | 0% | 61% | 0% | 38%
shader0% | 0% | 28% | 66% | 5%
cs0% | 0% | 23% | 9% | 67%
mat0% | 0% | 0% | 100% | 0%
m0% | 0% | 0% | 100% | 0%
cginc0% | 0% | 0% | 0% | 100%
pyi0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
clients/unity78% | 4% | 6% | 4% | 6%
aepsych0% | 49% | 15% | 28% | 6%
pubs/owenetal0% | 0% | 77% | 22% | 0%
aepsych/models0% | 0% | 37% | 51% | 11%
aepsych/database0% | 0% | 0% | 99% | <1%
aepsych/benchmark0% | 0% | 0% | 63% | 36%
aepsych/factory0% | 0% | 0% | 91% | 8%
aepsych/generators0% | 0% | 0% | 28% | 71%
clients/matlab0% | 0% | 0% | 100% | 0%
aepsych/acquisition0% | 0% | 0% | 0% | 100%
aepsych/kernels0% | 0% | 0% | 0% | 100%
aepsych/means0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Newtonsoft.Json.XML
in clients/unity/Assets/JsonDotNet/Assemblies/Standalone
8034 -
Newtonsoft.Json.XML
in clients/unity/Assets/JsonDotNet/Assemblies/AOT
8009 -
Newtonsoft.Json.XML
in clients/unity/Assets/JsonDotNet/Assemblies/Windows
7971 -
unity
Examples.unity
in clients/unity/Assets/Scenes
1011 -
server.py
in aepsych
757 57
asset
ProjectSettings.asset
in clients/unity/ProjectSettings
652 -
asset
EmojiOne.asset
in clients/unity/Assets/TextMesh Pro/Resources/Sprite Assets
638 -
stratplots.py
in pubs/owenetal/code
396 4
asset
LiberationSans SDF - Fallback.asset
in clients/unity/Assets/TextMesh Pro/Resources/Fonts & Materials
337 -
asset
InputManager.asset
in clients/unity/ProjectSettings
295 -
benchmark_threshold.py
in pubs/owenetal/code
274 3
AEPsychClient.cs
in clients/unity/Assets/Scripts
269 26
prefab
square.prefab
in clients/unity/Assets/Prefabs
257 -
shader
TMP_SDF Overlay.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
246 -
shader
TMP_SDF.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
246 -
prefab
square_outline.prefab
in clients/unity/Assets/Prefabs
239 -
asset
QualitySettings.asset
in clients/unity/ProjectSettings
232 -
plotting.py
in aepsych
231 3
monotonic_rejection_gp.py
in aepsych/models
225 11
shader
TMP_SDF-Mobile Masking.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
197 -
prior_plots.py
in pubs/owenetal/code
197 2
shader
TMP_SDF-Mobile Overlay.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
190 -
shader
TMP_SDF-Mobile.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
190 -
strategy.py
in aepsych
173 21
base.py
in aepsych/models
173 16
db.py
in aepsych/database
147 18
factory.py
in aepsych/factory
145 6
tables.py
in aepsych/database
139 12
gp_classification.py
in aepsych/models
139 8
config.py
in aepsych
135 10
monotonic_rejection_generator.py
in aepsych/generators
132 6
shader
TMP_SDF-Surface.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
125 -
benchmark.py
in aepsych/benchmark
124 9
problem.py
in aepsych/benchmark
122 9
utils.py
in aepsych
119 9
AEPsychClient.m
in clients/matlab
115 1
shader
TMP_Bitmap-Mobile.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
114 -
shader
TMP_Bitmap.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
110 -
shader
TMP_SDF-Surface-Mobile.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
110 -
shader
TMP_Bitmap-Custom-Atlas.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
110 -
StratSwitch_2DSingleDetection.cs
in clients/unity/Assets/Scripts
110 6
mat
LiberationSans SDF - Drop Shadow.mat
in clients/unity/Assets/TextMesh Pro/Resources/Fonts & Materials
106 -
mat
LiberationSans SDF - Outline.mat
in clients/unity/Assets/TextMesh Pro/Resources/Fonts & Materials
104 -
prefab
white_circle.prefab
in clients/unity/Assets/Prefabs
100 -
optimize_acqf_generator.py
in aepsych/generators
95 4
cginc
TMPro_Surface.cginc
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
93 -
shader
TMP_Sprite.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
92 -
pathos_benchmark.py
in aepsych/benchmark
92 9
asset
NavMeshAreas.asset
in clients/unity/ProjectSettings
91 -
prefab
indigo_sprite.prefab
in clients/unity/Assets/Prefabs
81 -
Files With Most Units (Top 20)
File# lines# units
server.py
in aepsych
757 57
AEPsychClient.cs
in clients/unity/Assets/Scripts
269 26
strategy.py
in aepsych
173 21
db.py
in aepsych/database
147 18
base.py
in aepsych/models
173 16
tables.py
in aepsych/database
139 12
monotonic_rejection_gp.py
in aepsych/models
225 11
config.py
in aepsych
135 10
benchmark.py
in aepsych/benchmark
124 9
pathos_benchmark.py
in aepsych/benchmark
92 9
problem.py
in aepsych/benchmark
122 9
utils.py
in aepsych
119 9
gp_classification.py
in aepsych/models
139 8
Ex1DSingleOpt.cs
in clients/unity/Assets/Scripts
81 6
Ex1DSingleDetection.cs
in clients/unity/Assets/Scripts
78 6
Ex3DSingleOpt.cs
in clients/unity/Assets/Scripts
81 6
StratSwitch_2DSingleDetection.cs
in clients/unity/Assets/Scripts
110 6
Ex2DSingleOpt.cs
in clients/unity/Assets/Scripts
81 6
monotonic_rejection.py
in aepsych/acquisition
80 6
monotonic_rejection_generator.py
in aepsych/generators
132 6
Files With Long Lines (Top 20)

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

File# lines# units# long lines
Newtonsoft.Json.XML
in clients/unity/Assets/JsonDotNet/Assemblies/Standalone
8034 - 652
Newtonsoft.Json.XML
in clients/unity/Assets/JsonDotNet/Assemblies/AOT
8009 - 652
Newtonsoft.Json.XML
in clients/unity/Assets/JsonDotNet/Assemblies/Windows
7971 - 638
asset
Default Style Sheet.asset
in clients/unity/Assets/TextMesh Pro/Resources/Style Sheets
68 - 16
shader
TMP_SDF Overlay.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
246 - 7
shader
TMP_SDF.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
246 - 7
shader
TMP_SDF-Mobile Overlay.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
190 - 4
shader
TMP_SDF-Mobile Masking.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
197 - 4
cginc
TMPro_Surface.cginc
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
93 - 4
shader
TMP_SDF-Mobile.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
190 - 4
AEPsychClient.cs
in clients/unity/Assets/Scripts
269 26 3
server.py
in aepsych
757 57 2
asset
Physics2DSettings.asset
in clients/unity/ProjectSettings
56 - 1
asset
DynamicsManager.asset
in clients/unity/ProjectSettings
34 - 1
shader
TMP_Bitmap-Mobile.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
114 - 1
shader
TMP_Bitmap.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
110 - 1
shader
TMP_Bitmap-Custom-Atlas.shader
in clients/unity/Assets/TextMesh Pro/Resources/Shaders
110 - 1
StratSwitch_2DSingleDetection.cs
in clients/unity/Assets/Scripts
110 6 1
config.py
in aepsych
135 10 1
stratplots.py
in pubs/owenetal/code
396 4 1