microsoft / MCW-Internet-of-Things
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 12 files with 1,155 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (557 lines of code)
    • 1 medium size files (207 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (112 lines of code)
    • 9 very small files (279 lines of code)
0% | 48% | 17% | 9% | 24%
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
cs0% | 49% | 18% | 9% | 22%
dbc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lab-files/starter-project/SmartMeterSimulator0% | 54% | 20% | 10% | 14%
lab-files/starter-project/CloudToDevice0% | 0% | 0% | 0% | 100%
Databricks-notebook0% | 0% | 0% | 0% | 100%
lab-files/starter-project/SmartMeterSimulator/Properties0% | 0% | 0% | 0% | 100%
lab-files/starter-project/DownstreamDevice0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
MainForm.Designer.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
557 2
MainForm.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
207 8
Sensor.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
112 7
Program.cs
in Hands-on lab/lab-files/starter-project/CloudToDevice
90 6
ListViewColumnSorter.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
59 2
DeviceManager.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
40 3
BackgroundQueue.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
22 1
dbc
smartmeters.dbc
in Hands-on lab/Databricks-notebook
19 -
Program.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
15 1
AssemblyInfo.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator/Properties
14 -
Program.cs
in Hands-on lab/lab-files/starter-project/DownstreamDevice
11 1
SmartMeterDevice.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
9 -
Files With Most Units (Top 9)
File# lines# units
MainForm.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
207 8
Sensor.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
112 7
Program.cs
in Hands-on lab/lab-files/starter-project/CloudToDevice
90 6
DeviceManager.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
40 3
ListViewColumnSorter.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
59 2
MainForm.Designer.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
557 2
Program.cs
in Hands-on lab/lab-files/starter-project/DownstreamDevice
11 1
BackgroundQueue.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
22 1
Program.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
15 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
MainForm.Designer.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
557 2 13
dbc
smartmeters.dbc
in Hands-on lab/Databricks-notebook
19 - 6
MainForm.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
207 8 2
DeviceManager.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
40 3 1
ListViewColumnSorter.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
59 2 1
Sensor.cs
in Hands-on lab/lab-files/starter-project/SmartMeterSimulator
112 7 1