Are the Methods in Your Data Access Objects (DAOs) in the Right Place? A Preliminary Study

We propose a simple heuristic to automatically detect DAO methods that might be in the wrong place. The heuristic seems to be correct in 50% to 75% of cases.