A method for electronically detecting temporal relationships of Built-in-Test results that are uniquely associated with a root cause of an error, said built-in test results associated to an electronic system comprising multiple modules the method comprising: identifying, by a processor, an error code database associating individual error codes with a module identifier and a module removal time, wherein an error code comprises a plurality of event indicators and temporal data describing when each of the event indicators was generated; identifying, by a processor, a root cause database associating individual root causes with a module identifier and a root cause timestamp; generating a further database by comparing a module identifier for each error code in the error code database with the common module identifier for each root cause in the root cause data base and; if a match of the module identifier for an error code in the error code database with the common module identifier for each root cause in the root cause data base is identified, associating in said further database, by the processor, the corresponding error code, a root cause, and a module removal time; and comparing, by the processor, in case the module identifier corresponds to two root cause candidates in the root cause data base, a module removal time for the error code with root cause timestamps of the two root cause candidates to determine which one of the two root cause timestamps is closer to the module removal time and associate in said further database the error code to the root cause which is closest; analyzing, by the processor, each of the error codes in said further database to detect a first combination of event indicators within the error codes that correspond to a first root cause group and to one or more second root cause groups; wherein the first root cause group contains multiple entries of the same root cause and wherein the second root cause group corresponds to the other group of root causes; and detecting, by the processor, a temporal relationship involving the detected combination of event indicators, wherein the temporal relationship is uniquely associated with error codes corresponding to the first root cause group; and determining, by the processor, if the detected temporal relationship is associated with one or more error codes that correspond to one or more of the second root cause groups; and associating, by the processor, the detected temporal relationship with the first root cause group if the temporal relationship is not associated with one or more error codes that correspond to one or more of the second root cause groups. identifying, by a processor, an error code database associating individual error codes with a module identifier and a module removal time, wherein an error code comprises a plurality of event indicators and temporal data describing when each of the event indicators was generated; identifying, by a processor, a root cause database associating individual root causes with a module identifier and a root cause timestamp; generating a further database by comparing a module identifier for each error code in the error code database with the common module identifier for each root cause in the root cause data base and; if a match of the module identifier for an error code in the error code database with the common module identifier for each root cause in the root cause data base is identified, associating in said further database, by the processor, the corresponding error code, a root cause, and a module removal time; and comparing, by the processor, in case the module identifier corresponds to two root cause candidates in the root cause data base, a module removal time for the error code with root cause timestamps of the two root cause candidates to determine which one of the two root cause timestamps is closer to the module removal time and associate in said further database the error code to the root cause which is closest; analyzing, by the processor, each of the error codes in said further database to detect a first combination of event indicators within the error codes that correspond to a first root cause group and to one or more second root cause groups; wherein the first root cause group contains multiple entries of the same root cause and wherein the second root cause group corresponds to the other group of root causes; and detecting, by the processor, a temporal relationship involving the detected combination of event indicators, wherein the temporal relationship is uniquely associated with error codes corresponding to the first root cause group; and determining, by the processor, if the detected temporal relationship is associated with one or more error codes that correspond to one or more of the second root cause groups; and associating, by the processor, the detected temporal relationship with the first root cause group if the temporal relationship is not associated with one or more error codes that correspond to one or more of the second root cause groups.