mumuki/mumuki-java-runner

View on GitHub

Showing 3 of 4 total issues

Class JavaExplainer has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

class JavaExplainer < Mumukit::Explainer
 
def explain_missing_semicolon(_, result)
missing_character result, ';'
end
Severity: Minor
Found in lib/feedback_hook.rb - About 3 hrs to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    def explain_missing_implementation(_, result)
    (/#{error} (.*) is not abstract and does not override abstract method (.*) in (.*)#{near_regex}/.match result).try do |it|
    {down: it[1], method: it[2], up: it[3] }
    Severity: Minor
    Found in lib/feedback_hook.rb and 1 other location - About 15 mins to fix
    lib/feedback_hook.rb on lines 44..46

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    def explain_lossy_conversion(_, result)
    (/#{error} incompatible types: possible lossy conversion from (.*) to (.*)#{near_regex}/.match result).try do |it|
    { from: it[1], to: it[2], near: it[3] }
    Severity: Minor
    Found in lib/feedback_hook.rb and 1 other location - About 15 mins to fix
    lib/feedback_hook.rb on lines 84..86
    Severity
    Category
    Status
    Source
    Language