MCPcopy Index your code
hub / github.com/code-pushup/cli / shouldExpandForUrls

Function shouldExpandForUrls

packages/utils/src/lib/plugin-url-aggregation.ts:8–10  ·  view source on GitHub ↗
(urlCount: number)

Source from the content-addressed store, hash-verified

6} from './plugin-url-config.js';
7
8export function shouldExpandForUrls(urlCount: number): boolean {
9 return urlCount > SINGLE_URL_THRESHOLD;
10}
11
12export function addIndex(slug: string, index: number): string {
13 return `${slug}-${index + 1}`;

Callers 10

processAuditsAndGroupsFunction · 0.90
expandCategoriesFunction · 0.90
createRunnerFunctionFunction · 0.90
runLighthouseForUrlFunction · 0.90
expandCategoriesFunction · 0.90
createRunnerFunctionFunction · 0.90
runForUrlFunction · 0.90
processAuditsAndGroupsFunction · 0.90
expandCategoryRefsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected