CommitAnalyzingService/CAS_CodeRepoAnalyzer — pull request #22 by tofferrosen (2014-05-02 00:28:46+00:00)
Title: Szz bugfix parsing regions

This contain two main bug fixes:
1) Added a new delimiter to the start of each line in the git output so we do not have to worry about the code containing '@@'. Thus, if we see a CAS_DELIMITER:@@ we can be certain this contains information about the loc numbers modified in the git diff. We now do this parsing in two stages. First, we split it here so we have an array containing the information on the file name and the line numbers modified with the actual code modified and/or added. We then perform a second split on the first @@ (and we can be certain this won't fail as we can expect the format of the lines modified to look something alike '-101,30 +1021,33' @@ CODE MODIFIED. Now we can safely inspect for the code modified and ignore code additions and get an accurate count of the line number.
2) When checking code modified, we assumed that the '-' was followed by a space or tab which is generally true in python programs but not in many other cases. Modified to now simply check if the modified code starts with our delimiter-.

Readme has also been updated to reflect new command for running this in the background of a Ubuntu machine to ignore LOGOUT signals.