PuzaTech/Fugue

View on GitHub
src/main/java/com/hongliangjie/fugue/MainEntrance.java

Summary

Maintainability
A
2 hrs
Test Coverage

Method parseOptions has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected static Message parseOptions(Options options, String[] args) {
        // create the parser
        Message cmd = defaultMessage();
        CommandLineParser parser = new DefaultParser();
        try {
Severity: Minor
Found in src/main/java/com/hongliangjie/fugue/MainEntrance.java - About 1 hr to fix

    Method createOptions has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected static Options createOptions(){
    
            Options options = new Options();
    
            Option inputFileOption = Option.builder().longOpt("inputFile").desc("the input file").hasArg().argName("inputFile").build();
    Severity: Minor
    Found in src/main/java/com/hongliangjie/fugue/MainEntrance.java - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status