microsoft / moodle-local_onenote
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 20 files with 1,304 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (851 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (126 lines of code)
    • 18 very small files (327 lines of code)
0% | 65% | 0% | 9% | 25%
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% | 66% | 0% | 9% | 24%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
classes/api0% | 90% | 0% | 0% | 9%
classes/privacy0% | 0% | 0% | 100% | 0%
db0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
lang/en0% | 0% | 0% | 0% | 100%
classes0% | 0% | 0% | 0% | 100%
lang/cs0% | 0% | 0% | 0% | 100%
lang/de0% | 0% | 0% | 0% | 100%
lang/es0% | 0% | 0% | 0% | 100%
lang/fi0% | 0% | 0% | 0% | 100%
lang/fr0% | 0% | 0% | 0% | 100%
lang/it0% | 0% | 0% | 0% | 100%
lang/ja0% | 0% | 0% | 0% | 100%
lang/nl0% | 0% | 0% | 0% | 100%
lang/pl0% | 0% | 0% | 0% | 100%
lang/pt_br0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
base.php
in classes/api
851 25
provider.php
in classes/privacy
126 10
upgrade.php
in db
55 1
o365.php
in classes/api
49 7
msaccount.php
in classes/api
42 9
local_onenote.php
in lang/en
28 -
onenote_actions.php
in root
23 -
utils.php
in classes
22 2
styles.css
in root
18 -
version.php
in root
10 -
local_onenote.php
in lang/cs
8 -
local_onenote.php
in lang/de
8 -
local_onenote.php
in lang/es
8 -
local_onenote.php
in lang/fi
8 -
local_onenote.php
in lang/fr
8 -
local_onenote.php
in lang/it
8 -
local_onenote.php
in lang/ja
8 -
local_onenote.php
in lang/nl
8 -
local_onenote.php
in lang/pl
8 -
local_onenote.php
in lang/pt_br
8 -
Files With Most Units (Top 6)
File# lines# units
base.php
in classes/api
851 25
provider.php
in classes/privacy
126 10
msaccount.php
in classes/api
42 9
o365.php
in classes/api
49 7
utils.php
in classes
22 2
upgrade.php
in db
55 1
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 41 long lines.

File# lines# units# long lines
base.php
in classes/api
851 25 20
local_onenote.php
in lang/en
28 - 7
local_onenote.php
in lang/de
8 - 3
upgrade.php
in db
55 1 2
local_onenote.php
in lang/pl
8 - 2
local_onenote.php
in lang/cs
8 - 1
local_onenote.php
in lang/es
8 - 1
local_onenote.php
in lang/fi
8 - 1
local_onenote.php
in lang/fr
8 - 1
local_onenote.php
in lang/it
8 - 1
local_onenote.php
in lang/nl
8 - 1
local_onenote.php
in lang/pt_br
8 - 1