NS optimization versus NU defrag?

I've noticed when I run NS optimize it indicates degfrag is not neccesary for a particular drive, while when I run

Defrag analyze in NU it indicates the drive needs defraging.  Do both of these use the same defrag method, and which is more reliable?

Thanks,

BY