lib/cocoapods-core/source/health_reporter.rb
# Analyzes all the specification files in the source.
#
# @return [HealthReport] A report which contains the information about the
#         state of the source.
#
Analyzes all the specification files in the source.
Analyzes all the specification files in the source .
def analyze
        @report = HealthReport.new(source)
        source.pods.each do |name|
          source.versions(name).each do |version|
            @pre_check_callback.call(name, version) if @pre_check_callback
            spec_path = source.specification_path(name, version)
            spec = lint_spec(name, version, spec_path)
            check_spec_path(name, version, spec) if spec
            report.analyzed_paths << spec_path
          end
        end
        check_stray_specs
        report
      end
def analyze @report = HealthReport . new ( source ) source . pods . each do | name | source . versions ( name ) . each do | version | @pre_check_callback . call ( name , version ) if @pre_check_callback spec_path = source . specification_path ( name , version ) spec = lint_spec ( name , version , spec_path ) check_spec_path ( name , version , spec ) if spec report . analyzed_paths << spec_path end end check_stray_specs report end
Analyzes all the specification files in the source.
Analyzes all the specification files in the source .
A report which contains the information about the state of the source.
A report which contains the information about the state of the source .
HealthReport