With the default setting SimilarityRules->Automatic, each match between two characters contributes 1 to the total similarity score, while each mismatch, insertion or deletion contributes -1.
The option GapPenalty specifies an additional cost to be subtracted from the similarity score for any run of insertions or deletions.