id: 1 unit: async function allocateSpend() file: ngo-identity/chaincode/src/ngo.js start line: 176 end line: 411 size: 186 LOC McCabe index: 38 number of parameters: 2 id: 2 unit: async function allocateSpend() file: ngo-events/chaincode/src/ngo.js start line: 157 end line: 392 size: 186 LOC McCabe index: 38 number of parameters: 2 id: 3 unit: async function allocateSpend() file: ngo-chaincode/src/ngo.js start line: 157 end line: 392 size: 186 LOC McCabe index: 38 number of parameters: 2 id: 4 unit: async function invokeChaincode() file: ngo-lambda/src/invoke.js start line: 24 end line: 181 size: 129 LOC McCabe index: 15 number of parameters: 1 id: 5 unit: async function queryByString() file: ngo-identity/chaincode/src/ngo.js start line: 72 end line: 152 size: 58 LOC McCabe index: 14 number of parameters: 2 id: 6 unit: async function queryByString() file: ngo-events/chaincode/src/ngo.js start line: 53 end line: 133 size: 58 LOC McCabe index: 14 number of parameters: 2 id: 7 unit: async function queryByString() file: ngo-chaincode/src/ngo.js start line: 53 end line: 133 size: 58 LOC McCabe index: 14 number of parameters: 2 id: 8 unit: async function dummySpend() file: ngo-rest-api/app.js start line: 587 end line: 639 size: 45 LOC McCabe index: 4 number of parameters: 0 id: 9 unit: async createDonation() file: ngo-identity/chaincode/src/ngo.js start line: 676 end line: 716 size: 35 LOC McCabe index: 5 number of parameters: 2 id: 10 unit: signup() file: ngo-ui/src/app/ui/signup/signup.component.ts start line: 54 end line: 88 size: 35 LOC McCabe index: 4 number of parameters: 0 id: 11 unit: async createDonation() file: ngo-events/chaincode/src/ngo.js start line: 624 end line: 664 size: 35 LOC McCabe index: 5 number of parameters: 2 id: 12 unit: async function handler() file: ngo-lambda/src/index.js start line: 82 end line: 115 size: 31 LOC McCabe index: 9 number of parameters: 3 id: 13 unit: populate() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 77 end line: 105 size: 29 LOC McCabe index: 7 number of parameters: 0 id: 14 unit: async createDonation() file: ngo-chaincode/src/ngo.js start line: 611 end line: 644 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 15 unit: getNGOFundsDetails() file: ngo-ui/src/app/ui/ngos-list/ngos-list.component.ts start line: 101 end line: 127 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 16 unit: getNGOFundsDetails() file: ngo-ui/src/app/ui/ngo-details/ngo-details.component.ts start line: 90 end line: 116 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: login() file: ngo-ui/src/app/ui/signin/signin.component.ts start line: 52 end line: 76 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: async function queryChaincode() file: ngo-lambda/src/query.js start line: 22 end line: 49 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 19 unit: ngOnInit() file: ngo-ui/src/app/ui/ngos-list/ngos-list.component.ts start line: 73 end line: 99 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 20 unit: ngoJsonAdopter() file: ngo-ui/src/app/services/ngo.service.ts start line: 67 end line: 90 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: async createSpend() file: ngo-identity/chaincode/src/ngo.js start line: 799 end line: 827 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 22 unit: setRatings() file: ngo-ui/src/app/ui/ngo-details/ngo-details.component.ts start line: 142 end line: 164 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: processMessage() file: ngo-ui/src/app/ui/shared/blockchain/blockchain.component.ts start line: 81 end line: 103 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: userDonationsJsonAdopter() file: ngo-ui/src/app/services/dashboard.service.ts start line: 73 end line: 97 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 25 unit: async createSpend() file: ngo-events/chaincode/src/ngo.js start line: 747 end line: 775 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 26 unit: async function setupChannel() file: ngo-events/listener/src/setupChannel.js start line: 23 end line: 53 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 27 unit: async function setupChannel() file: ngo-lambda/src/setupChannel.js start line: 23 end line: 53 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 28 unit: async createSpend() file: ngo-chaincode/src/ngo.js start line: 727 end line: 755 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: ngOnInit() file: ngo-ui/src/app/ui/dashboard/dashboard.component.ts start line: 45 end line: 65 size: 21 LOC McCabe index: 4 number of parameters: 0 id: 30 unit: async function getClientForOrg() file: ngo-rest-api/connection.js start line: 24 end line: 52 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 31 unit: async function setupClient() file: ngo-events/listener/src/setupFabricClient.js start line: 53 end line: 83 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: async function putEvent() file: ngo-events/listener/src/queue.js start line: 29 end line: 51 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: getNGOSpendData() file: ngo-ui/src/app/ui/ngos-list/ngos-list.component.ts start line: 133 end line: 151 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: getNGOSpendData() file: ngo-ui/src/app/ui/ngo-details/ngo-details.component.ts start line: 122 end line: 140 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 35 unit: buildBreadCrumb() file: ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.ts start line: 38 end line: 58 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: async function getSecret() file: ngo-events/listener/src/setupFabricClient.js start line: 30 end line: 51 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: async function getSecret() file: ngo-lambda/src/setupFabricClient.js start line: 27 end line: 48 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: async Invoke() file: ngo-identity/chaincode/src/ngo.js start line: 450 end line: 468 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: setRatings() file: ngo-ui/src/app/ui/ngos-list/ngos-list.component.ts start line: 153 end line: 170 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: private create() file: ngo-ui/src/app/services/shared/socket.service.ts start line: 36 end line: 55 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: async Invoke() file: ngo-events/chaincode/src/ngo.js start line: 431 end line: 449 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 42 unit: async Invoke() file: ngo-chaincode/src/ngo.js start line: 418 end line: 436 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: private static getTranslateValue() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 146 end line: 163 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 44 unit: async createDonor() file: ngo-identity/chaincode/src/ngo.js start line: 498 end line: 517 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 45 unit: async createNGO() file: ngo-identity/chaincode/src/ngo.js start line: 604 end line: 623 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 46 unit: async createRating() file: ngo-identity/chaincode/src/ngo.js start line: 977 end line: 996 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: async createDonor() file: ngo-events/chaincode/src/ngo.js start line: 479 end line: 498 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: async createNGO() file: ngo-events/chaincode/src/ngo.js start line: 552 end line: 571 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 49 unit: async createRating() file: ngo-events/chaincode/src/ngo.js start line: 925 end line: 944 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 50 unit: async function setupClient() file: ngo-lambda/src/setupFabricClient.js start line: 50 end line: 74 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: async createDonor() file: ngo-chaincode/src/ngo.js start line: 466 end line: 485 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 52 unit: async createNGO() file: ngo-chaincode/src/ngo.js start line: 539 end line: 558 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: async createRating() file: ngo-chaincode/src/ngo.js start line: 905 end line: 924 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 54 unit: ngOnInit() file: ngo-ui/src/app/ui/ngo-details/ngo-details.component.ts start line: 72 end line: 88 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: private static parentElement() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 129 end line: 144 size: 15 LOC McCabe index: 6 number of parameters: 2 id: 56 unit: setBlockChainWidth() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 236 end line: 250 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 57 unit: private initView() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 277 end line: 291 size: 15 LOC McCabe index: 6 number of parameters: 0 id: 58 unit: updateData() file: ngo-ui/src/app/ui/shared/blockchain/blockchain.component.ts start line: 105 end line: 118 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 59 unit: private setBlockPosition() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 261 end line: 275 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 60 unit: function getClientIdentity() file: ngo-identity/chaincode/src/ngo.js start line: 50 end line: 62 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: ngOnInit() file: ngo-ui/src/app/ui/signup/signup.component.ts start line: 38 end line: 50 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: userContributionJsonAdopter() file: ngo-ui/src/app/services/dashboard.service.ts start line: 58 end line: 71 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 63 unit: static formatFloat() file: ngo-ui/src/app/services/shared/utils.service.ts start line: 48 end line: 61 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 64 unit: async function chaincodeTransactionHandler() file: ngo-lambda/src/index.js start line: 52 end line: 69 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 65 unit: async function queryEventsHandler() file: ngo-lambda/src/queryEvents.js start line: 22 end line: 36 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: async function queryByKey() file: ngo-identity/chaincode/src/ngo.js start line: 32 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 67 unit: async queryAllDonorsManagerOnly() file: ngo-identity/chaincode/src/ngo.js start line: 568 end line: 581 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 68 unit: constructor() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 91 end line: 101 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 69 unit: private static minLapse() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 177 end line: 188 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 70 unit: async function queryByKey() file: ngo-events/chaincode/src/ngo.js start line: 32 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 71 unit: async function onEvent() file: ngo-events/listener/src/chaincodelistener.js start line: 40 end line: 50 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: async function queryByKey() file: ngo-chaincode/src/ngo.js start line: 32 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 73 unit: static getUser() file: ngo-ui/src/app/services/shared/session.service.ts start line: 25 end line: 34 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 74 unit: static getValue() file: ngo-ui/src/app/services/shared/session.service.ts start line: 36 end line: 46 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 75 unit: static setValue() file: ngo-ui/src/app/services/shared/session.service.ts start line: 48 end line: 58 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 76 unit: function buildCommonRequestObject() file: ngo-lambda/src/index.js start line: 29 end line: 39 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: function createEvent() file: ngo-identity/chaincode/src/ngo.js start line: 416 end line: 424 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: async queryDonor() file: ngo-identity/chaincode/src/ngo.js start line: 525 end line: 535 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: async queryNGO() file: ngo-identity/chaincode/src/ngo.js start line: 631 end line: 641 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 80 unit: async queryDonation() file: ngo-identity/chaincode/src/ngo.js start line: 724 end line: 733 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: async querySpend() file: ngo-identity/chaincode/src/ngo.js start line: 835 end line: 844 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: async querySpendAllocation() file: ngo-identity/chaincode/src/ngo.js start line: 904 end line: 913 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: async queryDonorRatingsForNGO() file: ngo-identity/chaincode/src/ngo.js start line: 1020 end line: 1029 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: ngOnInit() file: ngo-ui/src/app/ui/signin/signin.component.ts start line: 40 end line: 48 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: static jsonToMap() file: ngo-ui/src/app/services/shared/utils.service.ts start line: 38 end line: 46 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: function createEvent() file: ngo-events/chaincode/src/ngo.js start line: 397 end line: 405 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: async queryDonor() file: ngo-events/chaincode/src/ngo.js start line: 506 end line: 516 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 88 unit: async queryNGO() file: ngo-events/chaincode/src/ngo.js start line: 579 end line: 589 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: async queryDonation() file: ngo-events/chaincode/src/ngo.js start line: 672 end line: 681 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: async querySpend() file: ngo-events/chaincode/src/ngo.js start line: 783 end line: 792 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: async querySpendAllocation() file: ngo-events/chaincode/src/ngo.js start line: 852 end line: 861 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: async queryDonorRatingsForNGO() file: ngo-events/chaincode/src/ngo.js start line: 968 end line: 977 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: async queryDonor() file: ngo-chaincode/src/ngo.js start line: 493 end line: 503 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: async queryNGO() file: ngo-chaincode/src/ngo.js start line: 566 end line: 576 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: async queryDonation() file: ngo-chaincode/src/ngo.js start line: 652 end line: 661 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 96 unit: async querySpend() file: ngo-chaincode/src/ngo.js start line: 763 end line: 772 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: async querySpendAllocation() file: ngo-chaincode/src/ngo.js start line: 832 end line: 841 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: async queryDonorRatingsForNGO() file: ngo-chaincode/src/ngo.js start line: 948 end line: 957 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: async queryDonationsForDonor() file: ngo-identity/chaincode/src/ngo.js start line: 741 end line: 749 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: async queryDonationsForNGO() file: ngo-identity/chaincode/src/ngo.js start line: 757 end line: 765 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: async querySpendForNGO() file: ngo-identity/chaincode/src/ngo.js start line: 852 end line: 860 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 102 unit: async querySpendAllocationForDonation() file: ngo-identity/chaincode/src/ngo.js start line: 921 end line: 929 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: async querySpendAllocationForSpend() file: ngo-identity/chaincode/src/ngo.js start line: 937 end line: 945 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: async queryRatingsForNGO() file: ngo-identity/chaincode/src/ngo.js start line: 1004 end line: 1012 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: set() file: ngo-ui/src/app/models/donation.model.ts start line: 41 end line: 48 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: ngAfterViewInit() file: ngo-ui/src/app/ui/components/gallery/gallery.component.ts start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: updateBlocksVisibility() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 210 end line: 217 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: updateBlockChainPosition() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 227 end line: 234 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: private updateConnectBlocks() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 252 end line: 259 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: signup() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 62 end line: 69 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: async queryDonationsForDonor() file: ngo-events/chaincode/src/ngo.js start line: 689 end line: 697 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: async queryDonationsForNGO() file: ngo-events/chaincode/src/ngo.js start line: 705 end line: 713 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 113 unit: async querySpendForNGO() file: ngo-events/chaincode/src/ngo.js start line: 800 end line: 808 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 114 unit: async querySpendAllocationForDonation() file: ngo-events/chaincode/src/ngo.js start line: 869 end line: 877 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 115 unit: async querySpendAllocationForSpend() file: ngo-events/chaincode/src/ngo.js start line: 885 end line: 893 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: async queryRatingsForNGO() file: ngo-events/chaincode/src/ngo.js start line: 952 end line: 960 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 117 unit: function onError() file: ngo-events/listener/src/chaincodelistener.js start line: 52 end line: 59 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: async function run() file: ngo-events/listener/src/index.js start line: 27 end line: 34 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 119 unit: async queryDonationsForDonor() file: ngo-chaincode/src/ngo.js start line: 669 end line: 677 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: async queryDonationsForNGO() file: ngo-chaincode/src/ngo.js start line: 685 end line: 693 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: async querySpendForNGO() file: ngo-chaincode/src/ngo.js start line: 780 end line: 788 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: async querySpendAllocationForDonation() file: ngo-chaincode/src/ngo.js start line: 849 end line: 857 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: async querySpendAllocationForSpend() file: ngo-chaincode/src/ngo.js start line: 865 end line: 873 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: async queryRatingsForNGO() file: ngo-chaincode/src/ngo.js start line: 932 end line: 940 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 125 unit: set() file: ngo-ui/src/app/models/ngo.model.ts start line: 59 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 126 unit: toString() file: ngo-ui/src/app/models/ngo.model.ts start line: 67 end line: 74 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 127 unit: toString() file: ngo-ui/src/app/models/donation.model.ts start line: 50 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 128 unit: onNGOSelect() file: ngo-ui/src/app/ui/ngos-list/ngos-list.component.ts start line: 171 end line: 177 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: ngOnInit() file: ngo-ui/src/app/ui/shared/header/header.component.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: constructor() file: ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.ts start line: 27 end line: 33 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 131 unit: arcTween() file: ngo-ui/src/app/ui/components/donorchart/donorchart.component.ts start line: 152 end line: 159 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 132 unit: private static getElementWidth() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 121 end line: 127 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: private static setTransformValue() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 165 end line: 171 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 134 unit: translateBlockChain() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 219 end line: 225 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 135 unit: getNGONameById() file: ngo-ui/src/app/services/dashboard.service.ts start line: 50 end line: 56 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 136 unit: static mapToJson() file: ngo-ui/src/app/services/shared/utils.service.ts start line: 30 end line: 36 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: setHeadersCustomer() file: ngo-ui/src/app/services/shared/api.service.ts start line: 41 end line: 47 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: createUser() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 54 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: function getErrorMessage() file: ngo-rest-api/app.js start line: 88 end line: 94 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: async queryAllDonors() file: ngo-identity/chaincode/src/ngo.js start line: 543 end line: 549 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 141 unit: async queryAllNGOs() file: ngo-identity/chaincode/src/ngo.js start line: 649 end line: 655 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 142 unit: async queryAllDonations() file: ngo-identity/chaincode/src/ngo.js start line: 773 end line: 778 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: async queryAllSpend() file: ngo-identity/chaincode/src/ngo.js start line: 868 end line: 873 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 144 unit: async queryAllSpendAllocations() file: ngo-identity/chaincode/src/ngo.js start line: 953 end line: 958 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: get() file: ngo-ui/src/app/models/donor.model.ts start line: 25 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 146 unit: doAction() file: ngo-ui/src/app/ui/shared/header/header.component.ts start line: 49 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 147 unit: initBlockChain() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 197 end line: 202 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: makeDonation() file: ngo-ui/src/app/services/donate.service.ts start line: 27 end line: 32 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 149 unit: public connect() file: ngo-ui/src/app/services/shared/socket.service.ts start line: 29 end line: 34 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: updateDonorNGORating() file: ngo-ui/src/app/services/ngo.service.ts start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 151 unit: async queryAllDonors() file: ngo-events/chaincode/src/ngo.js start line: 524 end line: 530 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 152 unit: async queryAllNGOs() file: ngo-events/chaincode/src/ngo.js start line: 597 end line: 603 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: async queryAllDonations() file: ngo-events/chaincode/src/ngo.js start line: 721 end line: 726 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 154 unit: async queryAllSpend() file: ngo-events/chaincode/src/ngo.js start line: 816 end line: 821 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 155 unit: async queryAllSpendAllocations() file: ngo-events/chaincode/src/ngo.js start line: 901 end line: 906 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 156 unit: async function queryArrayHandler() file: ngo-lambda/src/query.js start line: 56 end line: 61 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 157 unit: async function queryObjectHandler() file: ngo-lambda/src/query.js start line: 63 end line: 68 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 158 unit: async queryAllDonors() file: ngo-chaincode/src/ngo.js start line: 511 end line: 517 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 159 unit: async queryAllNGOs() file: ngo-chaincode/src/ngo.js start line: 584 end line: 590 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: async queryAllDonations() file: ngo-chaincode/src/ngo.js start line: 701 end line: 706 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 161 unit: async queryAllSpend() file: ngo-chaincode/src/ngo.js start line: 796 end line: 801 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 162 unit: async queryAllSpendAllocations() file: ngo-chaincode/src/ngo.js start line: 881 end line: 886 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 163 unit: ngOnInit() file: ngo-ui/src/app/ui/components/donorchart/donorchart.component.ts start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 164 unit: set itemId() file: ngo-ui/src/app/ui/components/gallery/gallery.component.ts start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: onBlocksScrollChange() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 204 end line: 208 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: static onHeightChange() file: ngo-ui/src/app/services/shared/utils.service.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 167 unit: setAuth() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: purgeAuth() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: createDonorNGORating() file: ngo-ui/src/app/services/ngo.service.ts start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 170 unit: async Init() file: ngo-identity/chaincode/src/ngo.js start line: 439 end line: 442 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: async initLedger() file: ngo-identity/chaincode/src/ngo.js start line: 476 end line: 479 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 172 unit: async getClientIdentityInfo() file: ngo-identity/chaincode/src/ngo.js start line: 557 end line: 560 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: set blockElements() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 112 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 174 unit: getUserDonations() file: ngo-ui/src/app/services/dashboard.service.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: getDonationsByNGO() file: ngo-ui/src/app/services/dashboard.service.ts start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: getContributorsBySpend() file: ngo-ui/src/app/services/dashboard.service.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: public close() file: ngo-ui/src/app/services/shared/socket.service.ts start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: private formatErrors() file: ngo-ui/src/app/services/shared/api.service.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 179 unit: saveUser() file: ngo-ui/src/app/services/shared/session.service.ts start line: 60 end line: 63 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: signout() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: getNGOs() file: ngo-ui/src/app/services/ngo.service.ts start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: getNGO() file: ngo-ui/src/app/services/ngo.service.ts start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: getNGOSpend() file: ngo-ui/src/app/services/ngo.service.ts start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: getNGORating() file: ngo-ui/src/app/services/ngo.service.ts start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: getDonorNGORating() file: ngo-ui/src/app/services/ngo.service.ts start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: setTimeout() file: ngo-rest-api/app.js start line: 643 end line: 646 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: var getLogger = function() file: ngo-rest-api/connection.js start line: 98 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: async Init() file: ngo-events/chaincode/src/ngo.js start line: 420 end line: 423 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: async initLedger() file: ngo-events/chaincode/src/ngo.js start line: 457 end line: 460 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: async function queryStringHandler() file: ngo-lambda/src/query.js start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: async Init() file: ngo-chaincode/src/ngo.js start line: 407 end line: 410 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: async initLedger() file: ngo-chaincode/src/ngo.js start line: 444 end line: 447 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 193 unit: ngOnInit() file: ngo-ui/src/app/app.component.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: getNgoDonorsAmountKeys() file: ngo-ui/src/app/ui/ngos-list/ngos-list.component.ts start line: 129 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 195 unit: getNgoDonorsAmountKeys() file: ngo-ui/src/app/ui/ngo-details/ngo-details.component.ts start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 196 unit: setBlockChain() file: ngo-ui/src/app/ui/shared/blockchain/blockchain.component.ts start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: processError() file: ngo-ui/src/app/ui/shared/blockchain/blockchain.component.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: ngOnInit() file: ngo-ui/src/app/ui/components/rating/rating.component.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 199 unit: get blockElements() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 107 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 200 unit: private static pxToNumber() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: private static dayDiff() file: ngo-ui/src/app/ui/components/blockchain-progress/blockchain-progress.component.ts start line: 173 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: deleteUser() file: ngo-ui/src/app/services/shared/session.service.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: signin() file: ngo-ui/src/app/services/shared/donor.service.ts start line: 49 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: await fn() file: ngo-rest-api/app.js start line: 72 end line: 74 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 205 unit: function getSecretIDForKey() file: ngo-events/listener/src/setupFabricClient.js start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: function getSecretIDForKey() file: ngo-lambda/src/setupFabricClient.js start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 207 unit: constructor() file: ngo-ui/src/app/models/ngo.model.ts start line: 56 end line: 57 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: constructor() file: ngo-ui/src/app/models/donation.model.ts start line: 37 end line: 39 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: ngOnInit() file: ngo-ui/src/app/ui/donate/donate.component.ts start line: 27 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: ngOnInit() file: ngo-ui/src/app/ui/shared/sidenav/sidenav.component.ts start line: 27 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: ngOnInit() file: ngo-ui/src/app/ui/shared/footer/footer.component.ts start line: 29 end line: 30 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: ngOnInit() file: ngo-ui/src/app/ui/shared/breadcrumb/breadcrumb.component.ts start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: ngOnChanges() file: ngo-ui/src/app/ui/components/donorchart/donorchart.component.ts start line: 75 end line: 77 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: constructor() file: ngo-ui/src/app/services/ngo.service.ts start line: 26 end line: 28 size: 2 LOC McCabe index: 1 number of parameters: 1