Showing 2 of 4 total issues
Method build_concept_objects
has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring. Open
Open
def build_concept_objects begin concepts = @response_json.fetch("outputs").fetch(0).fetch("data", nil).fetch("concepts", nil) rescue StandardError => e
- Read upRead up
Method build_concept_objects
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def build_concept_objects begin concepts = @response_json.fetch("outputs").fetch(0).fetch("data", nil).fetch("concepts", nil) rescue StandardError => e