Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Continuous Inspection: Fight back the 7 deadly sins of a developer!

36,623 views

Published on

Published in: Technology

Continuous Inspection: Fight back the 7 deadly sins of a developer!

  1. 1. Continuous InspectionFight back the 7 deadly sins of a developer!Sebastian Marek
  2. 2. ✤ a Pole living in Sheffield✤ over 12 years in development✤ Pascal, C++, PHP, perl, python, Java✤ co-author of 2 PHP Books✤ big fan of process automation✤ TDD and CI✤ occasionally contributes to open-source projects✤ wants to be a knight @proofek h"ps://joind.in/7802
  3. 3. PRIDE WRATH LUST ENVY 7 DEADLY SINS SLOTH GREED GLUTTONY© beartoons.com
  4. 4. 1. Lust ✤ Over-engineering ✤ Design patterns ✤ Abstraction © beartoons.com
  5. 5. 2. Gluttony ✤ Over-engineering ✤ Refactoring ✤ “Spaghetti code” ✤ Feature-rich ✤ Inefficiency © beartoons.com
  6. 6. 3. Greed ✤ Competing across teams ✤ (Don’t) Reinvent the wheel ✤ Power struggle © beartoons.com
  7. 7. 5. Wrath ✤ A vehement denial of the truth ✤ Documentation ✤ Coding standards ✤ Unit tests ✤ Commit messages © beartoons.com ✤ Rushing to production
  8. 8. 4. Sloth ✤ Input validation ✤ Duplications ✤ Coding standards ✤ Lazy coding © beartoons.com ✤ Self-development ✤ Configuration “out-of-the-box”
  9. 9. 6. Envy✤ Not using version control✤ Not needed features✤ Contributions to open source projects © beartoons.com
  10. 10. 7. Pride ✤ (Don’t) Reinvent the wheel ✤ Unit tests ✤ Acceptance tests ✤ Software metrics ✤ Documentation © beartoons.com
  11. 11. Technical Debt under control ✤ drill down to source code ✤ coding rules ✤ unit tests ✤ standard metrics ✤ time machine ✤ plugins
  12. 12. Sonar plugins - languages
  13. 13. Sonar plugins - integration
  14. 14. C I vs C I
  15. 15. Continuous Integration vs C I
  16. 16. Continuous Integration vs Continuous Inspection
  17. 17. Running analysis ✤ Sonar runner ✤ Ant ✤ Maven
  18. 18. Dynamic vs static analysis
  19. 19. PHP Plugin ✤ PHPUnit ✤ PHP CodeSniffer ✤ PHP Depend ✤ PHP Mess Detector
  20. 20. Sonar widgets - Size metrics, Comments & Duplications, Unit tests coverage
  21. 21. Sonar widgets - Time machine, Rules compliance, Complexity
  22. 22. Sonar - Source code browser
  23. 23. Sonar - Source code violations
  24. 24. Sonar - Hotspots
  25. 25. Sonar - Hotspots
  26. 26. Sonar - Time machine
  27. 27. Sonar - Time machine
  28. 28. Sonar - Developers cockpit
  29. 29. Links✤ http://www.sonarsource.org/✤ http://www.sonarsource.com/✤ Sonar Demo - http://nemo.sonarsource.org/✤ Sonar as a Service (SaaS) - http://www.cloudbees.com
  30. 30. Credits✤ http://beartoons.com (the little devils)✤ http://www.flickr.com/photos/e_tavares/3499009813/sizes/l/in/photostream/
  31. 31. Q &A Thank you! h"ps://joind.in/7802

×