Advanced Code Analysis with .NET

1,716 views

Published on

This presentation covers three basic ideas: static code analysis, dynamic code analysis, and the analyze-improve-monitor cycle. This session demonstrates many pragmatic tools and technologies that you can apply today within your .NET projects in order to perform effective code analysis.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,716
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Advanced Code Analysis with .NET

  1. 1. Advanced Code Analysis in .NET Stephen Ritchie Nov 14, 2012Stephen D. Ritchie – Senior Consultant – Excella Consulting, Inc., 2300 Wilson Blvd, Suite 630, Arlington, VA 22201 – 703.840.8600 – http://excella.com
  2. 2. Live Tweet, Slides and Examples• Twitter: @RuthlessHelp @Apress• Slides: http://www.slideshare.net/ruthlesshelp• Code Samples: http://github.com/ruthlesshelpStephen D. Ritchie 2
  3. 3. BlueprintStephen D. Ritchie 3
  4. 4. ToolboxStephen D. Ritchie 4
  5. 5. Da Vinci Code … AnalyzerStephen D. Ritchie 5
  6. 6. Code AnalysisStatic versusStephen D. Ritchie 6
  7. 7. Static AnalysisStephen D. Ritchie 7
  8. 8. But wait …Stephen D. Ritchie 8
  9. 9. 1940 Tacoma Narrows Bridge• Video – http://archive.org/download/SF121/SF121_51 2kb.mp4Stephen D. Ritchie 10
  10. 10. Static AnalysisSource VisualizationsCode ChecksAssembly Metrics DetectionsStephen D. Ritchie 11
  11. 11. Dynamic Analysis Visualizations Checks Metrics DetectionsStephen D. Ritchie 12
  12. 12. Blueprint 1 Analyze 2 Monitor Improve 3Stephen D. Ritchie 13
  13. 13. Toolbox FxCopDetectionsChecks Visual Studio http://blogs.msdn.com/b/codeanalysis/Stephen D. Ritchie 14
  14. 14. Toolbox StyleCopDetectionsChecks http://stylecop.codeplex.com/Stephen D. Ritchie 15
  15. 15. Toolbox ReSharper http://www.jetbrains.com/resharper/DetectionsChecks Gendarme http://www.mono-project.com/GendarmeStephen D. Ritchie 16
  16. 16. The Master CraftStephen D. Ritchie 17
  17. 17. Toolbox SimianDetections http://www.harukizaemon.com/simian/Stephen D. Ritchie 18
  18. 18. The Master Craft Duplicates Finder .NET http://www.jetbrains.com/teamcity/ Clone Doctor Semantic Designs http://www.semdesigns.com/Products/Clone/Stephen D. Ritchie 19
  19. 19. Dynamic Analysis Code CoverageStephen D. Ritchie 20
  20. 20. Toolbox dotCover http://www.jetbrains.com/dotcover/Stephen D. Ritchie 21
  21. 21. Toolbox Open Cover http://nuget.org/packages/OpenCoverStephen D. Ritchie 22
  22. 22. The Master Craft http://www.ncover.com/Stephen D. Ritchie 23
  23. 23. Dynamic Analysis Sampling InstrumentationStephen D. Ritchie 24
  24. 24. Toolbox PerformanceStephen D. Ritchie 25
  25. 25. Toolbox Performance http://www.jetbrains.com/profiler/Stephen D. Ritchie 26
  26. 26. The Master CraftStephen D. Ritchie 27
  27. 27. The Master Craft Memory Queries Logging SecurityStephen D. Ritchie 28
  28. 28. Static AnalysisSource VisualizationsCode ChecksAssembly Metrics DetectionsStephen D. Ritchie 29
  29. 29. The Master Craft Code QualityVisualizations http://www.ndepend.com/ChecksMetricsDetections http://www.lattix.com/Stephen D. Ritchie 30
  30. 30. Hanselman’s Placemat http://bit.ly/LwKfwKStephen D. Ritchie 31
  31. 31. Shameless Self Promotion Time! • 40% off eBook at apress.com • Use promo code: PR0N3T • Offer expires 15-Dec- 2012Stephen D. Ritchie 32
  32. 32. Stephen’s Contact Info• Twitter: @ruthlesshelp• Email: stephen.ritchie@excella.com• Blog: http://ruthlesslyhelpful.net• LinkedIn: http://www.linkedin.com/in/sritchieStephen D. Ritchie 33

×