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

36,358 views
35,912 views

Published on

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

No Downloads
Views
Total views
36,358
On SlideShare
0
From Embeds
0
Number of Embeds
99
Actions
Shares
0
Downloads
38
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

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

×