class CodeClimate::TestReporter::ShortenFilename
def short_filename
def short_filename return @filename unless ::SimpleCov.root apply_prefix @filename.gsub(/^#{Regexp.escape(::SimpleCov.root)}/, ".").gsub(%r{^\./}, "") end
def short_filename return @filename unless ::SimpleCov.root apply_prefix @filename.gsub(/^#{Regexp.escape(::SimpleCov.root)}/, ".").gsub(%r{^\./}, "") end