martinmicunda/employee-scheduling-api

View on GitHub
lib/api/emails/lib/templates/activation.js

Summary

Maintainability
F
1 wk
Test Coverage

Function html has 1303 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function html(model, token) {
    return `
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
Severity: Major
Found in lib/api/emails/lib/templates/activation.js - About 6 days to fix

    File activation.js has 1319 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
     * @author    Martin Micunda {@link http://martinmicunda.com}
     * @copyright Copyright (c) 2015, Martin Micunda
     * @license   GPL-3.0
     */
    Severity: Major
    Found in lib/api/emails/lib/templates/activation.js - About 3 days to fix

      There are no issues that match your filters.

      Category
      Status