opensearch-project / opensearch-dashboards-test-library
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 10 files with 368 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (135 lines of code)
    • 9 very small files (233 lines of code)
0% | 0% | 0% | 36% | 63%
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
js0% | 0% | 0% | 37% | 62%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
common-utils/common-UI0% | 0% | 0% | 100% | 0%
common-utils/network0% | 0% | 0% | 0% | 100%
page-object-model/dashboard-page0% | 0% | 0% | 0% | 100%
common-utils0% | 0% | 0% | 0% | 100%
page-object-model/home-page0% | 0% | 0% | 0% | 100%
page-object-model/login-page0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
ISSUE_TEMPLATE0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
common-UI.js
in common-utils/common-UI
135 17
test-fixture-handler.js
in common-utils/network
65 4
dashboard-page.js
in page-object-model/dashboard-page
62 5
misc-utils.js
in common-utils
48 9
home-page.js
in page-object-model/home-page
21 5
login-page.js
in page-object-model/login-page
15 4
index.js
in root
7 -
config.yml
in ISSUE_TEMPLATE
7 -
login-page-elements.js
in page-object-model/login-page
5 -
page-elements.js
in page-object-model/home-page
3 -
Files With Most Units (Top 6)
File# lines# units
common-UI.js
in common-utils/common-UI
135 17
misc-utils.js
in common-utils
48 9
home-page.js
in page-object-model/home-page
21 5
dashboard-page.js
in page-object-model/dashboard-page
62 5
test-fixture-handler.js
in common-utils/network
65 4
login-page.js
in page-object-model/login-page
15 4
Files With Long Lines (Top 4)

There are 4 files with lines longer than 120 characters. In total, there are 15 long lines.

File# lines# units# long lines
common-UI.js
in common-utils/common-UI
135 17 6
misc-utils.js
in common-utils
48 9 3
test-fixture-handler.js
in common-utils/network
65 4 3
dashboard-page.js
in page-object-model/dashboard-page
62 5 3