Skip to content
No description, website, or topics provided.
C# PHP Java
Branch: master
Clone or download
Parajao Merge pull request #2 from thomasthiry/patch-1
Added 'dead code' to the list of code smells
Latest commit d772b7c Oct 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c-sharp fixed Sep 15, 2018
java added smelly java Sep 29, 2018
php add PHP version Jul 19, 2019
.gitignore fixed Sep 15, 2018
README.md Added 'dead code' to the list of code smells Sep 20, 2019

README.md

Code Smells Kata

Smelly Tic Tac Toe

We created a very smelly implementation of TicTacToe. There are quite a few code smells in the implementation:

  • Primitive obsession
  • Feature envy
  • Data class
  • Message chain
  • Long method
  • Comments
  • Long parameter list
  • Shotgun surgery
  • Duplicated code
  • Large class
  • Divergent change
  • Data clump
  • Lazy class
  • Dead code

Start by identifying the smells and then slowly refactor the code. Remember to keep the tests passing at all times during the refactor. It's ok to revert back to a previous working state at any moment.

You can’t perform that action at this time.