Showing 3 of 12 total issues
File jquery.loan-calculator.js
has 355 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery Loan Calculator 3.1.3
*
* Author: Jorge González <scrub.mx@gmail>
* Released under the MIT license - https://opensource.org/licenses/MIT
Function _IRR
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_IRR: function (values, guess) {
guess = guess || 0;
// Calculates the resulting amount
var irrResult = function (values, dates, rate) {
Function validate
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
validate: function () {
if (typeof this.settings.loanAmount === 'string') {
this.settings.loanAmount = this._toNumeric(this.settings.loanAmount);
}