This is a very sophisticated question. Normally, small polar molecules and branched polar molecules dissolve very well in polar solvents. However, your question was about nonpolar compounds in nonpolar solvents. It is hard to give you an EXACT answer because slight differences are not so easy to measure and solvents vary widely. I have searched a few books and even a Google search of the chemical literature and have not seen any direct studies. It appears if a hydrocarbon is dissolved in a nonpolar solvent, it it usually soluble to all extents whether small, medium or large, branched or unbranched. If the molecule has ANY polarity, this can reduce the ability to dissolve somewhat. Through the years I have never had a problem with nonpolar molecules in nonpolar solvents, however when polarity and dipoles are considered then sometimes trial and error is needed. If I find any literature data, I will post it.
One final point..... If a molecule is extremely large such as a polymer and we noted that it didnt dissolve as well as a smaller hydrocarbon, a possible reason would be that portions of the chain existed in a conformation such as a helix which could in theory interact differently with the solvent.
Dr. Jim Romano