Skip to content

This function's cyclomatic complexity is too high. #28

@xbhuang1994

Description

@xbhuang1994

gulp
[02:58:45] Using gulpfile F:\Workspace\Single\dapps\web-views\neb.js\gulpfile.js
[02:58:45] Starting 'version'...
[02:58:45] Finished 'version' after 7.96 ms
[02:58:45] Starting 'lint'...
[02:58:45] Starting 'documentation'...
lib\account.js: line 278, col 21, This function's cyclomatic complexity is too high. (17)
lib\account.js: line 351, col 23, This function's cyclomatic complexity is too high. (10)

2 errors
[02:58:45] Finished 'lint' after 269 ms
[02:58:45] Starting 'clean'...
[02:58:45] Finished 'clean' after 3.89 ms
[02:58:45] Starting 'light'...
[02:58:45] Starting 'neb'...
[02:58:45] Starting 'request'...
[02:58:45] Starting 'account'...
[02:58:45] Starting 'transaction'...
[02:58:45] Starting 'nebulas'...
[02:58:47] Finished 'light' after 1.51 s
[02:58:47] Documented 12 files!
[02:58:47] Finished 'documentation' after 1.81 s
[02:58:49] Finished 'neb' after 3.03 s
[02:58:50] Finished 'request' after 4.79 s
[02:58:52] Finished 'account' after 6.16 s
[02:58:52] Finished 'nebulas' after 6.15 s
[02:58:52] Finished 'transaction' after 6.16 s
[02:58:52] Starting 'default'...
[02:58:52] Finished 'default' after 51 μs

node -v
v8.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions