daikiueda/htmlcommenttemplate

View on GitHub
lib/private/Template.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

      There are no issues that match your filters.

      Category
      Status