~/talk

Does Your Code Measure Up?

Talkat PHP UK Conference 2019 · 2019-02-20..02-22· [testing, developer-experience]
slides:none on file

Demos run actual tools (phpLOC, PHP Depend, PHPMD, copy/paste detector, PHP_CodeSniffer, PHPCompatibility) inside a Docker image and produce concrete metrics: cyclomatic complexity <6 as a personal goal (industry threshold 10), class <1000 lines, 25% comments target, and the rule of three for duplication. Reports show where complexity or duplication spikes, highlight unused code, and list exact offending files and lines. CI automates checks, commit hooks enforce coding standard failures, and broader static-analysis reports stay nonblocking so teams can refactor iteratively.

AI-written summary · about

  1. 0:00Introduction
  2. 3:04Measure
  3. 3:25Highlight Bugs
  4. 3:51Improving Code Quality
  5. 7:04Happier Customers
  6. 7:19Personal Pride
  7. 7:44Higher Income
  8. 9:23Code Smells
  9. 10:10Cyclomatic Complexity
  10. 11:46Code Duplication
  11. 13:07Classes
  12. 13:55Class Complexity
  13. 14:23Long Methods
  14. 14:34Unused Variables
  15. 14:53Comments
  16. 16:50SelfDocumenting
  17. 18:14Global Usage
  18. 21:37EXACAT
  19. 23:01Docker Image
  20. 24:46PHP Lock
  21. 26:40PHP depend
  22. 27:30XML output
  23. 28:07Copypaste detector
  24. 28:30Copypaste detector results
  25. 30:06PHP mess detector
  26. 32:01Unused filter
  27. 32:38PHP Metrics
  28. 32:57PHP Code sniffer
  29. 33:08PHP Coding Standards
  30. 34:56PHP Compatibility
  31. 37:12Other Tools
  32. 37:52Apache Bench
  33. 38:56Automation
  34. 40:20Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.