CodeInspector`
CodeInspector`

CodeInspectSummarize

CodeInspectSummarize["code"]

inspects a string of WL code returning an inspection summary.

CodeInspectSummarize[File[src]]

inspects a file of WL code returning an inspection summary.

Details and Options

  • The following options can be given to CodeInspectSummarize:
  • ConfidenceLevel0.95confidence threshold to use for issues
    "SeverityExclusions"{"Formatting", "Remark"}severities to exclude from summary
    "TagExclusions"{}tags to exclude from summary
    PerformanceGoal"Speed"aspects of performance to try to optimize

Examples

open allclose all

Basic Examples  (1)

Options  (1)

ConfidenceLevel  (1)

Only issues with a confidence equal to or greater than the specified ConfidenceLevel will be included.

Possible Issues  (1)

A string representing a file path is treated as code.

File paths must use the File wrapper.