id: 1 unit: private buildObject() file: app/src/app/services/json-parser.service.ts start line: 20 end line: 103 size: 75 LOC McCabe index: 17 number of parameters: 1 id: 2 unit: ngAfterViewChecked() file: app/src/app/app.component.ts start line: 27 end line: 76 size: 44 LOC McCabe index: 7 number of parameters: 0 id: 3 unit: async function start() file: cli.ts start line: 21 end line: 65 size: 39 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: ngOnInit() file: app/src/app/pages/explore/explore.component.ts start line: 42 end line: 78 size: 36 LOC McCabe index: 6 number of parameters: 0 id: 5 unit: update() file: app/src/app/pages/explore/explore.component.ts start line: 80 end line: 127 size: 36 LOC McCabe index: 10 number of parameters: 1 id: 6 unit: static encode() file: lib/JsonEncoder.ts start line: 4 end line: 37 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 7 unit: parse() file: app/src/app/services/json-parser.service.ts start line: 105 end line: 139 size: 30 LOC McCabe index: 7 number of parameters: 2 id: 8 unit: async toJson() file: lib/Collection.ts start line: 78 end line: 106 size: 27 LOC McCabe index: 7 number of parameters: 0 id: 9 unit: editDocument() file: app/src/app/pages/explore/explore.component.ts start line: 138 end line: 160 size: 22 LOC McCabe index: 10 number of parameters: 2 id: 10 unit: async load() file: lib/HostsManager.ts start line: 22 end line: 45 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 11 unit: private async connect() file: lib/MongoManager.ts start line: 19 end line: 42 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 12 unit: async getServersJson() file: lib/MongoManager.ts start line: 77 end line: 96 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 13 unit: static decode() file: lib/JsonEncoder.ts start line: 39 end line: 59 size: 20 LOC McCabe index: 11 number of parameters: 1 id: 14 unit: async add() file: lib/HostsManager.ts start line: 60 end line: 76 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: editDocument() file: app/src/app/pages/document/document.component.ts start line: 51 end line: 66 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 16 unit: async databases() file: lib/Server.ts start line: 33 end line: 47 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 17 unit: async toJson() file: lib/Server.ts start line: 54 end line: 68 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: private async checkAuth() file: lib/MongoManager.ts start line: 52 end line: 66 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 19 unit: ngOnInit() file: app/src/app/pages/collections/collections.component.ts start line: 20 end line: 33 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: toggleIndexes() file: app/src/app/pages/collections/collections.component.ts start line: 58 end line: 70 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: async remove() file: lib/HostsManager.ts start line: 78 end line: 90 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: ngOnInit() file: app/src/app/components/search-box/search-box.component.ts start line: 35 end line: 50 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 23 unit: ngOnInit() file: app/src/app/pages/document/document.component.ts start line: 30 end line: 42 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: removeServer() file: app/src/app/pages/servers/servers.component.ts start line: 56 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 25 unit: ngOnInit() file: app/src/app/pages/databases/databases.component.ts start line: 19 end line: 31 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 26 unit: async getCollectionsJson() file: lib/MongoManager.ts start line: 108 end line: 120 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 27 unit: query() file: app/src/app/services/mongo-db.service.ts start line: 97 end line: 107 size: 11 LOC McCabe index: 1 number of parameters: 8 id: 28 unit: remove() file: app/src/app/pages/document/document.component.ts start line: 68 end line: 78 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: toggle() file: app/src/app/pages/servers/servers.component.ts start line: 33 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: export function writeEnabled() file: lib/ReadOnlyMiddleware.ts start line: 5 end line: 17 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 31 unit: find() file: lib/Collection.ts start line: 38 end line: 48 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 32 unit: refresh() file: app/src/app/pages/servers/servers.component.ts start line: 22 end line: 31 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: addServer() file: app/src/app/pages/servers/servers.component.ts start line: 45 end line: 54 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: private indexName() file: app/src/app/pages/collections/collections.component.ts start line: 35 end line: 44 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: private pad() file: app/src/app/filters/number.pipe.ts start line: 7 end line: 15 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: remove() file: app/src/app/pages/explore/explore.component.ts start line: 162 end line: 171 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 37 unit: async collections() file: lib/Database.ts start line: 31 end line: 41 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: private handleError() file: app/src/app/services/mongo-db.service.ts start line: 20 end line: 27 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: ngOnInit() file: app/src/app/components/notifications/notifications.component.ts start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: switchTheme() file: app/src/app/app.component.ts start line: 85 end line: 92 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: go() file: app/src/app/pages/explore/explore.component.ts start line: 129 end line: 136 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: async getDatabasesJson() file: lib/MongoManager.ts start line: 98 end line: 106 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: async getCollection() file: lib/MongoManager.ts start line: 122 end line: 131 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 44 unit: async updateOne() file: lib/Collection.ts start line: 50 end line: 60 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 45 unit: count() file: lib/Collection.ts start line: 68 end line: 76 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: notifyError() file: app/src/app/services/notifications.service.ts start line: 17 end line: 24 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: update() file: app/src/app/services/mongo-db.service.ts start line: 109 end line: 115 size: 7 LOC McCabe index: 1 number of parameters: 6 id: 48 unit: count() file: app/src/app/services/mongo-db.service.ts start line: 121 end line: 127 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 49 unit: toggle() file: app/src/app/components/search-box/search-box.component.ts start line: 58 end line: 64 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 50 unit: toggle() file: app/src/app/pages/collections/collections.component.ts start line: 46 end line: 52 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 51 unit: toggle() file: app/src/app/pages/databases/databases.component.ts start line: 33 end line: 39 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 52 unit: toggleCollection() file: app/src/app/pages/databases/databases.component.ts start line: 45 end line: 51 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: private getServer() file: lib/MongoManager.ts start line: 44 end line: 50 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: private get() file: app/src/app/services/mongo-db.service.ts start line: 29 end line: 37 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: private post() file: app/src/app/services/mongo-db.service.ts start line: 39 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 56 unit: private put() file: app/src/app/services/mongo-db.service.ts start line: 49 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 57 unit: private delete() file: app/src/app/services/mongo-db.service.ts start line: 59 end line: 67 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: dismiss() file: app/src/app/components/notifications/notifications.component.ts start line: 27 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: go() file: app/src/app/components/search-box/search-box.component.ts start line: 70 end line: 76 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 60 unit: ngOnInit() file: app/src/app/app.component.ts start line: 20 end line: 25 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 61 unit: get otherTheme() file: app/src/app/app.component.ts start line: 78 end line: 83 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: get() file: app/src/app/pages/document/document.component.ts start line: 44 end line: 49 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: get mongoManager() file: lib/Factory.ts start line: 12 end line: 17 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: get hostsManager() file: lib/Factory.ts start line: 19 end line: 24 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: async load() file: lib/Factory.ts start line: 26 end line: 34 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: async findOne() file: lib/Collection.ts start line: 31 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: constructor() file: lib/Database.ts start line: 24 end line: 29 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 68 unit: keyPress() file: app/src/app/components/search-box/search-box.component.ts start line: 78 end line: 82 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: async removeOne() file: lib/Collection.ts start line: 62 end line: 66 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: ngOnChanges() file: app/src/app/components/search-box/search-box.component.ts start line: 52 end line: 56 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 71 unit: next() file: app/src/app/pages/explore/explore.component.ts start line: 177 end line: 180 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: previous() file: app/src/app/pages/explore/explore.component.ts start line: 186 end line: 189 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: constructor() file: lib/Server.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: async database() file: lib/Server.ts start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: async load() file: lib/MongoManager.ts start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: collection() file: lib/Database.ts start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: isReadOnly() file: app/src/app/services/mongo-db.service.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: getServers() file: app/src/app/services/mongo-db.service.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: addServer() file: app/src/app/services/mongo-db.service.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: removeServer() file: app/src/app/services/mongo-db.service.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: getDatabases() file: app/src/app/services/mongo-db.service.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: getCollections() file: app/src/app/services/mongo-db.service.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: getDocument() file: app/src/app/services/mongo-db.service.ts start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 84 unit: remove() file: app/src/app/services/mongo-db.service.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 85 unit: private reportError() file: app/src/app/services/json-parser.service.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: get notifications() file: app/src/app/components/notifications/notifications.component.ts start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: canAddParams() file: app/src/app/components/search-box/search-box.component.ts start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: get hasNext() file: app/src/app/pages/explore/explore.component.ts start line: 173 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: get hasPrevious() file: app/src/app/pages/explore/explore.component.ts start line: 182 end line: 184 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: ngOnInit() file: app/src/app/pages/servers/servers.component.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: toggleStats() file: app/src/app/pages/collections/collections.component.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: toggleStats() file: app/src/app/pages/databases/databases.component.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: private get _initializedError() file: lib/Factory.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: private promise() file: lib/HostsManager.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: removeServer() file: lib/MongoManager.ts start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: get name() file: lib/Collection.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: constructor() file: lib/Collection.ts start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: ngOnInit() file: app/src/app/components/panel/panel.component.ts start line: 12 end line: 13 size: 2 LOC McCabe index: 1 number of parameters: 0