Analysis of a urine sample to diagnose disease using a variety of tests. The most common and significant substances found in the urine are protein, glucose, ketones, blood, red and white blood cells, crystals and casts. Certain tests can also be run to check the function of the kidneys.