Christophe Philemotte, Belighted, 9 May 2013
Developer (@toch on GitHub, @_toch on Twitter)
Author on blog.8thcolor.com
CoFounder of PullReview https://pullreview.com
I hope to see Ruby help every programmer in the world to be productive, and to
enjoy programming, and to be happy. That is the primary purpose of Ruby
language. Matz, 2008
Code is like farts. It stinks if it isn’t yours.
productivity / time
confidence
money
confidence
Functional
Structural
How it complies to the:
user stories
specs
functionalities
requirements
Reliability
Efficiency
Security
Maintainability
Size
Tests
_
_
Tests
Code Review
_
Tests
Code Review
Static Analysis
Reliability
(Efficiency)
Security
Maintainability
Size
Complexity
Duplication
Code Style
Test infection
Suspicious constructs / Flaws
Code Smells
Best Practices
Security
How complex it is to understand and modify your code.
It’s correlated to the number of bugs.
def hello_world
puts "Hello world"
end
def hello(name)
if name
puts "Hello #{name}"
end
end
def hello(name)
return unless name
puts "Hello #{name}"
end
It’s correlated to the number of bugs.
To find untested code