Report:  Extract Metrics Differentials between two work files
Option:  -x
Compatible Options:  H, O
Usage: rsm -H -x rm060119.99 rm070119.99
Source:  C, C++ and Java
The -x option processes metrics differentials between two work files.   This mode allows the user to process two different work files and generate a metrics differential.  The following use case illustrates how this mode may be useful.

The -x mode always takes the oldest file first, then the more recent file.

At the end of the project Build 1 we process a work file for the project.  The workfile.dat is copied into a file called build1_metrics.dat.  When Build 2 is complete, we process a workfile and copy it to build2_metrics.dat.  The metrics differential between the two work files is then processed to create a HTML report.   Recursive file input mode is used to capture all the code in the project tree.

End of Build 1:
  cd \project
  rsm -w -r h,cpp \project
  copy workfile.dat build1_metrics.dat

End of Build 2:
  cd \project
  rsm -w -r h,cpp \project
  copy workfile.dat build2_metrics.dat

Processing of the Build 1 to Build 2 metrics
  rsm -H -x build1_metrics.dat build2_metrics.dat > build_1_2_metrics.htm