Report:  Work File Creation Mode
Option:  -w
Compatible Options:  a, b, c, e, f, F, H, i, k, l, m, n, O, o, R, r, s, T, v
Usage:
rsm -H -w *.h *.cpp
rsm -H -w *.java
Source:  C, C++ and Java
RSM can perform a source code metrics differential analysis between to dated baselines.  The -w mode creates a file which contains each file and its LOC metrics by the date of the -w processing.  This mode creates a file by a name in the form of  rmMMDDCC.YY where MM is the month, DD the day, CC the century and YY is the year.

When this mode completes, the work file is copied to a file called workfile.dat.   This file is used as the last historic baseline for the -W mode.  The -W mode displays the metrics differential from the workfile.dat to the present date.

You may also use the -x option to process metrics differentials between two rmMMDDCC.YY files.

Example Content of workfile.dat
Resource Standard Metrics Work File
DO NOT EDIT - This is a Generated File
5.00
930306296
cell.h 926071044 762 23 21 11 8 36 15 0
ocean.h 926071058 574 22 20 5 8 34 11 0
target.h 926071028 727 27 24 8 9 43 12 0