microsoft / o365-moodle
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 382 files with 37,476 lines of code.
    • 4 very long files (5,493 lines of code)
    • 10 long files (7,388 lines of code)
    • 26 medium size files (8,239 lines of codeclsfd_ftr_w_mp_ins)
    • 53 small files (7,341 lines of code)
    • 289 very small files (9,015 lines of code)
14% | 19% | 21% | 19% | 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
php16% | 17% | 22% | 19% | 23%
js0% | 46% | 13% | 20% | 19%
css0% | 55% | 25% | 0% | 19%
scss0% | 0% | 0% | 50% | 50%
mustache0% | 0% | 0% | 36% | 63%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
local/o365/classes30% | 11% | 25% | 13% | 18%
filter/oembed/amd0% | 74% | 0% | 15% | 9%
repository/office3650% | 98% | 0% | 0% | 1%
local/onenote/classes0% | 78% | 0% | 11% | 10%
local/o365/lang0% | 34% | 0% | 65% | 0%
theme/boost_o365teams/style0% | 100% | 0% | 0% | 0%
local/o365/db0% | 58% | 20% | 0% | 21%
local/o3650% | 31% | 33% | 20% | 14%
auth/oidc/classes0% | 0% | 44% | 23% | 32%
blocks/microsoft0% | 0% | 51% | 0% | 48%
filter/oembed/classes0% | 0% | 43% | 12% | 44%
mod/assign/submission0% | 0% | 35% | 0% | 64%
auth/oidc0% | 0% | 37% | 41% | 21%
auth/oidc/db0% | 0% | 82% | 0% | 17%
auth/oidc/lang0% | 0% | 16% | 83% | 0%
mod/assign/feedback0% | 0% | 27% | 0% | 72%
theme/boost_o365teams0% | 0% | 0% | 84% | 15%
local/o365/sass0% | 0% | 0% | 100% | 0%
theme/boost_o365teams/templates0% | 0% | 0% | 65% | 34%
blocks/microsoft/lang0% | 0% | 0% | 100% | 0%
filter/oembed0% | 0% | 0% | 0% | 100%
filter/oembed/provider0% | 0% | 0% | 0% | 100%
repository/office365/lang0% | 0% | 0% | 0% | 100%
filter/oembed/lang0% | 0% | 0% | 0% | 100%
filter/oembed/templates0% | 0% | 0% | 0% | 100%
filter/oembed/db0% | 0% | 0% | 0% | 100%
local/onenote/lang0% | 0% | 0% | 0% | 100%
blocks/microsoft/sass0% | 0% | 0% | 0% | 100%
filter/oembed/sass0% | 0% | 0% | 0% | 100%
theme/boost_o365teams/classes0% | 0% | 0% | 0% | 100%
theme/boost_o365teams/amd0% | 0% | 0% | 0% | 100%
blocks/microsoft/db0% | 0% | 0% | 0% | 100%
local/onenote/db0% | 0% | 0% | 0% | 100%
local/onenote0% | 0% | 0% | 0% | 100%
theme/boost_o365teams/layout0% | 0% | 0% | 0% | 100%
local/office365/lang0% | 0% | 0% | 0% | 100%
repository/office365/db0% | 0% | 0% | 0% | 100%
theme/boost_o365teams/lang0% | 0% | 0% | 0% | 100%
local/office3650% | 0% | 0% | 0% | 100%
auth/oidc/sass0% | 0% | 0% | 0% | 100%
local/office365/classes0% | 0% | 0% | 0% | 100%
blocks/microsoft/classes0% | 0% | 0% | 0% | 100%
repository/office365/classes0% | 0% | 0% | 0% | 100%
blocks/microsoft/js0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
acp.php
in local/o365/classes/page
1647 36
unified.php
in local/o365/classes/rest
1615 105
main.php
in local/o365/classes/feature/usersync
1132 31
coursegroups.php
in local/o365/classes/feature/usergroups
1099 23
list.js
in filter/oembed/amd/src
954 83
lib.php
in repository/office365
940 24
base.php
in local/onenote/classes/api
851 25
local_o365.php
in local/o365/lang/en
831 1
observers.php
in local/o365/classes
723 22
utils.php
in local/o365/classes/feature/usergroups
711 29
custom.css
in theme/boost_o365teams/style
667 -
sharepoint.php
in local/o365/classes/rest
595 48
upgrade.php
in local/o365/db
585 1
settings.php
in local/o365
531 -
ucp.php
in local/o365/classes/page
443 14
block_microsoft.php
in blocks/microsoft
422 12
sync.php
in local/o365/classes/feature/sds/task
420 6
ajax.php
in local/o365/classes/page
417 14
oembed.php
in filter/oembed/classes/service
412 27
base.php
in auth/oidc/classes/loginflow
397 13
main.php
in local/o365/classes/feature/calsync
373 17
azuread.php
in local/o365/classes/rest
368 21
authcode.php
in auth/oidc/classes/loginflow
356 10
groupcp.php
in local/o365/classes/page
336 6
locallib.php
in mod/assign/submission/onenote
333 20
syncoldevents.php
in local/o365/classes/feature/calsync/task
328 5
styles.css
in local/o365
310 -
observers.php
in local/o365/classes/feature/usergroups
305 9
read_assignments.php
in local/o365/classes/webservices
299 6
o365api.php
in local/o365/classes/rest
292 12
lib.php
in auth/oidc
289 10
token.php
in local/o365/classes/oauth2
276 16
azuresetup.js
in local/o365/classes/adminsetting
271 18
lib.php
in local/o365
263 11
utils.php
in local/o365/classes
260 18
subscriptions.php
in local/o365/classes/feature/calsync/form
235 2
upgrade.php
in auth/oidc/db
213 1
auth_oidc.php
in auth/oidc/lang/en
211 -
locallib.php
in mod/assign/feedback/onenote
208 16
events.php
in local/o365/db
202 -
manageproviders.js
in filter/oembed/amd/src
200 24
sharepointinit.php
in local/o365/classes/task
199 4
local_o365.php
in local/o365/lang/es
196 -
local_o365.php
in local/o365/lang/pt_br
196 -
teams_tab_configuration.php
in local/o365
196 10
styles.scss
in local/o365/sass
193 -
table.php
in local/o365/classes/feature/userconnections
191 10
provider.php
in local/o365/classes/privacy
189 10
utils.php
in local/o365/classes/feature/sharepointcustom
179 4
processmatchqueue.php
in local/o365/classes/task
176 3
Files With Most Units (Top 20)
File# lines# units
unified.php
in local/o365/classes/rest
1615 105
list.js
in filter/oembed/amd/src
954 83
sharepoint.php
in local/o365/classes/rest
595 48
acp.php
in local/o365/classes/page
1647 36
main.php
in local/o365/classes/feature/usersync
1132 31
utils.php
in local/o365/classes/feature/usergroups
711 29
oembed.php
in filter/oembed/classes/service
412 27
base.php
in local/onenote/classes/api
851 25
manageproviders.js
in filter/oembed/amd/src
200 24
lib.php
in repository/office365
940 24
coursegroups.php
in local/o365/classes/feature/usergroups
1099 23
observers.php
in local/o365/classes
723 22
azuread.php
in local/o365/classes/rest
368 21
locallib.php
in mod/assign/submission/onenote
333 20
azuresetup.js
in local/o365/classes/adminsetting
271 18
utils.php
in local/o365/classes
260 18
main.php
in local/o365/classes/feature/calsync
373 17
token.php
in local/o365/classes/oauth2
276 16
locallib.php
in mod/assign/feedback/onenote
208 16
auth.php
in auth/oidc
160 14
Files With Long Lines (Top 20)

There are 169 files with lines longer than 120 characters. In total, there are 1465 long lines.

File# lines# units# long lines
local_o365.php
in local/o365/lang/en
831 1 211
acp.php
in local/o365/classes/page
1647 36 51
local_o365.php
in local/o365/lang/es
196 - 45
local_o365.php
in local/o365/lang/fr
150 - 43
local_o365.php
in local/o365/lang/pl
150 - 41
local_o365.php
in local/o365/lang/pt_br
196 - 41
local_o365.php
in local/o365/lang/de
150 - 40
local_o365.php
in local/o365/lang/it
150 - 38
local_o365.php
in local/o365/lang/nl
150 - 38
auth_oidc.php
in auth/oidc/lang/en
211 - 34
local_o365.php
in local/o365/lang/cs
150 - 33
local_o365.php
in local/o365/lang/fi
150 - 33
coursegroups.php
in local/o365/classes/feature/usergroups
1099 23 29
auth_oidc.php
in auth/oidc/lang/fr
130 - 27
block_microsoft.php
in blocks/microsoft/lang/en
120 - 23
auth_oidc.php
in auth/oidc/lang/de
102 - 22
auth_oidc.php
in auth/oidc/lang/pl
102 - 20
auth_oidc.php
in auth/oidc/lang/pt_br
102 - 20
base.php
in local/onenote/classes/api
851 25 20
auth_oidc.php
in auth/oidc/lang/cs
102 - 19