Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Latest commit

 

History

History
251 lines (223 loc) · 7.54 KB

complexity-report.md

File metadata and controls

251 lines (223 loc) · 7.54 KB

Complexity report, 1/31/2023

  • Mean per-function logical LOC: 17.153846153846153
  • Mean per-function parameter count: 0.36538461538461536
  • Mean per-function cyclomatic complexity: 1.5769230769230769
  • Mean per-function Halstead effort: 5043.95238437846
  • Mean per-module maintainability index: 64.54258539120397
  • First-order density: 0.591715976331361%
  • Change cost: 8.284023668639055%
  • Core size: 100%

/home/runner/work/atom-backend/atom-backend/jest.config.js

  • Physical LOC: 23
  • Logical LOC: 12
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 8.333333333333332%
  • Maintainability index: 62.36361563140606
  • Dependency count: 0

/home/runner/work/atom-backend/atom-backend/src/cache.js

  • Physical LOC: 28
  • Logical LOC: 3
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 33.33333333333333%
  • Maintainability index: 78.8444767459975
  • Dependency count: 1

/home/runner/work/atom-backend/atom-backend/src/debug_utils.js

  • Physical LOC: 30
  • Logical LOC: 22
  • Mean parameter count: 1
  • Cyclomatic complexity: 4
  • Cyclomatic complexity density: 18.181818181818183%
  • Maintainability index: 53.71555395708454
  • Dependency count: 0
  • Function: roughSizeOfObject
    • Line No.: 15
    • Physical LOC: 26
    • Logical LOC: 19
    • Parameter count: 1
    • Cyclomatic complexity: 4
    • Cyclomatic complexity density: 21.052631578947366%
    • Halstead difficulty: 18.857142857142858
    • Halstead volume: 475.6861996976024
    • Halstead effort: 8970.082622869073

/home/runner/work/atom-backend/atom-backend/scripts/deprecated/search.js

  • Physical LOC: 176
  • Logical LOC: 73
  • Mean parameter count: 2.5
  • Cyclomatic complexity: 19
  • Cyclomatic complexity density: 26.027397260273972%
  • Maintainability index: 58.997676233691614
  • Dependency count: 0
  • Function: levenshtein
    • Line No.: 19
    • Physical LOC: 3
    • Logical LOC: 1
    • Parameter count: 2
    • Cyclomatic complexity: 1
    • Cyclomatic complexity density: 100%
    • Halstead difficulty: 1.6666666666666667
    • Halstead volume: 16.253496664211536
    • Halstead effort: 27.089161107019226
  • Function: vlSimilarity
    • Line No.: 31
    • Physical LOC: 15
    • Logical LOC: 9
    • Parameter count: 2
    • Cyclomatic complexity: 3
    • Cyclomatic complexity density: 33.33333333333333%
    • Halstead difficulty: 13
    • Halstead volume: 203.13062045970605
    • Halstead effort: 2640.6980659761784
  • Function: vlEditDistance
    • Line No.: 55
    • Physical LOC: 27
    • Logical LOC: 20
    • Parameter count: 2
    • Cyclomatic complexity: 7
    • Cyclomatic complexity density: 35%
    • Halstead difficulty: 36.266666666666666
    • Halstead volume: 639.091324039907
    • Halstead effort: 23177.71201851396
  • Function: levenshteinWSDM
    • Line No.: 93
    • Physical LOC: 31
    • Logical LOC: 13
    • Parameter count: 2
    • Cyclomatic complexity: 3
    • Cyclomatic complexity density: 23.076923076923077%
    • Halstead difficulty: 16.944444444444443
    • Halstead volume: 543.2311061925092
    • Halstead effort: 9204.749299373072
  • Function: lcs
    • Line No.: 137
    • Physical LOC: 26
    • Logical LOC: 13
    • Parameter count: 2
    • Cyclomatic complexity: 4
    • Cyclomatic complexity density: 30.76923076923077%
    • Halstead difficulty: 26.764705882352942
    • Halstead volume: 609.3661461775857
    • Halstead effort: 16309.505677105972
  • Function: lcsTraceBack
    • Line No.: 174
    • Physical LOC: 15
    • Logical LOC: 7
    • Parameter count: 5
    • Cyclomatic complexity: 6
    • Cyclomatic complexity density: 85.71428571428571%
    • Halstead difficulty: 32.38888888888889
    • Halstead volume: 380.3296723500879
    • Halstead effort: 12318.455498894515

/home/runner/work/atom-backend/atom-backend/scripts/tools/genBadges.js

  • Physical LOC: 90
  • Logical LOC: 50
  • Mean parameter count: 1.25
  • Cyclomatic complexity: 7
  • Cyclomatic complexity density: 14.000000000000002%
  • Maintainability index: 62.608664158059014
  • Dependency count: 1
  • Function: run
    • Line No.: 16
    • Physical LOC: 52
    • Logical LOC: 31
    • Parameter count: 0
    • Cyclomatic complexity: 7
    • Cyclomatic complexity density: 22.58064516129032%
    • Halstead difficulty: 9.571428571428571
    • Halstead volume: 702.9571963301984
    • Halstead effort: 6728.304593446184
  • Function: call
    • Line No.: 32
    • Physical LOC: 4
    • Logical LOC: 2
    • Parameter count: 1
    • Cyclomatic complexity: 1
    • Cyclomatic complexity density: 50%
    • Halstead difficulty: 2.0999999999999996
    • Halstead volume: 33
    • Halstead effort: 69.29999999999998
  • Function: makeBadge
    • Line No.: 69
    • Physical LOC: 18
    • Logical LOC: 3
    • Parameter count: 3
    • Cyclomatic complexity: 1
    • Cyclomatic complexity density: 33.33333333333333%
    • Halstead difficulty: 3.375
    • Halstead volume: 64.72503367497926
    • Halstead effort: 218.446988653055
  • Function: writeBadge
    • Line No.: 88
    • Physical LOC: 9
    • Logical LOC: 6
    • Parameter count: 1
    • Cyclomatic complexity: 1
    • Cyclomatic complexity density: 16.666666666666664%
    • Halstead difficulty: 2.0454545454545454
    • Halstead volume: 91.37651812938249
    • Halstead effort: 186.9065143555551

/home/runner/work/atom-backend/atom-backend/src/tests/config.test.js

  • Physical LOC: 63
  • Logical LOC: 2
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 50%
  • Maintainability index: 86.03073855173344
  • Dependency count: 1

/home/runner/work/atom-backend/atom-backend/src/tests/debug_utils.test.js

  • Physical LOC: 31
  • Logical LOC: 2
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 50%
  • Maintainability index: 86.03073855173344
  • Dependency count: 1

/home/runner/work/atom-backend/atom-backend/src/tests/logger.test.js

  • Physical LOC: 95
  • Logical LOC: 4
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 25%
  • Maintainability index: 76.39879935103494
  • Dependency count: 1

/home/runner/work/atom-backend/atom-backend/src/tests/query.test.js

  • Physical LOC: 143
  • Logical LOC: 78
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 1.282051282051282%
  • Maintainability index: 37.68731830500316
  • Dependency count: 1

/home/runner/work/atom-backend/atom-backend/src/tests_integration/fixtures/git.createPackage_returns/valid_multi_version.js

  • Physical LOC: 43
  • Logical LOC: 34
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 2.941176470588235%
  • Maintainability index: 50.83192723928399
  • Dependency count: 0

/home/runner/work/atom-backend/atom-backend/src/tests_integration/fixtures/git.createPackage_returns/valid_one_version.js

  • Physical LOC: 25
  • Logical LOC: 19
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 5.263157894736842%
  • Maintainability index: 58.378034894518755
  • Dependency count: 0

/home/runner/work/atom-backend/atom-backend/src/tests_integration/fixtures/lifetime/package-a.js

  • Physical LOC: 39
  • Logical LOC: 23
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 4.3478260869565215%
  • Maintainability index: 55.494411910399926
  • Dependency count: 0

/home/runner/work/atom-backend/atom-backend/src/tests_integration/fixtures/lifetime/user-a.js

  • Physical LOC: 9
  • Logical LOC: 6
  • Mean parameter count: 0
  • Cyclomatic complexity: 1
  • Cyclomatic complexity density: 16.666666666666664%
  • Maintainability index: 71.67165455570546
  • Dependency count: 0