This document presents a systematic mapping study that analyzed 236 documents on code repository analysis published between 2012 and 2019. The study identified the main types of information used as inputs for code repository analysis (commit data and source code) and the most common analysis methods and techniques used (empirical/experimental and automatic). The study aims to help developers better understand how to analyze code repositories to improve software maintenance and evolution.