id: 1 unit: to_dataHashObject file: app/models/provenance.rb start line: 211 end line: 600 size: 250 LOC McCabe index: 57 number of parameters: 1 id: 2 unit: getAllArtifacts file: app/models/provenance.rb start line: 115 end line: 188 size: 70 LOC McCabe index: 1 number of parameters: 0 id: 3 unit: function backwardLink() file: app/assets/javascripts/sankey.js start line: 153 end line: 205 size: 35 LOC McCabe index: 3 number of parameters: 2 id: 4 unit: to_dataHashObject file: app/decorators/data_bundle_decorator.rb start line: 61 end line: 105 size: 33 LOC McCabe index: 5 number of parameters: 0 id: 5 unit: getAllProcessRuns file: app/models/provenance.rb start line: 80 end line: 113 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: function computeNodeBreadths() file: app/assets/javascripts/sankey.js start line: 336 end line: 446 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: getAllWorkflowRuns file: app/models/provenance.rb start line: 46 end line: 78 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: function connect() file: app/assets/javascripts/sankey.js start line: 294 end line: 324 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 9 unit: function resolveCollisions() file: app/assets/javascripts/vertical_sankey.js start line: 247 end line: 278 size: 26 LOC McCabe index: 6 number of parameters: 0 id: 10 unit: function resolveCollisions() file: app/assets/javascripts/sankey.js start line: 534 end line: 565 size: 26 LOC McCabe index: 6 number of parameters: 0 id: 11 unit: function layerComponents() file: app/assets/javascripts/sankey.js start line: 390 end line: 417 size: 24 LOC McCabe index: 4 number of parameters: 0 id: 12 unit: function forwardLink() file: app/assets/javascripts/sankey.js start line: 116 end line: 141 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 13 unit: function bfs() file: app/assets/javascripts/sankey.js start line: 419 end line: 445 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: function computeNodeBreadths() file: app/assets/javascripts/vertical_sankey.js start line: 138 end line: 159 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 15 unit: change file: db/migrate/20150603155333_devise_create_users.rb start line: 1 end line: 44 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: function computeLinkDepths() file: app/assets/javascripts/vertical_sankey.js start line: 285 end line: 309 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: function computeLinkDepths() file: app/assets/javascripts/sankey.js start line: 572 end line: 596 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: function computeNodeDepths() file: app/assets/javascripts/vertical_sankey.js start line: 183 end line: 283 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: write_link file: app/decorators/data_bundle_decorator.rb start line: 106 end line: 121 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 20 unit: function computeNodeStructure() file: app/assets/javascripts/sankey.js start line: 283 end line: 332 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: function computeNodeDepths() file: app/assets/javascripts/sankey.js start line: 470 end line: 570 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: getContentOf file: app/models/provenance.rb start line: 189 end line: 210 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: self.from_omniauth file: app/models/user.rb start line: 30 end line: 50 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: function computeNodeLinks() file: app/assets/javascripts/vertical_sankey.js start line: 109 end line: 122 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 25 unit: function initializeNodeDepth() file: app/assets/javascripts/vertical_sankey.js start line: 200 end line: 215 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: function computeNodeLinks() file: app/assets/javascripts/sankey.js start line: 251 end line: 265 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 27 unit: function initializeNodeDepth() file: app/assets/javascripts/sankey.js start line: 487 end line: 502 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: function link() file: app/assets/javascripts/vertical_sankey.js start line: 84 end line: 96 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: function link() file: app/assets/javascripts/sankey.js start line: 223 end line: 236 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: sankey.reversibleLink = function() file: app/assets/javascripts/sankey.js start line: 111 end line: 216 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 31 unit: bfs() file: app/assets/javascripts/sankey.js start line: 341 end line: 350 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 32 unit: workflow file: app/decorators/data_bundle_decorator.rb start line: 49 end line: 60 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: initialize file: app/models/provenance.rb start line: 33 end line: 44 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: sankey.layout = function() file: app/assets/javascripts/sankey.js start line: 70 end line: 81 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: function computeNodeValues() file: app/assets/javascripts/sankey.js start line: 268 end line: 276 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: provenanceMain file: app/decorators/data_bundle_decorator.rb start line: 130 end line: 162 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 37 unit: show file: app/controllers/data_bundles_controller.rb start line: 32 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: create file: app/controllers/data_bundles_controller.rb start line: 48 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 39 unit: sankey.layout = function() file: app/assets/javascripts/vertical_sankey.js start line: 67 end line: 74 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: function computeNodeValues() file: app/assets/javascripts/vertical_sankey.js start line: 125 end line: 132 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: change file: db/migrate/20150701132604_create_data_bundles.rb start line: 1 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: manifest file: app/decorators/data_bundle_decorator.rb start line: 40 end line: 48 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 43 unit: layout_by_resource file: app/controllers/application_controller.rb start line: 34 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: update file: app/controllers/data_bundles_controller.rb start line: 59 end line: 66 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: function moveSourcesRight() file: app/assets/javascripts/vertical_sankey.js start line: 161 end line: 167 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 46 unit: function moveSinksRight() file: app/assets/javascripts/vertical_sankey.js start line: 169 end line: 175 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: function relaxLeftToRight() file: app/assets/javascripts/vertical_sankey.js start line: 217 end line: 230 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: function relaxRightToLeft() file: app/assets/javascripts/vertical_sankey.js start line: 232 end line: 245 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: function moveSourcesRight() file: app/assets/javascripts/sankey.js start line: 448 end line: 454 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: function moveSinksRight() file: app/assets/javascripts/sankey.js start line: 456 end line: 462 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: function relaxLeftToRight() file: app/assets/javascripts/sankey.js start line: 504 end line: 517 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: function relaxRightToLeft() file: app/assets/javascripts/sankey.js start line: 519 end line: 532 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: login_in_controller file: spec/support/controller_macros.rb start line: 20 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: index file: app/controllers/data_bundles_controller.rb start line: 23 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: sign_in file: spec/support/login_helpers.rb start line: 19 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: sankey.nodeWidth = function() file: app/assets/javascripts/vertical_sankey.js start line: 37 end line: 41 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: sankey.nodePadding = function() file: app/assets/javascripts/vertical_sankey.js start line: 43 end line: 47 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: sankey.nodes = function() file: app/assets/javascripts/vertical_sankey.js start line: 49 end line: 53 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: sankey.links = function() file: app/assets/javascripts/vertical_sankey.js start line: 55 end line: 59 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: sankey.size = function() file: app/assets/javascripts/vertical_sankey.js start line: 61 end line: 65 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: link.curvature = function() file: app/assets/javascripts/vertical_sankey.js start line: 98 end line: 102 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: function scaleNodeBreadths() file: app/assets/javascripts/vertical_sankey.js start line: 177 end line: 181 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: sankey.nodeWidth = function() file: app/assets/javascripts/sankey.js start line: 40 end line: 44 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: sankey.nodePadding = function() file: app/assets/javascripts/sankey.js start line: 46 end line: 50 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: sankey.nodes = function() file: app/assets/javascripts/sankey.js start line: 52 end line: 56 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: sankey.links = function() file: app/assets/javascripts/sankey.js start line: 58 end line: 62 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: sankey.size = function() file: app/assets/javascripts/sankey.js start line: 64 end line: 68 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: link.curvature = function() file: app/assets/javascripts/sankey.js start line: 240 end line: 244 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: function scaleNodeBreadths() file: app/assets/javascripts/sankey.js start line: 464 end line: 468 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: extract_file file: app/models/data_bundle.rb start line: 36 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: configure_permitted_parameters file: app/controllers/application_controller.rb start line: 29 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: facebook file: app/controllers/callbacks_controller.rb start line: 20 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: google_oauth2 file: app/controllers/callbacks_controller.rb start line: 25 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: destroy file: app/controllers/data_bundles_controller.rb start line: 68 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: data_bundle_params file: app/controllers/data_bundles_controller.rb start line: 85 end line: 89 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: sankey.relayout = function() file: app/assets/javascripts/vertical_sankey.js start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: sankey.link = function() file: app/assets/javascripts/vertical_sankey.js start line: 81 end line: 105 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: sankey.relayout = function() file: app/assets/javascripts/sankey.js start line: 83 end line: 86 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: sankey.link = function() file: app/assets/javascripts/sankey.js start line: 220 end line: 247 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: change file: db/migrate/20150610102232_add_columns_to_users.rb start line: 1 end line: 5 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: store_dir file: app/uploaders/data_bundle_uploader.rb start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: file_content file: app/decorators/data_bundle_decorator.rb start line: 36 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: processor_by_name file: app/decorators/data_bundle_decorator.rb start line: 122 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: file_path file: app/models/data_bundle.rb start line: 32 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: persisted? file: app/models/provenance.rb start line: 602 end line: 605 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: edit file: app/controllers/data_bundles_controller.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: redirectToLogin file: app/controllers/data_bundles_controller.rb start line: 73 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: set_data_bundle file: app/controllers/data_bundles_controller.rb start line: 80 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: function weightedSource() file: app/assets/javascripts/vertical_sankey.js start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: function weightedTarget() file: app/assets/javascripts/vertical_sankey.js start line: 242 end line: 244 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: function ascendingDepth() file: app/assets/javascripts/vertical_sankey.js start line: 280 end line: 282 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: function ascendingSourceDepth() file: app/assets/javascripts/vertical_sankey.js start line: 302 end line: 304 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: function ascendingTargetDepth() file: app/assets/javascripts/vertical_sankey.js start line: 306 end line: 308 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 94 unit: function getDir() file: app/assets/javascripts/sankey.js start line: 158 end line: 160 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: function p() file: app/assets/javascripts/sankey.js start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 96 unit: function flatten() file: app/assets/javascripts/sankey.js start line: 386 end line: 388 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: function weightedSource() file: app/assets/javascripts/sankey.js start line: 514 end line: 516 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: function weightedTarget() file: app/assets/javascripts/sankey.js start line: 529 end line: 531 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: function ascendingDepth() file: app/assets/javascripts/sankey.js start line: 567 end line: 569 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: function ascendingSourceDepth() file: app/assets/javascripts/sankey.js start line: 589 end line: 591 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: function ascendingTargetDepth() file: app/assets/javascripts/sankey.js start line: 593 end line: 595 size: 3 LOC McCabe index: 1 number of parameters: 2