def code_less?
      return unless @page
      sum = 0
      page_text = @page.text.size
      @page.css('script').each do |tag|
        sum += tag.text.size
      end
      sum < page_text / 2
    end
def code_less?
      return unless @page
      sum = 0
      page_text = @page.text.size
      @page.css('script').each do |tag|
        sum += tag.text.size
      end
      sum < page_text / 2
    end
true if code of page less then text on it