Showing 3 of 319 total issues
Method check_links
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def check_links begin require 'anemone' root = 'http://localhost:4000/'
Method check_links
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
def check_links begin require 'anemone' root = 'http://localhost:4000/'
- Read upRead up
Method set_post_dir_and_yaml_cat
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
def set_post_dir_and_yaml_cat(dir) # Written like this to deal with category being nil if @category and Dir.exists?(File.join(@category, dir)) then @post_dir = File.join(@category, dir) @yaml_cat = nil
- Read upRead up