SharePoint Code Analysis Tools in the Market

For SharePoint code analysis, various tools are available in the market. It should be noted that in SharePoint, the custom solution code needs to be validated and analyzed to maintain the high quality and the maintainability of the code.
 
The two important frameworks are:
  1. MSCOF -MICROSOFT SHAREPOINT ONLINE CODE ANALYSIS FRAMEWORK (MSOCAF)
  2. SPCAF - SHAREPOINT CODE ANALYSIS FRAMEWORK
The basic difference between these two frameworks are, while the MSOCAF mainly targets the SharePoint code deployed online using the cloud services, the SPCAF is widely used for the SharePoint farms hosted on the premises.