Class: RailsLens::Analyzers::IndexAnalyzer

Inherits:
Base
  • Object
show all
Defined in:
lib/rails_lens/analyzers/index_analyzer.rb

Instance Attribute Summary

Attributes inherited from Base

#model_class

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from ErrorHandling

#safe_analyze

Constructor Details

This class inherits a constructor from RailsLens::Analyzers::Base

Instance Method Details

#analyzeObject



6
7
8
9
10
11
12
# File 'lib/rails_lens/analyzers/index_analyzer.rb', line 6

def analyze
  notes = []
  notes.concat(analyze_missing_indexes)
  notes.concat(analyze_redundant_indexes)
  notes.concat(analyze_composite_indexes)
  notes
end