Victims of obsessive compulsive disorder portray repetitive behaviors which they feel can help reduce anxiety. Some of the symptoms could be going overboard with cleaning, checking repeatedly and nervous rituals like opening and closing a door.
This does not mean that all those who bite their nails are victims of OCD, but can be categorized under this disorder depending upon the severity of the symptoms.
Source: Medindia