In the sense that a code smell is an indicator of a potential need for refactoring are private methods a code smell?
I was looking at some of my own code and it dawned on me that many of my public methods don't actually do anything other than consolidate private methods of the same class. Furthermore, none of the private methods relied on any member variables.
This got me thinking and I started looking through other classes. Everywhere I looked was the same pattern: private methods with little or no dependence on data in the class they were defined in.
It struck me that these private methods didn't really belong to the classes they were in. Of course extracting them to new classes would mean making them public so there was no point to them being private in the first place.
Is this universal to all private methods or have I just not looked long enough to find private methods that look like they belong in the class their in?
Update:
Judging from the responses the general consensus on this site seems to be that they are not. I was curious if there were some who disagreed. I stumbled across a debate on c2.com that brings up some interesting counterpoints.
In any case it seems that by themselves private methods don't really indicate any particular opportunity for refactoring. Thanks for all the input.