Skip to main content

Module analysis_options

Module analysis_options 

Source
Expand description

The analysis selection every parser and engine must honour.

Metric packs, quality dimensions, locale, and semantic hints are all requests about what to compute, and the report they produce has to be the same on every input path. Passing them as loose parameters made that easy to get wrong: a parser that took dimensions and hints but not packs or locale compiled fine and silently computed work the caller had deselected. AnalysisOptions bundles them so a path either carries the whole selection or does not compile.

Structsยง

AnalysisOptions
What to analyze, and how, for a single profiling run.