CodeQL documentation

Missing a summary in documentation comment

ID: cs/xmldoc/missing-summary
Kind: problem
Security severity: 
Severity: recommendation
Precision: high
Tags:
   - quality
   - maintainability
   - readability
Query 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>
class AtomicCounter
{
    // ...
}

References

  • © GitHub, Inc.
  • Terms
  • Privacy
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy