accessibility-checker 3.1.49 → 3.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +75 -67
  2. package/bin/achecker.js +14 -17
  3. package/bin/achecker.js.map +1 -1
  4. package/index.d.ts +6 -4
  5. package/index.js +9 -8
  6. package/index.js.map +1 -1
  7. package/lib/ACBrowserManager.d.ts +2 -2
  8. package/lib/ACBrowserManager.js +2 -3
  9. package/lib/ACBrowserManager.js.map +1 -1
  10. package/lib/ACEngineManager.d.ts +1 -12
  11. package/lib/ACEngineManager.js +72 -40
  12. package/lib/ACEngineManager.js.map +1 -1
  13. package/lib/ACHelper.js +126 -137
  14. package/lib/ACHelper.js.map +1 -1
  15. package/lib/api/IChecker.d.ts +3 -114
  16. package/lib/api/IChecker.js +1 -1
  17. package/lib/api/IChecker.js.map +1 -1
  18. package/lib/common/api-ext/Fetch.d.ts +16 -0
  19. package/lib/common/api-ext/Fetch.js +83 -0
  20. package/lib/common/api-ext/Fetch.js.map +1 -0
  21. package/lib/common/api-ext/IAbstractAPI.d.ts +34 -0
  22. package/lib/common/api-ext/IAbstractAPI.js +18 -0
  23. package/lib/common/api-ext/IAbstractAPI.js.map +1 -0
  24. package/lib/common/config/ACConfigManager.d.ts +7 -0
  25. package/lib/{ACConfigManager.js → common/config/ACConfigManager.js} +28 -19
  26. package/lib/common/config/ACConfigManager.js.map +1 -0
  27. package/lib/{ACConstants.d.ts → common/config/ACConstants.d.ts} +2 -2
  28. package/lib/{ACConstants.js → common/config/ACConstants.js} +7 -5
  29. package/lib/common/config/ACConstants.js.map +1 -0
  30. package/lib/common/config/IArchive.d.ts +37 -0
  31. package/lib/{reporters/multiScanReportUtil.d.ts → common/config/IArchive.js} +4 -5
  32. package/lib/common/config/IArchive.js.map +1 -0
  33. package/lib/common/config/IConfig.d.ts +146 -0
  34. package/lib/common/config/IConfig.js +36 -0
  35. package/lib/common/config/IConfig.js.map +1 -0
  36. package/lib/common/report/ACReporterCSV.d.ts +27 -0
  37. package/lib/common/report/ACReporterCSV.js +105 -0
  38. package/lib/common/report/ACReporterCSV.js.map +1 -0
  39. package/lib/common/report/ACReporterHTML.d.ts +26 -0
  40. package/lib/common/report/ACReporterHTML.js +94 -0
  41. package/lib/common/report/ACReporterHTML.js.map +1 -0
  42. package/lib/common/report/ACReporterJSON.d.ts +46 -0
  43. package/lib/common/report/ACReporterJSON.js +140 -0
  44. package/lib/common/report/ACReporterJSON.js.map +1 -0
  45. package/lib/{log/ACMetricsLogger.d.ts → common/report/ACReporterMetrics.d.ts} +11 -6
  46. package/lib/{log/ACMetricsLogger.js → common/report/ACReporterMetrics.js} +85 -70
  47. package/lib/common/report/ACReporterMetrics.js.map +1 -0
  48. package/lib/common/report/ACReporterXLSX.d.ts +37 -0
  49. package/lib/common/report/ACReporterXLSX.js +1004 -0
  50. package/lib/common/report/ACReporterXLSX.js.map +1 -0
  51. package/lib/common/report/BaselineManager.d.ts +169 -0
  52. package/lib/common/report/BaselineManager.js +355 -0
  53. package/lib/common/report/BaselineManager.js.map +1 -0
  54. package/lib/common/report/ReporterManager.d.ts +79 -0
  55. package/lib/common/report/ReporterManager.js +552 -0
  56. package/lib/common/report/ReporterManager.js.map +1 -0
  57. package/lib/common/report/genReport.js.map +1 -0
  58. package/package.json +1 -1
  59. package/lib/ACConfigManager.d.ts +0 -7
  60. package/lib/ACConfigManager.js.map +0 -1
  61. package/lib/ACConstants.js.map +0 -1
  62. package/lib/ACReportManager.d.ts +0 -590
  63. package/lib/ACReportManager.js +0 -1201
  64. package/lib/ACReportManager.js.map +0 -1
  65. package/lib/api/IEngine.d.ts +0 -129
  66. package/lib/api/IEngine.js +0 -110
  67. package/lib/api/IEngine.js.map +0 -1
  68. package/lib/log/ACMetricsLogger.js.map +0 -1
  69. package/lib/reporters/ACReporterCSV.d.ts +0 -103
  70. package/lib/reporters/ACReporterCSV.js +0 -193
  71. package/lib/reporters/ACReporterCSV.js.map +0 -1
  72. package/lib/reporters/ACReporterHTML.d.ts +0 -114
  73. package/lib/reporters/ACReporterHTML.js +0 -360
  74. package/lib/reporters/ACReporterHTML.js.map +0 -1
  75. package/lib/reporters/ACReporterJSON.d.ts +0 -114
  76. package/lib/reporters/ACReporterJSON.js +0 -277
  77. package/lib/reporters/ACReporterJSON.js.map +0 -1
  78. package/lib/reporters/ACReporterXLSX.d.ts +0 -109
  79. package/lib/reporters/ACReporterXLSX.js +0 -405
  80. package/lib/reporters/ACReporterXLSX.js.map +0 -1
  81. package/lib/reporters/ReportUtil.d.ts +0 -33
  82. package/lib/reporters/ReportUtil.js +0 -65
  83. package/lib/reporters/ReportUtil.js.map +0 -1
  84. package/lib/reporters/genReport.js.map +0 -1
  85. package/lib/reporters/multiScanData.d.ts +0 -27
  86. package/lib/reporters/multiScanData.js +0 -190
  87. package/lib/reporters/multiScanData.js.map +0 -1
  88. package/lib/reporters/multiScanReport.d.ts +0 -25
  89. package/lib/reporters/multiScanReport.js +0 -1729
  90. package/lib/reporters/multiScanReport.js.map +0 -1
  91. package/lib/reporters/multiScanReportUtil.js +0 -49
  92. package/lib/reporters/multiScanReportUtil.js.map +0 -1
  93. /package/lib/{reporters → common/report}/genReport.d.ts +0 -0
  94. /package/lib/{reporters → common/report}/genReport.js +0 -0
@@ -0,0 +1,79 @@
1
+ /******************************************************************************
2
+ Copyright:: 2023- IBM, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ *****************************************************************************/
16
+ /// <reference types="node" />
17
+ import { IAbstractAPI } from "../api-ext/IAbstractAPI";
18
+ import { IConfigInternal } from "../config/IConfig";
19
+ import { CompressedReport, IBaselineReport, IEngineReport, IRuleset } from "../engine/IReport";
20
+ export interface IReporterStored {
21
+ startScan: number;
22
+ url: string;
23
+ pageTitle: string;
24
+ label: string;
25
+ scanProfile: string;
26
+ engineReport: IBaselineReport;
27
+ }
28
+ export type GenSummReturn = {
29
+ summaryPath: string;
30
+ summary: string | Buffer | ((filename?: string) => Promise<void>);
31
+ } | void;
32
+ export interface IReporter {
33
+ name(): string;
34
+ generateReport(config: IConfigInternal, rulesets: IRuleset[], reportData: IReporterStored): {
35
+ reportPath: string;
36
+ report: string;
37
+ } | void;
38
+ generateSummary(config: IConfigInternal, rulesets: IRuleset[], endReport: number, summaryData: CompressedReport[]): Promise<GenSummReturn>;
39
+ }
40
+ /**
41
+ * This interface is responsible for aChecker reporters which will be used to: collect scan results
42
+ * generate the results to a particular format per file, and generate a final summary
43
+ */
44
+ export declare class ReporterManager {
45
+ private static config;
46
+ private static rulesets;
47
+ private static absAPI;
48
+ private static reporters;
49
+ private static reports;
50
+ private static nlsData;
51
+ private static usedLabels;
52
+ private static returnReporter;
53
+ private static scanID;
54
+ private static toolID;
55
+ private static compressReport;
56
+ static uncompressReport(report: CompressedReport): IReporterStored;
57
+ static initialize(config: IConfigInternal, absAPI: IAbstractAPI, rulesets: IRuleset[]): void;
58
+ static setConfig(config: IConfigInternal): void;
59
+ /**
60
+ * This function is responsible for printing the scan results to string with the intent of that going to the console.
61
+ *
62
+ * @param {Object} results - Provide the results from the scan.
63
+ *
64
+ * @return {String} resultsString - String representation of the results/violations.
65
+ *
66
+ * PUBLIC API
67
+ *
68
+ * @memberOf this
69
+ */
70
+ static stringifyResults(reportP: IBaselineReport): string;
71
+ private static getHelpUrl;
72
+ static addEngineReport(scanProfile: string, startScan: number, url: string, pageTitle: string, label: string, engineReport: IEngineReport): IBaselineReport;
73
+ static generateSummaries(endReport?: number): Promise<void>;
74
+ private static valueToLevel;
75
+ private static filterReport;
76
+ private static getCounts;
77
+ private static isLabelUnique;
78
+ private static verifyLabel;
79
+ }
@@ -0,0 +1,552 @@
1
+ "use strict";
2
+ /******************************************************************************
3
+ Copyright:: 2023- IBM, Inc
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ *****************************************************************************/
17
+ var __assign = (this && this.__assign) || function () {
18
+ __assign = Object.assign || function(t) {
19
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
20
+ s = arguments[i];
21
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
22
+ t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
29
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
30
+ return new (P || (P = Promise))(function (resolve, reject) {
31
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
32
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
33
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
34
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
35
+ });
36
+ };
37
+ var __generator = (this && this.__generator) || function (thisArg, body) {
38
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
39
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
40
+ function verb(n) { return function (v) { return step([n, v]); }; }
41
+ function step(op) {
42
+ if (f) throw new TypeError("Generator is already executing.");
43
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
44
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
45
+ if (y = 0, t) op = [op[0] & 2, t.value];
46
+ switch (op[0]) {
47
+ case 0: case 1: t = op; break;
48
+ case 4: _.label++; return { value: op[1], done: false };
49
+ case 5: _.label++; y = op[1]; op = [0]; continue;
50
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
51
+ default:
52
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
53
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
54
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
55
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
56
+ if (t[2]) _.ops.pop();
57
+ _.trys.pop(); continue;
58
+ }
59
+ op = body.call(thisArg, _);
60
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
61
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
62
+ }
63
+ };
64
+ Object.defineProperty(exports, "__esModule", { value: true });
65
+ exports.ReporterManager = void 0;
66
+ var IConfig_1 = require("../config/IConfig");
67
+ var IReport_1 = require("../engine/IReport");
68
+ var ACReporterMetrics_1 = require("./ACReporterMetrics");
69
+ var ACReporterCSV_1 = require("./ACReporterCSV");
70
+ var ACReporterHTML_1 = require("./ACReporterHTML");
71
+ var ACReporterJSON_1 = require("./ACReporterJSON");
72
+ var ACReporterXLSX_1 = require("./ACReporterXLSX");
73
+ ;
74
+ /**
75
+ * This interface is responsible for aChecker reporters which will be used to: collect scan results
76
+ * generate the results to a particular format per file, and generate a final summary
77
+ */
78
+ var ReporterManager = exports.ReporterManager = /** @class */ (function () {
79
+ function ReporterManager() {
80
+ }
81
+ ReporterManager.compressReport = function (report) {
82
+ ReporterManager.scanID = report.engineReport.scanID;
83
+ ReporterManager.toolID = report.engineReport.toolID;
84
+ for (var ruleId in report.engineReport.nls) {
85
+ ReporterManager.nlsData[ruleId] = ReporterManager.nlsData[ruleId] || {};
86
+ for (var reasonId in report.engineReport.nls[ruleId]) {
87
+ ReporterManager.nlsData[ruleId][reasonId] = report.engineReport.nls[ruleId][reasonId];
88
+ }
89
+ }
90
+ var compressedResults = [];
91
+ for (var _i = 0, _a = report.engineReport.results; _i < _a.length; _i++) {
92
+ var result = _a[_i];
93
+ var issue = [
94
+ result.category,
95
+ result.ruleId,
96
+ result.value,
97
+ result.reasonId,
98
+ result.messageArgs,
99
+ result.path,
100
+ result.ruleTime,
101
+ result.snippet,
102
+ result.help,
103
+ result.ignored,
104
+ result.message // 10
105
+ ];
106
+ for (var idx = 0; idx < issue.length; ++idx) {
107
+ if (typeof issue[idx] === "string" && issue[idx].length > 32000) {
108
+ issue[idx] = issue[idx].substring(0, 32000 - 3) + "...";
109
+ }
110
+ }
111
+ compressedResults.push(issue);
112
+ }
113
+ var retVal = [
114
+ report.startScan,
115
+ report.url || "",
116
+ report.pageTitle || "",
117
+ report.label || "",
118
+ report.scanProfile || "",
119
+ report.engineReport.numExecuted,
120
+ report.engineReport.summary.scanTime,
121
+ report.engineReport.summary.ruleArchive,
122
+ report.engineReport.summary.policies,
123
+ report.engineReport.summary.reportLevels,
124
+ compressedResults // 10
125
+ ];
126
+ for (var idx = 0; idx < retVal.length; ++idx) {
127
+ if (typeof retVal[idx] === "string" && retVal[idx].length > 32000) {
128
+ retVal[idx] = retVal[idx].substring(0, 32000 - 3) + "...";
129
+ }
130
+ }
131
+ if (retVal[1].startsWith("data:") && retVal[1].length > 300) {
132
+ retVal[1] = retVal[1].substring(0, 300 - 3) + "...";
133
+ }
134
+ return retVal;
135
+ };
136
+ ReporterManager.uncompressReport = function (report) {
137
+ var results = [];
138
+ var nls = {};
139
+ for (var _i = 0, _a = report[10]; _i < _a.length; _i++) {
140
+ var issue = _a[_i];
141
+ var result = {
142
+ category: issue[0],
143
+ ruleId: issue[1],
144
+ value: issue[2],
145
+ reasonId: issue[3],
146
+ messageArgs: issue[4],
147
+ apiArgs: [],
148
+ path: issue[5],
149
+ ruleTime: issue[6],
150
+ message: issue[10],
151
+ snippet: issue[7],
152
+ help: issue[8],
153
+ ignored: issue[9],
154
+ level: ReporterManager.valueToLevel(issue[2])
155
+ };
156
+ results.push(result);
157
+ nls[result.ruleId] = nls[result.ruleId] || {};
158
+ nls[result.ruleId][result.reasonId] = ReporterManager.nlsData[result.ruleId][result.reasonId];
159
+ }
160
+ var engineReport = {
161
+ results: results,
162
+ numExecuted: report[5],
163
+ nls: nls,
164
+ summary: {
165
+ counts: {
166
+ violation: 0,
167
+ potentialviolation: 0,
168
+ recommendation: 0,
169
+ potentialrecommendation: 0,
170
+ manual: 0,
171
+ pass: 0,
172
+ ignored: 0,
173
+ elements: 0,
174
+ elementsViolation: 0,
175
+ elementsViolationReview: 0
176
+ },
177
+ scanTime: report[6],
178
+ ruleArchive: report[7],
179
+ policies: report[8],
180
+ reportLevels: report[9],
181
+ startScan: report[0],
182
+ URL: report[1]
183
+ },
184
+ scanID: ReporterManager.scanID,
185
+ toolID: ReporterManager.toolID,
186
+ label: report[3]
187
+ };
188
+ engineReport.summary.counts = ReporterManager.getCounts(engineReport);
189
+ return {
190
+ startScan: report[0],
191
+ url: report[1],
192
+ pageTitle: report[2] || "",
193
+ label: report[3],
194
+ scanProfile: report[4],
195
+ engineReport: engineReport
196
+ };
197
+ };
198
+ ReporterManager.initialize = function (config, absAPI, rulesets) {
199
+ ReporterManager.config = config;
200
+ ReporterManager.absAPI = absAPI;
201
+ ReporterManager.rulesets = rulesets;
202
+ if (config.perfMetrics) {
203
+ ReporterManager.reporters.push(new ACReporterMetrics_1.ACReporterMetrics(config.toolName, config.policies));
204
+ }
205
+ if (!config.outputFormat.includes("disable")) {
206
+ if (config.outputFormat.includes("json")) {
207
+ ReporterManager.reporters.push(new ACReporterJSON_1.ACReporterJSON());
208
+ }
209
+ if (config.outputFormat.includes("html")) {
210
+ ReporterManager.reporters.push(new ACReporterHTML_1.ACReporterHTML());
211
+ }
212
+ if (config.outputFormat.includes("csv")) {
213
+ ReporterManager.reporters.push(new ACReporterCSV_1.ACReporterCSV());
214
+ }
215
+ if (config.outputFormat.includes("xlsx")) {
216
+ ReporterManager.reporters.push(new ACReporterXLSX_1.ACReporterXLSX());
217
+ }
218
+ }
219
+ };
220
+ ReporterManager.setConfig = function (config) {
221
+ ReporterManager.generateSummaries();
222
+ ReporterManager.config = config;
223
+ ReporterManager.reporters = [];
224
+ ReporterManager.reporters.push(new ACReporterMetrics_1.ACReporterMetrics(config.toolName, config.policies));
225
+ if (!config.outputFormat.includes("disable")) {
226
+ if (config.outputFormat.includes("json")) {
227
+ ReporterManager.reporters.push(new ACReporterJSON_1.ACReporterJSON());
228
+ }
229
+ if (config.outputFormat.includes("html")) {
230
+ ReporterManager.reporters.push(new ACReporterHTML_1.ACReporterHTML());
231
+ }
232
+ if (config.outputFormat.includes("csv")) {
233
+ ReporterManager.reporters.push(new ACReporterCSV_1.ACReporterCSV());
234
+ }
235
+ if (config.outputFormat.includes("xlsx")) {
236
+ ReporterManager.reporters.push(new ACReporterXLSX_1.ACReporterXLSX());
237
+ }
238
+ }
239
+ };
240
+ /**
241
+ * This function is responsible for printing the scan results to string with the intent of that going to the console.
242
+ *
243
+ * @param {Object} results - Provide the results from the scan.
244
+ *
245
+ * @return {String} resultsString - String representation of the results/violations.
246
+ *
247
+ * PUBLIC API
248
+ *
249
+ * @memberOf this
250
+ */
251
+ ReporterManager.stringifyResults = function (reportP) {
252
+ if (!reportP.results) {
253
+ return "ERROR: ".concat(JSON.stringify(reportP));
254
+ }
255
+ var report = reportP;
256
+ // console.log(report);
257
+ // Variable Decleration
258
+ var resultsString = "Scan: ".concat(report.label, "\n");
259
+ // Loop over the reports and build the string version of the the issues within each report
260
+ report.results && report.results.forEach(function (issue) {
261
+ if (ReporterManager.config.reportLevels.includes(issue.level)) {
262
+ // Build string of the issues with only level, messageCode, xpath and snippet.
263
+ resultsString += "- Message: " + issue.message +
264
+ "\n Level: " + issue.level +
265
+ "\n XPath: " + issue.path.dom +
266
+ "\n Snippet: " + issue.snippet +
267
+ "\n Help: " + issue.help +
268
+ "\n";
269
+ }
270
+ });
271
+ return resultsString;
272
+ };
273
+ ;
274
+ ReporterManager.getHelpUrl = function (issue) {
275
+ if (issue.help)
276
+ return issue.help;
277
+ var config = ReporterManager.config;
278
+ var helpUrl = ReporterManager.absAPI.getChecker().engine.getHelp(issue.ruleId, issue.reasonId, !config.ruleArchivePath ? config.ruleArchive : config.ruleArchivePath.substring(config.ruleArchivePath.lastIndexOf("/") + 1));
279
+ var minIssue = {
280
+ message: issue.message,
281
+ snippet: issue.snippet,
282
+ value: issue.value,
283
+ reasonId: issue.reasonId,
284
+ ruleId: issue.ruleId,
285
+ msgArgs: issue.messageArgs
286
+ };
287
+ return "".concat(helpUrl, "#").concat(encodeURIComponent(JSON.stringify(minIssue)));
288
+ };
289
+ ReporterManager.addEngineReport = function (scanProfile, startScan, url, pageTitle, label, engineReport) {
290
+ ReporterManager.verifyLabel(label);
291
+ ReporterManager.usedLabels[label] = true;
292
+ var filteredReport = ReporterManager.filterReport(engineReport, label);
293
+ if (filteredReport && filteredReport.results) {
294
+ for (var _i = 0, _a = filteredReport.results; _i < _a.length; _i++) {
295
+ var issue = _a[_i];
296
+ issue.help = ReporterManager.getHelpUrl(issue);
297
+ }
298
+ }
299
+ var storedReport = {
300
+ startScan: startScan,
301
+ url: url,
302
+ pageTitle: pageTitle,
303
+ label: label,
304
+ scanProfile: scanProfile,
305
+ engineReport: filteredReport
306
+ };
307
+ var compressedReport = this.compressReport(storedReport);
308
+ if (ReporterManager.reporters.length > 0) {
309
+ ReporterManager.reports.push(compressedReport);
310
+ for (var _b = 0, _c = ReporterManager.reporters; _b < _c.length; _b++) {
311
+ var reporter = _c[_b];
312
+ var reportInfo = reporter.generateReport(ReporterManager.config, ReporterManager.rulesets, storedReport);
313
+ if (reportInfo) {
314
+ var reportPath = reportInfo.reportPath, report = reportInfo.report;
315
+ ReporterManager.absAPI.writeFileSync(reportPath, report);
316
+ }
317
+ }
318
+ }
319
+ var retVal = ReporterManager.returnReporter.generateReport(ReporterManager.config, ReporterManager.rulesets, storedReport);
320
+ if (retVal)
321
+ return JSON.parse(retVal.report);
322
+ };
323
+ ReporterManager.generateSummaries = function (endReport) {
324
+ return __awaiter(this, void 0, void 0, function () {
325
+ var _i, _a, reporter, summaryInfo, summaryPath, summary, outFile, err_1;
326
+ return __generator(this, function (_b) {
327
+ switch (_b.label) {
328
+ case 0:
329
+ // If no scans, don't generate summaries
330
+ if (ReporterManager.reports.length === 0)
331
+ return [2 /*return*/];
332
+ _i = 0, _a = ReporterManager.reporters;
333
+ _b.label = 1;
334
+ case 1:
335
+ if (!(_i < _a.length)) return [3 /*break*/, 9];
336
+ reporter = _a[_i];
337
+ _b.label = 2;
338
+ case 2:
339
+ _b.trys.push([2, 7, , 8]);
340
+ return [4 /*yield*/, reporter.generateSummary(ReporterManager.config, ReporterManager.rulesets, endReport || new Date().getTime(), ReporterManager.reports)];
341
+ case 3:
342
+ summaryInfo = _b.sent();
343
+ if (!summaryInfo) return [3 /*break*/, 6];
344
+ summaryPath = summaryInfo.summaryPath, summary = summaryInfo.summary;
345
+ if (!(summaryPath && summary)) return [3 /*break*/, 6];
346
+ if (!(typeof summary === "function")) return [3 /*break*/, 5];
347
+ outFile = ReporterManager.absAPI.prepFileSync(summaryPath);
348
+ return [4 /*yield*/, summary(outFile)];
349
+ case 4:
350
+ _b.sent();
351
+ return [3 /*break*/, 6];
352
+ case 5:
353
+ ReporterManager.absAPI.writeFileSync(summaryPath, summary);
354
+ _b.label = 6;
355
+ case 6: return [3 /*break*/, 8];
356
+ case 7:
357
+ err_1 = _b.sent();
358
+ console.error(err_1);
359
+ return [3 /*break*/, 8];
360
+ case 8:
361
+ _i++;
362
+ return [3 /*break*/, 1];
363
+ case 9:
364
+ ReporterManager.reports = [];
365
+ return [2 /*return*/];
366
+ }
367
+ });
368
+ });
369
+ };
370
+ ReporterManager.valueToLevel = function (reportValue) {
371
+ var reportLevel;
372
+ if (reportValue[1] === "PASS") {
373
+ reportLevel = IConfig_1.eRuleLevel.pass;
374
+ }
375
+ else if ((reportValue[0] === "VIOLATION" || reportValue[0] === "RECOMMENDATION") && reportValue[1] === "MANUAL") {
376
+ reportLevel = IConfig_1.eRuleLevel.manual;
377
+ }
378
+ else if (reportValue[0] === "VIOLATION") {
379
+ if (reportValue[1] === "FAIL") {
380
+ reportLevel = IConfig_1.eRuleLevel.violation;
381
+ }
382
+ else if (reportValue[1] === "POTENTIAL") {
383
+ reportLevel = IConfig_1.eRuleLevel.potentialviolation;
384
+ }
385
+ }
386
+ else if (reportValue[0] === "RECOMMENDATION") {
387
+ if (reportValue[1] === "FAIL") {
388
+ reportLevel = IConfig_1.eRuleLevel.recommendation;
389
+ }
390
+ else if (reportValue[1] === "POTENTIAL") {
391
+ reportLevel = IConfig_1.eRuleLevel.potentialrecommendation;
392
+ }
393
+ }
394
+ return reportLevel;
395
+ };
396
+ ReporterManager.filterReport = function (engineResult, scanLabel) {
397
+ var ignoreLookup = {};
398
+ var baselineReport = ReporterManager.absAPI.loadBaseline(scanLabel);
399
+ if (baselineReport) {
400
+ for (var _i = 0, _a = baselineReport.results; _i < _a.length; _i++) {
401
+ var issue = _a[_i];
402
+ ignoreLookup[issue.path.dom] = ignoreLookup[issue.path.dom] || {};
403
+ ignoreLookup[issue.path.dom][issue.ruleId] = ignoreLookup[issue.path.dom][issue.ruleId] || {};
404
+ ignoreLookup[issue.path.dom][issue.ruleId][issue.reasonId] = true;
405
+ }
406
+ }
407
+ var retVal = JSON.parse(JSON.stringify(engineResult));
408
+ // Set the config level and filter the results. Make note of which NLS keys we need
409
+ var keepNlsKeys = {};
410
+ retVal.results = retVal.results.map(function (pageResult) {
411
+ // Fetch the level from the results
412
+ var reportLevel = ReporterManager.valueToLevel(pageResult.value);
413
+ var ignored = false;
414
+ if (pageResult.value[1] !== IReport_1.eRuleConfidence.PASS && pageResult.path.dom in ignoreLookup && pageResult.ruleId in ignoreLookup[pageResult.path.dom] && ignoreLookup[pageResult.path.dom][pageResult.ruleId][pageResult.reasonId]) {
415
+ ignored = true;
416
+ }
417
+ return __assign(__assign({}, pageResult), { ignored: ignored, level: reportLevel });
418
+ });
419
+ retVal.summary = {};
420
+ retVal.summary.counts = ReporterManager.getCounts(retVal);
421
+ retVal.results = retVal.results.filter(function (pageResult) {
422
+ if (ReporterManager.config.reportLevels.includes(pageResult.level)) {
423
+ keepNlsKeys[pageResult.ruleId] = keepNlsKeys[pageResult.ruleId] || {
424
+ "0": true
425
+ };
426
+ keepNlsKeys[pageResult.ruleId][pageResult.reasonId] = true;
427
+ if (pageResult.message.length > 32000) {
428
+ pageResult.message = pageResult.message.substring(0, 32000 - 3) + "...";
429
+ }
430
+ if (pageResult.snippet.length > 32000) {
431
+ pageResult.snippet = pageResult.snippet.substring(0, 32000 - 3) + "...";
432
+ }
433
+ return true;
434
+ }
435
+ else {
436
+ return false;
437
+ }
438
+ });
439
+ if (retVal.nls) {
440
+ for (var ruleId in retVal.nls) {
441
+ if (!(ruleId in keepNlsKeys)) {
442
+ delete retVal.nls[ruleId];
443
+ }
444
+ else {
445
+ for (var reasonId in retVal.nls[ruleId]) {
446
+ if (!(reasonId in keepNlsKeys[ruleId])) {
447
+ delete retVal.nls[ruleId][reasonId];
448
+ }
449
+ }
450
+ }
451
+ }
452
+ }
453
+ return retVal;
454
+ };
455
+ ReporterManager.getCounts = function (engineReport) {
456
+ var counts = {
457
+ violation: 0,
458
+ potentialviolation: 0,
459
+ recommendation: 0,
460
+ potentialrecommendation: 0,
461
+ manual: 0,
462
+ pass: 0,
463
+ ignored: 0,
464
+ elements: 0,
465
+ elementsViolation: 0,
466
+ elementsViolationReview: 0
467
+ };
468
+ var elementSet = new Set();
469
+ var elementViolationSet = new Set();
470
+ var elementViolationReviewSet = new Set();
471
+ for (var _i = 0, _a = engineReport.results; _i < _a.length; _i++) {
472
+ var issue = _a[_i];
473
+ elementSet.add(issue.path.dom);
474
+ if (issue.ignored) {
475
+ ++counts.ignored;
476
+ }
477
+ else {
478
+ ++counts[issue.level.toString()];
479
+ if (issue.level === IConfig_1.eRuleLevel.violation) {
480
+ elementViolationSet.add(issue.path.dom);
481
+ elementViolationReviewSet.add(issue.path.dom);
482
+ }
483
+ else if (issue.level === IConfig_1.eRuleLevel.potentialviolation || issue.level === IConfig_1.eRuleLevel.manual) {
484
+ elementViolationReviewSet.add(issue.path.dom);
485
+ }
486
+ }
487
+ }
488
+ counts.elements = elementSet.size;
489
+ counts.elementsViolation = elementViolationSet.size;
490
+ counts.elementsViolationReview = elementViolationReviewSet.size;
491
+ return counts;
492
+ };
493
+ ReporterManager.isLabelUnique = function (label) {
494
+ return !(label in ReporterManager.usedLabels);
495
+ };
496
+ ReporterManager.verifyLabel = function (label) {
497
+ // In the case that the label is null or undefined, throw an error using the karma API
498
+ // console.error with the message of the error.
499
+ if (label === null || typeof label === "undefined" || label === undefined) {
500
+ // Variable Decleration
501
+ var testcaseWhichIsMissingRequiredLabel = null;
502
+ var generalErrorMessageLabelNotUnique = "\n[Error] labelNotProvided: Label must be provided when calling aChecker.getCompliance.";
503
+ // Get the caller of the aChecker.getCompliance function which will be the testcase that is calling this function
504
+ // This way we can make it the error more descriptive and would help the user identify where the issues is.
505
+ // We have to build and throw an Error() object and then using the try/catch to catch this error and then extract the
506
+ // stack and parse it to get the 2nd element in the stack which will be the caller of this function which will be the
507
+ // testcase which called this function.
508
+ try {
509
+ // Throw Error() object
510
+ throw new Error();
511
+ }
512
+ catch (exception) {
513
+ // Extract the stack trace from the error object and parse it to get the single one caller up which will be the 2nd index
514
+ testcaseWhichIsMissingRequiredLabel = exception.stack.split("\n")[1];
515
+ // Call the Karma error API, to send message to the Karma server that there was an error on the client side
516
+ ReporterManager.absAPI.error("Label was not provided at: " + testcaseWhichIsMissingRequiredLabel + generalErrorMessageLabelNotUnique);
517
+ }
518
+ }
519
+ // Check to make sure that the label that is provided is unique with all the other ones
520
+ // that we have gone through.
521
+ var labelUnique = ReporterManager.isLabelUnique(label);
522
+ // In the case that the label is not unique
523
+ if (!labelUnique) {
524
+ // Variable Decleration dependencies/tools-rules-html/v2/a11y/test/g471/Table-DataNoSummaryARIA.html
525
+ var testcaseDoesNotUseUniqueLabel = null;
526
+ var generalErrorMessageLabelNotUnique = "\n[Error] labelNotUnique: Label provided to aChecker.getCompliance should be unique across all testcases in a single accessibility-checker session.";
527
+ // Get the caller of the aChecker.getCompliance function which will be the testcase that is calling this function
528
+ // This way we can make it the error more descriptive and would help the user identify where the issues is.
529
+ // We have to build and throw an Error() object and then using the try/catch to catch this error and then extract the
530
+ // stack and parse it to get the 2nd element in the stack which will be the caller of this function which will be the
531
+ // testcase which called this function.
532
+ try {
533
+ // Throw Error() object
534
+ throw new Error();
535
+ }
536
+ catch (exception) {
537
+ // Extract the stack trace from the error object and parse it to get the single one caller up which will be the 2nd index
538
+ testcaseDoesNotUseUniqueLabel = exception.stack.split("\n")[1];
539
+ // Call the Karma error API, to send message to the Karma server that there was an error on the client side
540
+ ReporterManager.absAPI.error("Label \"" + label + "\" provided at: " + testcaseDoesNotUseUniqueLabel + " is not unique." + generalErrorMessageLabelNotUnique);
541
+ }
542
+ }
543
+ };
544
+ ReporterManager.reporters = [];
545
+ ReporterManager.reports = [];
546
+ ReporterManager.nlsData = {};
547
+ ReporterManager.usedLabels = {};
548
+ ReporterManager.returnReporter = new ACReporterJSON_1.ACReporterJSON();
549
+ return ReporterManager;
550
+ }());
551
+ ;
552
+ //# sourceMappingURL=ReporterManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReporterManager.js","sourceRoot":"","sources":["../../../../src-ts/lib/common/report/ReporterManager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;g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port.js","sourceRoot":"","sources":["../../../../src-ts/lib/common/report/genReport.ts"],"names":[],"mappings":";;;AACA,2EAA2E;AAC3E,sCAAsC;AACtC,SAAgB,SAAS,CAAC,MAAY;IAClC,IAAI,MAAM,GAAG,uuinBAAuuinB;UAClvinB,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;UAC1C,80hcAA80hc,CAAC;IACj1hc,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AACtC,CAAC;AALD,8BAKC"}