src/ockham.js
Function Ockham
has 189 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function() {
'use strict';
return {
error: function(message) {
return {
Function fsm
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fsm: function(config_object) {
var data,
state,
current = null,
config = config_object.config(this),
Function state
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
state: function(ockham, name, parent) {
var from_transitions = [],
getCompleteName = function() {
var names = [];
if (parent) {
Avoid deeply nested control flow statements. Open
Open
if (key_data.hasOwnProperty(substate)) {
substate_data = key_data[substate];
_createState(
ockham,
substate,