def analytic_file(self, new_status, old_status=None):
if not old_status:<EOL><INDENT>old_status = self.domain_status<EOL><DEDENT>if "<STR_LIT>" in PyFunceble.INTERN and PyFunceble.INTERN["<STR_LIT>"]:<EOL><INDENT>output = (<EOL>self.output_parent_dir<EOL>+ PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"]<EOL>+ "<STR_LIT>"<EOL>)<EOL>if new_status.lower() in PyFunceble.STATUS["<STR_LIT:list>"]["<STR_LIT>"]:<EOL><INDENT>output = output % (<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>)<EOL>Generate("<STR_LIT>").info_files()<EOL><DEDENT>elif new_status.lower() in PyFunceble.STATUS["<STR_LIT:list>"]["<STR_LIT>"]:<EOL><INDENT>output = output % (<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>)<EOL>Generate("<STR_LIT>").info_files()<EOL><DEDENT>elif new_status.lower() in PyFunceble.STATUS["<STR_LIT:list>"]["<STR_LIT>"]:<EOL><INDENT>output = output % (<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>)<EOL>Generate("<STR_LIT>").info_files()<EOL><DEDENT>else:<EOL><INDENT>output = output % (<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>PyFunceble.OUTPUTS["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"],<EOL>)<EOL>Generate("<STR_LIT>").info_files()<EOL><DEDENT>Prints(<EOL>[<EOL>self.tested,<EOL>old_status,<EOL>PyFunceble.INTERN["<STR_LIT>"],<EOL>PyFunceble.CURRENT_TIME,<EOL>],<EOL>"<STR_LIT>",<EOL>output,<EOL>True,<EOL>).data()<EOL><DEDENT>
Generate :code:`Analytic/*` files based on the given old and
new statuses.

:param new_status: The new status of the domain.
:type new_status: str

:param old_status: The old status of the domain.
:type old_status: str