If you are use to FxCop for code analysis for .Net projects and searching for similar tool for BizTalk, then you have a good news, BizTalkCop!
BizTalkCop does a static code analysis on the assemblies. It can be used with BizTalk server 2006/R2. I have not tried with BizTalk Server 2009. I will update shortly.
You can download BizTalkCop from Here.