Function couplingReport
-
couplingReport(
writes: readonly { method: string; url: string }[],
resources: readonly Resource[],
pageOrigin: string,
): {
families: string[];
method: string;
resource: string | null;
url: string;
}[]Parameters
- writes: readonly { method: string; url: string }[]
- resources: readonly Resource[]
- pageOrigin: string
Returns { families: string[]; method: string; resource: string | null; url: string }[]
For each write a page made, the resource it couples to and the GET families it updates. A write that couples to no resource reports
resource: nulland no families; that is the uncovered case.