microsoft / moodle-block_microsoft
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 16 files with 1,103 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (422 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (120 lines of code)
    • 14 very small files (561 lines of code)
0% | 0% | 38% | 10% | 50%
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
php0% | 0% | 46% | 13% | 40%
scss0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 51% | 0% | 48%
lang/en0% | 0% | 0% | 100% | 0%
sass0% | 0% | 0% | 0% | 100%
db0% | 0% | 0% | 0% | 100%
classes/privacy0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
block_microsoft.php
in root
422 12
block_microsoft.php
in lang/en
120 -
styles.scss
in sass
94 -
styles.css
in root
91 -
configure_reset.php
in root
68 -
forms.php
in root
63 3
lib.php
in root
54 4
settings.php
in root
51 -
configure_sync.php
in root
40 -
access.php
in db
39 -
update.php
in root
18 -
caches.php
in db
10 -
upgrade.php
in db
10 1
version.php
in root
10 -
provider.php
in classes/privacy
8 1
microsoft.js
in js
5 1
Files With Most Units (Top 6)
File# lines# units
block_microsoft.php
in root
422 12
lib.php
in root
54 4
forms.php
in root
63 3
provider.php
in classes/privacy
8 1
upgrade.php
in db
10 1
microsoft.js
in js
5 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 40 long lines.

File# lines# units# long lines
block_microsoft.php
in lang/en
120 - 23
block_microsoft.php
in root
422 12 13
forms.php
in root
63 3 2
settings.php
in root
51 - 1
styles.css
in root
91 - 1