Gartner Research

Static Code Analysis


Static code analysis is a means of inspecting software code to verify its adherence to specific policies or rules. This Reference Architecture template describes features and capabilities required to perform static code analysis and can help you assess and improve your static code analysis practices.

Published: 19 December 2011

ID: G00219548

Analyst(s): Sean Kenefick

Table Of Contents

Template Applicability

Template Map

Template Diagram

Template Description

  • Static Code Analysis Logic
    • Parsing
    • Pattern Matching
    • Domain-Specific Rules
    • Analysis and Reporting
  • Static Code Analysis Repository
    • Analysis Rules
    • Analysis Results
    • Management Metadata
  • Interfaces
    • Code Reviews and Inspections
    • Graphical User Interfaces
    • Command Line Interfaces
    • Application Programming Interfaces
    • Plug-In Interfaces

Recommended Reading

Already a Gartner client?

Become a Client

This research is reserved for paying clients. Speak with a Gartner specialist to learn how you can access this research as a client, plus insights, advice and tools to help you achieve your goals.

Contact Information

All fields are required.

By clicking the "Submit" button, you are agreeing to the Gartner Terms of Use and Privacy Policy.

©2021 Gartner, Inc. and/or its affiliates. All rights reserved. Gartner is a registered trademark of Gartner, Inc. and its affiliates. This publication may not be reproduced or distributed in any form without Gartner’s prior written permission. It consists of the opinions of Gartner’s research organization, which should not be construed as statements of fact. While the information contained in this publication has been obtained from sources believed to be reliable, Gartner disclaims all warranties as to the accuracy, completeness or adequacy of such information. Although Gartner research may address legal and financial issues, Gartner does not provide legal or investment advice and its research should not be construed or used as such. Your access and use of this publication are governed by Gartner’s Usage Policy. Gartner prides itself on its reputation for independence and objectivity. Its research is produced independently by its research organization without input or influence from any third party. For further information, see Guiding Principles on Independence and Objectivity.