Sunday, July 28, 2013

BizTalk Solution Analyzer

  The tool BizTalk Solution Analyzer allows you to analyse a BizTalk project and uses various rules to generate a report which contains information about your implementation, stored in a database so that you can do additional querying on it. It is also a perfect tool to be included in your build as it provides tasks to be included in MSBuild. This tool was created by Michael Stephenson and is packed with functionality. To use the tool, you need to;
  • Create a new database
image
  • Name it AppFx.SolutionAnalyser
clip_image005
  • Import the scripts provided with the solution
image
 
  • Open AppFx.SolutionAnalyser (and change the settings where needed)
clip_image002
clip_image008
  • The settings can be saved, and retrieved
clip_image010
  • Explicitly define the output path by typing in the path (e.g. C:\BizTalk\Settings.Xml)
clip_image012

  • The analysis should complete (if not, see the section below)
clip_image014
  • And a report Html file is generated
image
  • Which contains all the statistics
image
  • The tool additionally provides reports which can be found at the ‘Solutions’ menu bar
clip_image016
Note: It would be great if all reports would be opened after the report is completed, and even better if all the reports are shown in a single window (e.g. with a tab control)
  • The reports are great help, the most useful to my opinion is the Complexity overview!
clip_image018

clip_image020
  • Error while generating report
I did run into an error while generating the report, this error was related to the checkbox ‘SaveToDatabase=true’ (see this workitem)
clip_image022

This can be solved by changing the BaseFile.cs with the following minor change;
clip_image024

Nevertheless, a great addition to my tool belt

HTH,
Sander








No comments: