<commit_before>require 'bundler/setup'
require 'nokogiri'

module ObjectiveCi
    class CiTasks

    attr_accessor :exclusions

    LINT_DESTINATION = "lint.xml"
    DUPLICATION_DESTINATION = "duplication.xml"
    LINE_COUNT_DESTINATION = "line-count.sc"    

    def initialize
      @exclusions = ["vendor"]
      if using_pods?
        @exclusions << "Pods"
        `pod install`
      end
    end

    def build(opts={})
      lint(opts)<commit_msg>vendor not needed by default<commit_after>require 'bundler/setup'
require 'nokogiri'

module ObjectiveCi
    class CiTasks

    attr_accessor :exclusions

    LINT_DESTINATION = "lint.xml"
    DUPLICATION_DESTINATION = "duplication.xml"
    LINE_COUNT_DESTINATION = "line-count.sc"    

    def initialize
      @exclusions = []
      if using_pods?
        @exclusions << "Pods"
        `pod install`
      end
    end

    def build(opts={})
      lint(opts)
{'fraction_non_alphanumeric': 0.09200438116100766, 'fraction_numerical': 0.0, 'mean_word_length': 2.700404858299595, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3368961', 'n_tokens_mistral': 327, 'n_tokens_neox': 299, 'n_words': 64}