Ensure you use a MailmapΒΆ

The social metrics need to identify each developer that contributes code. Unfortunately, it’s common that developers have multiple Git aliases, which will bias the social metrics.

You avoid that bias by providing the .mailmap file (Git feature). You add the .mailmap file to the root of your repository. It specifies a mapping from multiple aliases to one for each developer as shown in Fig. 10.

Mailmap example

Fig. 10 Resolve aliases through a mailmap.

CodeScene automatically uses the .mailmap when it’s present.

Read the Git Documentation on mapping authors for a description on how to configure the .mailmap.