Supported Operating Systems
- Windows 98SE
- Windows Me
- Windows 2000 SP2 or higher
- Windows XP with or without SP1
Supported Browsers
- IE 5.5 SP1 or higher
- IE 6.0 with or without SP1
- IE 7
Getting Started
- If this is your first time using the application, two ActiveX
controls will be installed. These controls are not signed with
a digital signature, so you will need to set
your browser to accept unsafe ActiveX controls.
- TLTBrowseDirButton is used to browse for a directory.
- SourceCodeCompare is used to compare the source files.
- Once the ActiveX controls have been installed, you are ready
to begin.
- Temporarily disable pop-up blockers (if any).
- If you are using firewall software, you may be warned when the ActiveX program starts up. If this happens, indicate to allow the script to run to completion.
How to Login
- Launch Internet Explorer and navigate to http://www.jamesheiresconsulting.com/scc
- Login using the username and password provided to you when you
purchased EZ-Metrix. Remember that usernames and passwords are case-sensitive.
How to Measure Files
- If you haven't already defined a rule, this must be done before measuring any files (see below).
- Select the Compare Files link located at the top of the page
- Select the desired rule from the dropdown list (REQUIRED). For more information
about rules, see below.
- Enter the session name (optional). Each session has a date code assigned
automatically, if you don't provide a session name. Duplicate session names on the same day are not allowed.
- Under "Old Version Directory", enter the directory path to where
the old version of the files reside. You may also browse to the desired location with the button marked "..."
- Select the "Get Files" button (next to the Old Version Directory text box).
- If the directory is valid, the text area will fill
with the all the filenames residing in that directory.
- Under "New Version Directory", enter the directory path to where
the new version of the files reside. You may also browse to the desired location with the button marked "..."
- Select the "Get Files" button (next to the New Version Directory text box).
- If the directory is valid, the text area will fill
with the all the filenames residing in that directory.
- Select the "Compare Files" button.
- If all the information is correct, a confirmation message
will appear.
- Click the "Yes" button to continue the measurement.
- Depending on how many files you are measuring and the size of
each file, this may take some time. Please Note: The application
opens all the files in the directory as ASCII. So if you have
binary files in the directory, you may have abnormal results.
- After the measurement is complete, a report will automatically display.
View Quick Report - Select this link to view the latest report.
- A report for the most recent measurement session will be displayed.
View Past Reports - Select this link to view any past report generated.
- Select the desired session from the dropdown list.
- Select the "Get Report" button.
- The report for the selected session will be displayed.
Export Data to File - Select this link to export the session data to an Excel-compatible file.
- Select the desired session from the dropdown list.
- Select the "Get Data" button.
- Select the "Yes" button on the confirmation page.
- Browse to the location where you would like to store the resulting file, then select "Save."
- Data will be saved on the local disk.
- Select "OK" on the confirmation message.
Rules
EZ-Metrix uses two elements for each rule, comment delimiters
and a difference threshold.
Comment delimiters are used to differentiate between comments and source code, from each supported
programming language. Since each language has its own comment delimiters, you need a rule for each
language you wish to measure. You may specify a single line comment delimiter and two multi-line
comment delimiters (start and end). Each can be up to 80 characters long. Comment delimiters are
used for both comparison and non-comparison measures.
The difference threshold is a number that helps determine if a line is changed line or new, and is
used only for comparison measures. If the number of characters that have been changed is greater
than this threshold number, the line is considered new. Otherwise, the line is considered changed.
How to Create a Rule
- Select the "Create a New Rule" link.
- Enter the rule name.
- Enter the single line comment character.
- Enter the multi-line beginning comment character(s).
- Enter the multi-line ending comment character(s).
- Enter the difference threshold.
- Select the "Create New Rule" button. A confirmation message is displayed.
- The new rule is created and ready for your use.
How to Update a Rule
- Select the "Modify an Existing Rule" link.
- Select the rule to update from the dropdown list.
- Select the "Get Rule" button.
- You are not permitted to change the rule ID.
- Change the single line comment character, if you wish.
- Change the multi-line beginning comment character(s), if you wish.
- Change the multi-line ending comment character(s), if you wish.
- Change the difference threshold, if you wish.
- Select the "Update Rule" button. A confirmation message is displayed.
- The new rule is created and ready for your use.
How to Delete a Rule (Admin only)
- Select the "Delete an Existing Rule" link. If you cannot see this link, you are not an Admin - ask your system admin to perform this function for you.
- Select the rule to update from the dropdown list.
- Select the "Delete" button. A warning message is displayed.
- Read the warning message, and if you still want to delete the rule, select the "Delete" button.
- The new rule is created and ready for your use.