Showing 763 of 1,018 total issues
Function 28
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){
'use strict';
/**
* A worker that does nothing but passing chunks to the next one. This is like
- Create a ticketCreate a ticket
Function 28
has 147 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){
'use strict';
/**
* A worker that does nothing but passing chunks to the next one. This is like
- Create a ticketCreate a ticket
Function 29
has 138 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],29:[function(require,module,exports){
'use strict';
var utils = require('../utils');
var ConvertWorker = require('./ConvertWorker');
- Create a ticketCreate a ticket
Function 29
has 138 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],29:[function(require,module,exports){
'use strict';
var utils = require('../utils');
var ConvertWorker = require('./ConvertWorker');
- Create a ticketCreate a ticket
Function 29
has 138 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],29:[function(require,module,exports){
'use strict';
var utils = require('../utils');
var ConvertWorker = require('./ConvertWorker');
- Create a ticketCreate a ticket
Function inflate_table
has 124 lines of code (exceeds 25 allowed). Consider refactoring. Open
module.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)
{
var bits = opts.bits;
//here = opts.here; /* table entry for duplication */
- Create a ticketCreate a ticket
Function inflate_table
has 124 lines of code (exceeds 25 allowed). Consider refactoring. Open
module.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)
{
var bits = opts.bits;
//here = opts.here; /* table entry for duplication */
- Create a ticketCreate a ticket
Function inflate_table
has 124 lines of code (exceeds 25 allowed). Consider refactoring. Open
module.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, opts)
{
var bits = opts.bits;
//here = opts.here; /* table entry for duplication */
- Create a ticketCreate a ticket
Function h2cRenderContext
has 117 lines of code (exceeds 25 allowed). Consider refactoring. Open
function h2cRenderContext(width, height) {
var storage = [];
return {
storage: storage,
width: width,
- Create a ticketCreate a ticket
Function h2cRenderContext
has 117 lines of code (exceeds 25 allowed). Consider refactoring. Open
function h2cRenderContext(width, height) {
var storage = [];
return {
storage: storage,
width: width,
- Create a ticketCreate a ticket
Function h2cRenderContext
has 117 lines of code (exceeds 25 allowed). Consider refactoring. Open
function h2cRenderContext(width, height) {
var storage = [];
return {
storage: storage,
width: width,
- Create a ticketCreate a ticket
Function 63
has 108 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],63:[function(require,module,exports){
// String encode/decode helpers
'use strict';
- Create a ticketCreate a ticket
Function 63
has 108 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],63:[function(require,module,exports){
// String encode/decode helpers
'use strict';
- Create a ticketCreate a ticket
Function 63
has 108 lines of code (exceeds 25 allowed). Consider refactoring. Open
},{}],63:[function(require,module,exports){
// String encode/decode helpers
'use strict';
- Create a ticketCreate a ticket
Function Canvas
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
_html2canvas.Renderer.Canvas = function(options) {
options = options || {};
var doc = document,
safeImages = [],
- Create a ticketCreate a ticket
Function Canvas
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
_html2canvas.Renderer.Canvas = function(options) {
options = options || {};
var doc = document,
safeImages = [],
- Create a ticketCreate a ticket
Function Canvas
has 107 lines of code (exceeds 25 allowed). Consider refactoring. Open
_html2canvas.Renderer.Canvas = function(options) {
options = options || {};
var doc = document,
safeImages = [],
- Create a ticketCreate a ticket
Function jsPDF
has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring. Open
var jsPDF = function(){
// Private properties
var version = '20090504';
var buffer = '';
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function jsPDF
has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring. Open
var jsPDF = function(){
// Private properties
var version = '20090504';
var buffer = '';
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function jsPDF
has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring. Open
var jsPDF = function(){
// Private properties
var version = '20090504';
var buffer = '';
- Read upRead up
- Create a ticketCreate a ticket
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"