Menu

#2 2 - Primitive Obsession

1.0
closed
None
2016-03-28
2016-03-28
No

In the class Spam Filter it was found a Primitive Obsession type of code smell. This type of code smell, usually appears when the code in the class relies too much on primitive types.
In more specific details, this smell manifests itself in the method currentTime() int the Class SpamFilter in the lines 98 to 103.

Method:
->currentTime(long startime);

Discussion

  • Duarte Marcelino

    • summary: 2 - TypeChecking --> 2 - Primitive Obcession
     
  • Duarte Marcelino

    • status: open --> accepted
     
  • Duarte Marcelino

    • status: accepted --> closed
     
  • Duarte Marcelino

    • summary: 2 - Primitive Obcession --> 2 - Primitive Obsession
     

Log in to post a comment.