id: 1 unit: function build() file: scripts/build.js start line: 96 end line: 154 size: 54 LOC McCabe index: 10 number of parameters: 1 id: 2 unit: async function processBatch() file: src/GraphService.ts start line: 138 end line: 174 size: 33 LOC McCabe index: 5 number of parameters: 0 id: 3 unit: function renderOrgSummary() file: src/contactCard/Summary.tsx start line: 56 end line: 85 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 4 unit: export function renderOrgHierarchy() file: src/contactCard/OrgDetails.tsx start line: 7 end line: 35 size: 29 LOC McCabe index: 2 number of parameters: 4 id: 5 unit: public render() file: src/PersonaWithCard.tsx start line: 69 end line: 96 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: function renderDirects() file: src/contactCard/OrgDetails.tsx start line: 62 end line: 85 size: 22 LOC McCabe index: 3 number of parameters: 2 id: 7 unit: process() file: config/jest/fileTransform.js start line: 9 end line: 29 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 8 unit: async function enqueueRequest() file: src/GraphService.ts start line: 114 end line: 135 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 9 unit: function renderAllManagers() file: src/contactCard/OrgDetails.tsx start line: 38 end line: 56 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 10 unit: export async function getAllManagers() file: src/GraphService.ts start line: 45 end line: 62 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 11 unit: async function getDirectsInternal() file: src/GraphService.ts start line: 211 end line: 228 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 12 unit: export async function getDirects() file: src/GraphService.ts start line: 65 end line: 80 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: export function renderSummary() file: src/contactCard/Summary.tsx start line: 8 end line: 22 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 14 unit: async function getManagerInternal() file: src/GraphService.ts start line: 177 end line: 191 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: async function getPhotoUrlInternal() file: src/GraphService.ts start line: 194 end line: 208 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 16 unit: function buildProfile() file: src/GraphService.ts start line: 245 end line: 258 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 17 unit: export function buildProfileResponse() file: src/supporting/Profile.ts start line: 4 end line: 17 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: export function buildProfile() file: src/supporting/Profile.ts start line: 20 end line: 33 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: function cacheByIdOrEmail() file: src/GraphService.ts start line: 83 end line: 96 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 20 unit: public render() file: src/Persona.tsx start line: 50 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 21 unit: export async function getAuthToken() file: src/GraphServiceAuthenticator.ts start line: 12 end line: 25 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 22 unit: private buildStateFromProps() file: src/Persona.tsx start line: 67 end line: 79 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: export function openLink() file: src/Tools.ts start line: 3 end line: 16 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 24 unit: export function buildResponse() file: src/supporting/Response.ts start line: 3 end line: 13 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 25 unit: async function processResponse() file: src/GraphService.ts start line: 232 end line: 241 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 26 unit: export async function getManager() file: src/GraphService.ts start line: 33 end line: 42 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: function renderContactSummary() file: src/contactCard/Summary.tsx start line: 25 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: function isInGitRepository() file: scripts/test.js start line: 19 end line: 26 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 29 unit: function isInMercurialRepository() file: scripts/test.js start line: 28 end line: 35 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 30 unit: export async function resolveProfile() file: src/GraphService.ts start line: 14 end line: 21 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: async function resolveProfileInternal() file: src/GraphService.ts start line: 99 end line: 106 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: export async function getPhotoUrl() file: src/GraphService.ts start line: 24 end line: 30 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: function buildErrorFromResponse() file: src/GraphService.ts start line: 261 end line: 267 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 34 unit: export function renderContactDetails() file: src/contactCard/ContactDetails.tsx start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: public componentDidUpdate() file: src/Persona.tsx start line: 43 end line: 47 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: constructor() file: src/PersonaWithCard.tsx start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: public componentDidUpdate() file: src/PersonaWithCard.tsx start line: 62 end line: 66 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: constructor() file: src/Persona.tsx start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: public componentDidMount() file: src/Persona.tsx start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: process() file: config/jest/cssTransform.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: getCacheKey() file: config/jest/cssTransform.js start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: export function setAuthCallback() file: src/GraphServiceAuthenticator.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: public componentWillUnmount() file: src/Persona.tsx start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: public componentDidMount() file: src/PersonaWithCard.tsx start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: public componentWillUnmount() file: src/PersonaWithCard.tsx start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: export async function delay() file: src/supporting/Promise.ts start line: 1 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: export async function waitNextTick() file: src/supporting/Promise.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: Direct reports() file: src/contactCard/OrgDetails.tsx start line: 72 end line: 72 size: 1 LOC McCabe index: 1 number of parameters: 1