Title: DCL19-C. Minimize the scope of variables and functions  
Author: Andrew Gidwani Apr 01, 2009
Last Changed by: Jill Britton Apr 20, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/z9YxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C Coding Standard (1)
    Page: DCL02-C. Use visually distinct identifiers
Hierarchy
Outgoing Links
External Links (10)
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
    https://www.mathworks.com/help/bugfinder/ref/certcrec.dcl19…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://pvs-studio.com/en/docs/warnings/v821/
    https://www.securecoding.cert.org/confluence/display/seccod…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://www.securecoding.cert.org/confluence/display/cplusp…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/PVS-S…
SEI CERT C Coding Standard (25)     Page: CodeSonar
    Page: Helix QAC
    Page: Parasoft_V
    Page: Helix QAC_V
    Page: PC-lint Plus_V
    Page: Polyspace Bug Finder_V
    Page: PC-lint Plus
    Page: Klocwork_V
    Page: Axivion Bauhaus Suite
    Page: Astrée_V
    Page: BB. Definitions
    Page: RuleChecker
    Page: CodeSonar_V
    Page: ECLAIR_V
    Page: Parasoft
    Page: DCL01-C. Do not reuse variable names in subscopes
    Page: DCL15-C. Declare file-scope objects or functions that do not need external linkage as static
    Home page: SEI CERT C Coding Standard
    Page: Astrée
    Page: RuleChecker_V
    Page: LDRA
    Page: PVS-Studio_V
    Page: Axivion Bauhaus Suite_V
    Page: LDRA_V
    Page: ECLAIR
SEI CERT C++ Coding Standard (2)     Page: VOID DCL07-CPP. Minimize the scope of variables and methods
    Home page: SEI CERT C++ Coding Standard