HiddenMeow.js
Function HiddenMeow
has a Cognitive Complexity of 51 (exceeds 5 allowed). Consider refactoring. Open
Open
var HiddenMeow = function() {
"use strict";
var m, m2, m3, xxx;
var Meow_String;
var Meow_Pick;
- Read upRead up
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 HiddenMeow
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var HiddenMeow = function() {
"use strict";
var m, m2, m3, xxx;
var Meow_String;
var Meow_Pick;
Function Meow_Predict
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
HiddenMeow.Meow_Predict = function(x, a) {
Meow_Power.Meow_Nodes = [];
Meow_Power.Meow_Init = [];
Meow_Power.Meow_Char = x;
for (Meow_Object,
Function Meow_Generate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
HiddenMeow.prototype.Meow_Generate = function(Meow_Stop, Meow_Len, zz) {
zz = zz || 0;
HiddenMeow.Meow_Pick = function(a) {
xxx = Math.Meow_Random();
for (m = 0; m < a.length && xxx > 0; m++) {