MSOCAF vs SPCAF

We often get asked what is the difference between SPCAF and the free Microsoft SharePoint Online Code Analysis Framework (MSOCAF).

Both MSOCAF and SPCAF analyse SharePoint customizations and have some features in common. But there are some big differences:

  • For a start MSOCAF has not been updated since 2013 and will only analyse the assembly code. It will simply ignore all SharePoint solutions or app files.
  • MSOCAF is not customizable regarding rules and reports.
  • MSOCAF is very limited in the ways to run the analysis.

You can compare all features in the table below. To learn more about the in-depth results that SPCAF provides you with, give it a try for free:

By the way, in case you are not yet convinced, Microsoft itself is using and recommending our tools in the Office Developer Center.

MSOCAF
SPCAF
Last updated May 2013 February 2018
Components
Code Quality Assurance 122 rules
(including SPDisposeCheck and partly FxCop)
>1000 + rules
(+ those from MSOCAF+ SPDisposeCheck + FxCop)
Code Metrics Calculation
Code Dependencies Analysis No Yes
Code Inventory Documentation No Yes
Project Quality Tracking No Yes
Customization Types
Farm Solutions (.wsp) Limited Yes
Sandboxed Solutions (.wsp) Yes Yes
SharePoint Add-ins (.app) No Yes
SharePoint Framework SPFx (.spapp) No Yes
SharePoint Code
.NET code Yes Yes
SharePoint .NET Code Limited Yes
XML (declarative code) No Yes
ASPX/ASCX No Yes
JavaScript/JSOM No Yes
PowerShell Script No Yes
Styles (.css) No Yes
Executables (.exe) No Yes
Assemblies (.dll) No Yes
Resources (resx, images,etc.) No Yes
Reports
HTML Yes Yes
Excel export (CSV) Yes Yes
DOCX No Yes
XML No Yes
Dependency Graph (DGML) No Yes
Integrations/Clients
Standalone Client Application Yes Yes
Visual Studio Support No Yes
Visual Studio Code Support No Yes
Team Foundation Server Integration No Yes
Visual Studio Team Services Integration No Yes
TeamCity Support No Yes
Jenkins Support No Yes
AvePoint DocAve Integration No Yes
Acceleratio SPDocKit Integration No Yes
PowerShell CmdLet No Yes
Guld Integration No Yes
MSBuild Tasks No Yes
Command Line Tool No Yes
3rd Party Analyzer
JSHint No Yes
CSSLint No Yes
FxCop Yes Yes
FxCop Metrics No Yes
CAT.net Yes Yes
SPDisposeChecker (only SP2007/2010)  Yes Yes
Memory Disposal in SP2013+ No Yes
Other features
Custom Rulesets No Yes
Custom rule development (SDK) No Yes
Online Help / Documentation Yes Yes
Software Assurance
Support No Yes
Updates No Yes

Click the button below to try SPCAF for free!

Update to SPCAF v7.8