I believe something like a dexa scan is the most reliable.
Dual energy x-ray absorptiometry (DEXA) scanning is the gold standard method used to measure and understand bone density, body fat levels and muscle mass.
If you are looking for body fat testing with precise body fat percentage and lean muscle mass analysis a DEXA body scan is the best method of measuring this.