Analyze an Angular project using all registered analysis rules.
Coordinates the kernel and plugins; the analysis itself happens inside the
plugin rules.
Steps:
Creates and initializes a Kernel with the AnalyzerPlugin
Retrieves all analysis rules from the registered plugins
Runs all rules concurrently. Each rule gets an analysis context whose
sourceFile is the first source file of the project; rules that look
at the whole project use context.project.
Returns the collected results
A rule that throws does not stop the run: it yields one result with the
message Rule execution failed: ... and metadata.error: true.
Analyze an Angular project using all registered analysis rules.
Coordinates the kernel and plugins; the analysis itself happens inside the plugin rules.
Steps:
Kernelwith theAnalyzerPluginsourceFileis the first source file of the project; rules that look at the whole project usecontext.project.A rule that throws does not stop the run: it yields one result with the message
Rule execution failed: ...andmetadata.error: true.