class Sentry::StacktraceInterface::Frame

def compute_filename

def compute_filename
  return if abs_path.nil?
  prefix =
    if under_project_root? && in_app
      @project_root
    elsif under_project_root?
      longest_load_path || @project_root
    else
      longest_load_path
    end
  prefix ? abs_path[prefix.to_s.chomp(File::SEPARATOR).length + 1..-1] : abs_path
end