def catalog_step_calls
      puts "\nCataloging Step Calls: "
      steps = CukeSniffer::CukeSnifferHelper.get_all_steps(@features, @step_definitions)
      steps_map = build_steps_map(steps)
      @step_definitions.each do |step_definition|
        print '.'
        calls = steps_map.find_all {|step, location| step =~ step_definition.regex }
        step_definition.calls = build_stored_calls_map(calls)
      end

      steps_with_expressions = CukeSniffer::CukeSnifferHelper.get_steps_with_expressions(steps)
      converted_steps = CukeSniffer::CukeSnifferHelper.convert_steps_with_expressions(steps_with_expressions)
      CukeSniffer::CukeSnifferHelper.catalog_possible_dead_steps(@step_definitions, converted_steps)
    end
def catalog_step_calls
      puts "\nCataloging Step Calls: "
      steps = CukeSniffer::CukeSnifferHelper.get_all_steps(@features, @step_definitions)
      steps_map = build_steps_map(steps)
      @step_definitions.each do |step_definition|
        print '.'
        calls = steps_map.find_all {|step, location| step =~ step_definition.regex }
        step_definition.calls = build_stored_calls_map(calls)
      end

      steps_with_expressions = CukeSniffer::CukeSnifferHelper.get_steps_with_expressions(steps)
      converted_steps = CukeSniffer::CukeSnifferHelper.convert_steps_with_expressions(steps_with_expressions)
      CukeSniffer::CukeSnifferHelper.catalog_possible_dead_steps(@step_definitions, converted_steps)
    end
Determines all normal and nested step calls and assigns them to the corresponding step definition.
 Does direct and fuzzy matching