#include <sourcetools.h>
An interface that provides tools to analyze Dox pages and code snippets.
Static Public Member Functions | |
static MAXON_METHOD Result< Bool > | SearchDoxLinkIssues (const BaseArray< DoxPage > &doxPages, BaseArray< Issue > &issues) |
static MAXON_METHOD Result< Bool > | SearchBrokenSnippetRefs (const BaseArray< DoxPage > &doxPages, const BaseArray< CodeSnippet > &codeSnippets, BaseArray< Issue > &issues) |
static MAXON_METHOD Result< Bool > | SearchSnippetIssues (const BaseArray< CodeSnippet > &codeSnippets, const SnippetSettings &settings, BaseArray< Issue > &issues) |
static MAXON_METHOD Result< Bool > | SeachDoxPageTextIssues (const BaseArray< DoxPage > &doxPages, BaseArray< Issue > &issues) |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL (SourceToolsInterface, MAXON_REFERENCE_NONE, "net.sdktools.interfaces.sourcetools") | |
|
private |
|
static |
Searches for any issue with the or links in Dox pages. Warning: Executes code in parallel.
[in] | doxPages | The DoxPages to analyse. |
[out] | issues | An array of issues found. |
|
static |
Searches for broken
[in] | doxPages | The DoxPages to analyse. |
[in] | codeSnippets | The known code snippets. |
[out] | issues | An array of issues found. |
|
static |
Checks the the code snippets. Checks min. length Checks max. length CheckDoubleWords() CheckSpaceAtEnd() Checks if the snippet has at least one comment Checks if the snippet starts with a comment Checks max. line-nesting Checks max. code-nesting depth Checks max. line length GetCyclomaticComplexity() GetIfStatementComplexity()
[in] | codeSnippets | The code snippets to analyse. |
[in] | settings | The settings to use. |
[out] | issues | The issues found. |
|
static |
Checks the text of the given Dox pages. Checks for: CheckDoubleWords() CheckSpaceAtEnd()
[in] | doxPages | The Dox pages to analyse. |
[out] | issues | The issues found. |