exiftool-rb/exiftool.rb

View on GitHub

Showing 1 of 1 total issue

Method civil_date has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

def civil_date
return unless date? && !zero_date?
 
ymd = raw_value.scan(YMD_RE).first
return unless ymd
Severity: Minor
Found in lib/exiftool/field_parser.rb - About 25 mins to fix
Severity
Category
Status
Source
Language