Movatterモバイル変換


[0]ホーム

URL:


CodeQL documentation
CodeQL resources

Missing a summary in documentation comment

ID: cs/xmldoc/missing-summaryKind: problemSecurity severity: Severity: recommendationPrecision: highTags:   - maintainability   - readabilityQuery suites:   - csharp-security-and-quality.qls

Click to see the query in the CodeQL repository

Documentation comments should contain a<summary> tag which briefly describes the purpose of the class or method.

Recommendation

Add a<summary> tag to any documentation comments which do not have one.

Example

The following example shows a<summary> tag describing a class.

/// <summary>///   A minimal threadsafe counter./// </summary>classAtomicCounter{// ...}

References


[8]ページ先頭

©2009-2025 Movatter.jp