daikiueda/htmlcommenttemplate

View on GitHub

Showing 3 of 3 total issues

Function updateEachHTMLFiles has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    updateEachHTMLFiles: function( patterns, options ){

        options = options || {};

        var deferred = Q.defer(),
Severity: Minor
Found in lib/private/TemplatesManager.js - About 1 hr to fix

    Function convertToTemplateFormat has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        convertToTemplateFormat: function( HTMLCode ){
    
            var processedHTMLCode =
                    HTMLCode
                        .replace( /<!-- InstanceBegin template[^>]+ -->/i, "" )
    Severity: Minor
    Found in lib/private/Template.js - About 1 hr to fix

      Function generateCode has 26 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          generateCode: function( values, targetHTMLFilePath ){
              var deferred = Q.defer(),
                  generatedCode;
      
              /**
      Severity: Minor
      Found in lib/private/Template.js - About 1 hr to fix
        Severity
        Category
        Status
        Source
        Language