microsoft / msticpy
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 264 files with 35,612 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (2,798 lines of code)
    • 59 medium size files (17,256 lines of codeclsfd_ftr_w_mp_ins)
    • 65 small files (9,348 lines of code)
    • 135 very small files (6,210 lines of code)
0% | 7% | 48% | 26% | 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
py0% | 7% | 50% | 26% | 15%
yaml0% | 10% | 33% | 27% | 27%
yml0% | 0% | 91% | 0% | 8%
cfg0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
msticpy/nbtools0% | 22% | 38% | 26% | 12%
msticpy/data0% | 10% | 46% | 24% | 18%
msticpy/sectools0% | 8% | 57% | 20% | 13%
msticpy/common0% | 0% | 70% | 18% | 11%
msticpy/datamodel0% | 0% | 34% | 34% | 30%
msticpy/config0% | 0% | 53% | 38% | 8%
msticpy/analysis0% | 0% | 62% | 13% | 23%
tools/toollib0% | 0% | 61% | 17% | 20%
ROOT0% | 0% | 67% | 0% | 32%
msticpy/vis0% | 0% | 55% | 34% | 9%
tools0% | 0% | 29% | 60% | 10%
msticpy/resources0% | 0% | 0% | 81% | 18%
tools/misc0% | 0% | 0% | 0% | 100%
msticpy0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
timeline.py
in msticpy/nbtools
693 21
azure_data.py
in msticpy/data/azure
545 14
vtlookupv3.py
in msticpy/sectools/vtlookupv3
543 19
kql_mdatp_hunting.yaml
in msticpy/data/queries
509 -
nbinit.py
in msticpy/nbtools
508 23
mordor_driver.py
in msticpy/data/drivers
496 34
geoip.py
in msticpy/sectools
488 24
sql_to_kql.py
in msticpy/data
456 24
base64unpack.py
in msticpy/sectools
449 27
vtlookup.py
in msticpy/sectools
429 16
mp_config_control.py
in msticpy/config
423 34
model.py
in msticpy/analysis/anomalous_sequence
418 15
data_viewer.py
in msticpy/nbtools
392 40
process_tree.py
in msticpy/nbtools
357 17
kql_sent_winevent_proc.yaml
in msticpy/data/queries
347 -
compound_ctrls.py
in msticpy/config
345 24
data_providers.py
in msticpy/data
335 27
pivot_data_queries.py
in msticpy/datamodel
335 19
ti_provider_base.py
in msticpy/sectools/tiproviders
334 32
kql_driver.py
in msticpy/data/drivers
328 24
vtfile_behavior.py
in msticpy/sectools/vtlookupv3
326 20
entity.py
in msticpy/datamodel/entities
325 35
mordor_browser.py
in msticpy/data/browsers
314 19
kql_sent_lxsyslog_logon.yaml
in msticpy/data/queries
312 -
eventcluster.py
in msticpy/analysis
311 16
azure-pipelines.yml
in root
309 -
security_base.py
in msticpy/nbtools
307 32
tilookup.py
in msticpy/sectools
304 20
query_source.py
in msticpy/data
294 21
sumologic_driver.py
in msticpy/data/drivers
293 13
pkg_config.py
in msticpy/common
291 22
entity_graph_tools.py
in msticpy/vis
287 19
cmds_params_values.py
in msticpy/analysis/anomalous_sequence/utils
283 7
utility.py
in msticpy/common
283 24
foliummap.py
in msticpy/nbtools
273 28
data_obfus.py
in msticpy/data
270 14
kql_sent_azure.yaml
in msticpy/data/queries
266 -
iocextract.py
in msticpy/sectools
264 18
pivot_register.py
in msticpy/datamodel
263 11
riskiq.py
in msticpy/sectools/tiproviders
256 13
config2kv.py
in tools
256 10
wsconfig.py
in msticpy/common
252 13
kql_base.py
in msticpy/sectools/tiproviders
250 11
sentinel_incidents.py
in msticpy/data/azure
246 11
auditdextract.py
in msticpy/sectools
246 11
mp_config_file.py
in msticpy/config
241 20
proc_tree_build_mde.py
in msticpy/sectools
240 11
security_alert_graph.py
in msticpy/nbtools
239 14
proc_tree_build_winlx.py
in msticpy/sectools
237 9
exceptions.py
in msticpy/common
231 14
Files With Most Units (Top 20)
File# lines# units
data_viewer.py
in msticpy/nbtools
392 40
entity.py
in msticpy/datamodel/entities
325 35
mp_config_control.py
in msticpy/config
423 34
mordor_driver.py
in msticpy/data/drivers
496 34
security_base.py
in msticpy/nbtools
307 32
ti_provider_base.py
in msticpy/sectools/tiproviders
334 32
foliummap.py
in msticpy/nbtools
273 28
data_providers.py
in msticpy/data
335 27
base64unpack.py
in msticpy/sectools
449 27
utility.py
in msticpy/common
283 24
comp_edit.py
in msticpy/config
226 24
compound_ctrls.py
in msticpy/config
345 24
kql_driver.py
in msticpy/data/drivers
328 24
sql_to_kql.py
in msticpy/data
456 24
geoip.py
in msticpy/sectools
488 24
nbinit.py
in msticpy/nbtools
508 23
pkg_config.py
in msticpy/common
291 22
query_source.py
in msticpy/data
294 21
pivot.py
in msticpy/datamodel
208 21
timeline.py
in msticpy/nbtools
693 21
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 105 long lines.

File# lines# units# long lines
kql_mdatp_hunting.yaml
in msticpy/data/queries
509 - 60
kql_sent_timeseries.yaml
in msticpy/data/queries
118 - 13
kql_sent_lxsyslog_activity.yaml
in msticpy/data/queries
115 - 6
splunk_authentication_queries.yaml
in msticpy/data/queries
69 - 5
azure-pipelines.yml
in root
309 - 4
splunk_queries.yaml
in msticpy/data/queries
90 - 4
splunk_alert_queries.yaml
in msticpy/data/queries
69 - 3
kql_sent_azure.yaml
in msticpy/data/queries
266 - 2
kql_sent_lxsyslog_apps.yaml
in msticpy/data/queries
70 - 2
kql_sent_threatintel.yaml
in msticpy/data/queries
173 - 2
kql_mdatp_process.yaml
in msticpy/data/queries
82 - 1
kql_sent_lxauditd.yaml
in msticpy/data/queries
51 - 1
sumologic_queries.yaml
in msticpy/data/queries
49 - 1
domain_utils.py
in msticpy/sectools
175 12 1