But it isn't that straightforward, because your can have a 10x ninja developer who works whenever they want and picks their own projects, but is still an employee.
I'm reasonably certain the tax code has no regulation that says you must be classed a contractor if you meet certain criteria.