def report(file_path)
      if File.file?(file_path)
        xcode_summary = JSON.parse(File.read(file_path), symbolize_names: true)
        format_summary(xcode_summary)
      else
        fail 'summary file not found'
      end
    end
def report(file_path)
      if File.file?(file_path)
        xcode_summary = JSON.parse(File.read(file_path), symbolize_names: true)
        format_summary(xcode_summary)
      else
        fail 'summary file not found'
      end
    end
rubocop:enable Lint/DuplicateMethods
 Reads a file with JSON Xcode summary and reports it.

 @param    [String] file_path Path for Xcode summary in JSON format.
 @return   [void]