The presence of glucose in the urine of a patent is an indication of malfunctioning…