see https://github.com/bf4/code_metrics/blob/bfebee2783dbc21ff9792c46b9b79953299ce0d0/test/rake_test.rb#L8