reitzig/texlogparser

View on GitHub
lib/tex_log_parser.rb

Summary

Maintainability
A
1 hr
Test Coverage

Showing 3 of 3 total issues

Cyclomatic complexity for scope_changes is too high. [10/6]
Open

def scope_changes(line)
pushed_dummy = false
 
result =
case line
Severity: Minor
Found in lib/tex_log_parser.rb by rubocop

Assignment Branch Condition size for scope_changes is too high. [19.65/15]
Open

def scope_changes(line)
pushed_dummy = false
 
result =
case line
Severity: Minor
Found in lib/tex_log_parser.rb by rubocop

Method scope_changes has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.
Open

def scope_changes(line)
pushed_dummy = false
 
result =
case line
Severity: Minor
Found in lib/tex_log_parser.rb - About 1 hr to fix
Category
Status