utensil/lol-model-format

View on GitHub
lib/lol_model_format/md2/md2_model.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method get_md2_skl_trianles has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

            def get_md2_skl_trianles(count)
                triangles = []
                
                0.upto count do |i|
                    
Severity: Minor
Found in lib/lol_model_format/md2/md2_model.rb - About 1 hr to fix

    Method to_md2_skl has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                def to_md2_skl
                    md2 = Md2File.new
                    
                    #TODO make skin size configurable
                    md2.header.skinwidth = 512
    Severity: Minor
    Found in lib/lol_model_format/md2/md2_model.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status