The rule of thumb is that if you stay in Canada more than you don't, you are residing in Canada and not visiting. A visitor visa is for visitors, not for residents. The immigration officer can therefore deny you entry if they feel that you are living in Canada too long on a visitor visa and you are unable to convince them that your purpose is not to work illegally.