Expand Minimize

Overview

Supported Input for SharePoint Code Analysis

The SharePoint code analysis can analyze the following input:

  • SharePoint solutions (.wsp) for SharePoint 2007/2010/2013/2016
  • SharePoint apps for SharePoint 2013/2016/Online
  • PowerShell Scripts & Modules(PS1, PSD1, PSM1, PSM1,PS1XML)
  • Page and Web Parts created in SharePoint Framework (.sppkg)
  • Web based technology files such as HTML,CSS, Javascript (HTML,HTM,JS,CSS)
  • Zip files (containing supported files)

The code within .wsp and .app files is extracted and the contained files are analyzed by the SharePoint code analyzer. This includes:

  • SharePoint artifacts in XML files, like Features, ContentTypes, ListTemplates
  • Assemblies (.dll)
  • ASP.NET files, like controls (.ascx), pages (.aspx) and master pages (.master)
  • JavaScript code, CSS

Supported SharePoint Project Types

SharePoint developers typically use different tools and templates to create SharePoint projects in Visual Studio.
The add-in for Visual Studio can be used with SharePoint projects which have been created with one of the following tools:

The SPCAF client application supports the analysis of SharePoint .wsp and .app files without having access to the source code.

Disclaimer: The views and opinions expressed in this documentation and in SPCAF do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. SPCAF and RENCORE are registered trademarks of Rencore. All other trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners.