openxml/openxml-xlsx

View on GitHub
lib/openxml/xlsx/parts/stylesheet.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method to_xml has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def to_xml
          build_standalone_xml do |xml|
            xml.styleSheet(xmlns: "http://schemas.openxmlformats.org/spreadsheetml/2006/main", "xmlns:mc" => "http://schemas.openxmlformats.org/markup-compatibility/2006") do
              xml.numFmts(count: formats.length) do
                formats.each_with_index do |format, index|
Severity: Minor
Found in lib/openxml/xlsx/parts/stylesheet.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status