We are thrilled to announce that SPCAF version 6.5 is now available!
The latest release comes with some very interesting new features further supporting SharePoint and Office 365 developers, architects and administrators with Code Quality, Code Governance and Code Transformation of their customizations.
Let’s move on and take a closer look at the newest additions in this version.
Analyze single files
In addition to analyzing packages like .wsp and .app, you can now also throw in your .js, .ps1, or .exe files and get analysis results for them.
How to do it
- Working in Visual Studio, you simply select one or more files and choose SPCAF SharePoint Code Analysis to start the analysis run.
- The files are then analyzed without the need to compiling the entire project.
- All encountered errors and warnings are then presented inside Visual Studio Error window.
Customize report templates
Sometimes report layouts need to meet a company’s design guidelines. Therefore, you can now customize templates for PDF and DOCX reports just like you are already used to from HTML reports.
How it works
The starting point for the new SPCAF PDF and DOCX reports is a Word document template (.dotx). SPCAF loads this document template file and fills in the report content every time a report is run. The final document is then saved directly as DOCX or converted to PDF.
The layout of the final report is defined by the Word styles in the template file. So all typical Word styles can be adjusted, like:
- First page of the report (cover page with title, logo, etc.)
- Header and footer of the report
- Formatting of headlines, content, and lists
- Colors and layout of tables, and much more
35+ new rules for Powershell
SPCAF now analyzes PowerShell code for correctness, security, best practices, performance and much more.
Some of these new rules:
- Do not use Invoke-Expression
- Do not use direct hardcoded file paths
- Do not use plain text for passwords
You can view the full set of new rules here.
By providing these new rules we’ve broadened our support in the Add-in and in general client-side development which will help to ensure your code is the best it can be.
Export your rulesets
To make sharing and documenting rulesets even easier, you can now export your rulesets to Word or PDF via the Settings Editor.
Three simple steps
- Open your ruleset file in the SPCAF Settings Editor and choose Export Ruleset.
- Select the output format DOCX or PDF and choose the export template. This export templates (minimal, typical and full) defines how much information from the ruleset will be exported.
- Set the output filename and you are done.
A tiny bonus feature: if you have customized the report template (see above) it will also be used for the exported ruleset.
Acceleratio Ltd. and Rencore decided to team up and deliver an SPCAF extension for SPDocKit.
SPDocKit is an awesome SharePoint admin tool that will help you automatically generate professional SharePoint documentations, manage and analyze permissions, compare farms and track changes.
With the new SPCAF integration, you now can document your entire infrastructure and get the detailed customization quality analysis reports all in one place. Together, we make sure your SharePoint farm is in great shape and looks awesome from all angles.
Visit SPDocKit to learn more about this great tool.
Free SPCAF Webinar
Check out our weekly SPCAF webinar, hosted by Matthias Einig, Microsoft MVP, to take a closer look at the new features.
In the webinar, you will get a quick tour on SPCAF, learn about getting your customizations under control and you will have the chance to get your questions answered.
Bottom line: our best SPCAF… yet.
In addition to the features above, we have also further improved the performance and handling of SPCAF. Over time, quite a few features, improvements, and fixes for SPCAF originated in the awesome feedback you, our devoted users, give us every day. A big thank you for this and please keep the discussion going!
So what are you waiting for? Get the latest version of SPCAF and let us know what you think!