.. _Compare Example:

Compare Example
---------------


Generating a compare report between current and baseline reports shows:

- all the new failures
- all the fixed failures
- all the failures of new rules
- all the failures of removed rules
- all the common failures

.. include:: ../run-in-batch-mode/compare-examples.rst

.. note::

	The input reports must be generated using -include_html_code, this information will be used in accurately detecting the changed source code

.. note::

	Use -map for situations where the compared HTML reports have been generated on the same project, but in different locations. 
	For example if the baseline report was generated for files in the folder /home/userA/path/to/baseline/project and the current report was generated for the same files, but in the following location /home/userB/path/to/current/project, then the mapping should be something like: -map PERL+.*/userA/path/to/baseline/.*=.*/userB/path/to/current/.*
	The supported types are PERL, GLOB, SIMPLE.

.. note::

	The resulting report will be placed in the current directory in a **verissimo_html_report** folder. You can change the location using **html_report_location**.
 
