A machine for performing a method for immediate identification and rapid comparative assessment of indicators of the presence of infections and/or risk situations related to gastroduodenal pathologies, characterized in that it comprises a measurement unit that is constituted by a container supplied by means for aspirating gastric juices in which an agitator of the mixture of gastric juice, reagents and water operates, and at least one probe for sensing the values of the analysis, a hydraulic section that comprises a set of tanks for the reagents required for the analysis and for the water, which are connected to respective apparatuses for feeding said measurement unit and to a pump for feeding water into the stomach of the patient, an apparatus for controlling the temperature of said container, and an electrical section, which comprises a programmable control unit for actuating and controlling said feeder apparatuses and said measurement unit and is suitable to determine the test execution methods.