'If in developer mode, return a dictionary of statistics about the check run'

def _get_internal_profiling_stats(self):

    stats = None
    if self.allow_profiling:
        stats = self._internal_profiling_stats
    self._internal_profiling_stats = None
    return stats
