id: 1 unit: run: async() file: src/actions/Expand.ts start line: 37 end line: 123 size: 72 LOC McCabe index: 15 number of parameters: 2 id: 2 unit: run: async() file: src/actions/Reroll.ts start line: 19 end line: 92 size: 64 LOC McCabe index: 9 number of parameters: 2 id: 3 unit: run: async() file: src/commands/Draw.ts start line: 97 end line: 155 size: 50 LOC McCabe index: 3 number of parameters: 2 id: 4 unit: async function performExpandAction() file: src/actions/Expand.ts start line: 126 end line: 177 size: 47 LOC McCabe index: 7 number of parameters: 3 id: 5 unit: export async function createLogo() file: src/utils/image.ts start line: 18 end line: 68 size: 45 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: function checkPermissions() file: src/listeners/interactionCreate.ts start line: 32 end line: 77 size: 38 LOC McCabe index: 12 number of parameters: 1 id: 7 unit: export async function createTiledComposite() file: src/utils/image.ts start line: 70 end line: 110 size: 35 LOC McCabe index: 5 number of parameters: 3 id: 8 unit: export async function fetchImagesFromComposite() file: src/utils/discord.ts start line: 120 end line: 155 size: 35 LOC McCabe index: 7 number of parameters: 4 id: 9 unit: export function processOpenAIError() file: src/utils/discord.ts start line: 86 end line: 118 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 10 unit: export async function createResponse() file: src/utils/discord.ts start line: 20 end line: 50 size: 29 LOC McCabe index: 2 number of parameters: 4 id: 11 unit: export async function extractImagesFromComposite() file: src/utils/image.ts start line: 131 end line: 157 size: 25 LOC McCabe index: 4 number of parameters: 6 id: 12 unit: export function rowFromActions() file: src/utils/discord.ts start line: 68 end line: 84 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 13 unit: export function actionsFromRow() file: src/utils/discord.ts start line: 52 end line: 66 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: export default() file: src/listeners/interactionCreate.ts start line: 16 end line: 30 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 15 unit: export async function expandImage() file: src/utils/image.ts start line: 114 end line: 127 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: function createLogoConfig() file: src/utils/image.ts start line: 7 end line: 16 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 17 unit: export default() file: src/listeners/ready.ts start line: 4 end line: 15 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 18 unit: function createFileName() file: src/actions/Save.ts start line: 14 end line: 21 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 19 unit: await performExpandAction() file: src/actions/Expand.ts start line: 60 end line: 64 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 20 unit: Buffer.prototype.toPngImageBuffer = function() file: src/utils/openai.ts start line: 19 end line: 22 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: export function imagesFromBase64Response() file: src/utils/openai.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: export function defaultActions() file: src/Actions.ts start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: input: await sharp() file: src/utils/image.ts start line: 21 end line: 21 size: 1 LOC McCabe index: 1 number of parameters: 4 id: 24 unit: input: await sharp() file: src/utils/image.ts start line: 28 end line: 28 size: 1 LOC McCabe index: 1 number of parameters: 4 id: 25 unit: input: await sharp() file: src/utils/image.ts start line: 35 end line: 35 size: 1 LOC McCabe index: 1 number of parameters: 4 id: 26 unit: input: await sharp() file: src/utils/image.ts start line: 42 end line: 42 size: 1 LOC McCabe index: 1 number of parameters: 4 id: 27 unit: input: await sharp() file: src/utils/image.ts start line: 49 end line: 49 size: 1 LOC McCabe index: 1 number of parameters: 4