An evaluation of the performance of a molecular potential energy function in dynamical calculations can be obtained by constructing bifurcation diagrams of periodic orbits. This is demonstrated for the HCN molecule by using two analytical potential functions which give a global and a local representation of the surface respectively.