Measure-FunctionForCodePath
SYNOPSIS
Gets the number of additional code paths due to For loops.
SYNTAX
Measure-FunctionForCodePath [-FunctionDefinition] <FunctionDefinitionAst> [<CommonParameters>]
DESCRIPTION
Gets the number of additional code paths due to For loops (where the For statement contains a condition), in the specified function definition.
EXAMPLES
EXAMPLE 1
Measure-FunctionForCodePath -FunctionDefinition $MyFunctionAst
Gets the number of additional code paths due to for loops in the specified function definition.
PARAMETERS
-FunctionDefinition
To specify the function definition to analyze.
Type: FunctionDefinitionAst
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).