id: 1 unit: func() file: auth/rbac/reconciliation/reconcile_rolebindings.go start line: 88 end line: 172 size: 62 LOC McCabe index: 17 number of parameters: 1 id: 2 unit: func() file: auth/rbac/reconciliation/reconcile_role.go start line: 101 end line: 174 size: 57 LOC McCabe index: 15 number of parameters: 1 id: 3 unit: func computeReconciledRole() file: auth/rbac/reconciliation/reconcile_role.go start line: 178 end line: 241 size: 44 LOC McCabe index: 18 number of parameters: 3 id: 4 unit: func nodeSelectorRequirementsAsSelector() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 205 end line: 242 size: 38 LOC McCabe index: 11 number of parameters: 2 id: 5 unit: func nodeSelectorRequirementsAsFieldSelector() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 251 end line: 284 size: 30 LOC McCabe index: 8 number of parameters: 2 id: 6 unit: func computeReconciledRoleBinding() file: auth/rbac/reconciliation/reconcile_rolebindings.go start line: 176 end line: 217 size: 28 LOC McCabe index: 9 number of parameters: 3 id: 7 unit: func preparePatchBytesforNodeStatus() file: node/util/status.go start line: 46 end line: 83 size: 27 LOC McCabe index: 8 number of parameters: 3 id: 8 unit: func aggregationRuleCovers() file: auth/rbac/reconciliation/reconcile_role.go start line: 260 end line: 289 size: 26 LOC McCabe index: 11 number of parameters: 2 id: 9 unit: func fixupPatchForNodeStatusAddresses() file: node/util/status.go start line: 87 end line: 134 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 10 unit: func NewPreferredSchedulingTerms() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 112 end line: 135 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 11 unit: func() file: apimachinery/lease/controller.go start line: 204 end line: 230 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 12 unit: func BreakdownRule() file: auth/rbac/validation/policy_comparator.go start line: 58 end line: 84 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 13 unit: func Covers() file: auth/rbac/validation/policy_comparator.go start line: 27 end line: 54 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 14 unit: func UpdateDisruptionAllowedCondition() file: apps/poddisruptionbudget/helpers.go start line: 27 end line: 46 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: func() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 84 end line: 103 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: func newNodeSelectorTerm() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 170 end line: 188 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: func resourceCoversAll() file: auth/rbac/validation/policy_comparator.go start line: 108 end line: 131 size: 19 LOC McCabe index: 7 number of parameters: 2 id: 18 unit: func() file: apimachinery/lease/controller.go start line: 179 end line: 198 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 19 unit: func() file: apimachinery/lease/controller.go start line: 131 end line: 149 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: func GetZoneKey() file: node/topology/helpers.go start line: 30 end line: 57 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 21 unit: func diffSubjectLists() file: auth/rbac/reconciliation/reconcile_rolebindings.go start line: 232 end line: 248 size: 17 LOC McCabe index: 7 number of parameters: 2 id: 22 unit: func NewController() file: apimachinery/lease/controller.go start line: 74 end line: 90 size: 17 LOC McCabe index: 2 number of parameters: 5 id: 23 unit: func() file: apimachinery/lease/controller.go start line: 153 end line: 175 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: func PatchNodeCIDRs() file: node/util/cidr.go start line: 40 end line: 58 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 25 unit: func() file: apimachinery/lease/controller.go start line: 101 end line: 125 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 26 unit: func NewLazyErrorNodeSelector() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 56 end line: 71 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 27 unit: func nonResourceURLsCoversAll() file: auth/rbac/validation/policy_comparator.go start line: 133 end line: 147 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 28 unit: func NewNodeSelector() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 40 end line: 52 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: func GetRequiredNodeAffinity() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 297 end line: 310 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 30 unit: func getFilteredTaints() file: scheduling/corev1/helpers.go start line: 89 end line: 101 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: func ruleCovers() file: auth/rbac/validation/policy_comparator.go start line: 158 end line: 173 size: 13 LOC McCabe index: 9 number of parameters: 2 id: 32 unit: func SetNodeCondition() file: node/util/conditions.go start line: 45 end line: 57 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 33 unit: func ConditionsAreUpToDate() file: apps/poddisruptionbudget/helpers.go start line: 51 end line: 65 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 34 unit: func() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 190 end line: 201 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 35 unit: func tryEnsureNamespace() file: auth/rbac/reconciliation/namespace.go start line: 31 end line: 45 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: func merge() file: auth/rbac/reconciliation/reconcile_role.go start line: 244 end line: 255 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 37 unit: func hasAll() file: auth/rbac/validation/policy_comparator.go start line: 95 end line: 106 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 38 unit: func() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 139 end line: 150 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: func() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 314 end line: 324 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: func GetNodeCondition() file: node/util/conditions.go start line: 32 end line: 42 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: func PatchNodeStatus() file: node/util/status.go start line: 33 end line: 44 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 42 unit: func() file: node/util/sysctl/sysctl.go start line: 85 end line: 95 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: func GetAvoidPodsFromNodeAnnotations() file: scheduling/corev1/helpers.go start line: 51 end line: 60 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 44 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 94 end line: 104 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 45 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 92 end line: 102 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: func GetPersistentVolumeClaimClass() file: storage/volume/helpers.go start line: 23 end line: 34 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: func MatchNodeSelectorTerms() file: scheduling/corev1/helpers.go start line: 39 end line: 47 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: func FindMatchingUntoleratedTaint() file: scheduling/corev1/helpers.go start line: 78 end line: 86 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 49 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 29 end line: 37 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 55 end line: 63 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 81 end line: 89 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 107 end line: 115 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: func TolerationsTolerateTaint() file: scheduling/corev1/helpers.go start line: 63 end line: 70 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 54 unit: func contains() file: auth/rbac/reconciliation/reconcile_rolebindings.go start line: 219 end line: 226 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 40 end line: 47 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 66 end line: 73 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 92 end line: 99 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 58 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 118 end line: 125 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: func has() file: auth/rbac/validation/policy_comparator.go start line: 86 end line: 93 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: func extractNodeFields() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 156 end line: 162 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 86 end line: 92 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 106 end line: 113 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 83 end line: 89 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 91 end line: 97 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 99 end line: 106 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 84 end line: 90 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 104 end line: 111 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 84 end line: 90 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 92 end line: 98 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 100 end line: 107 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: func() file: apimachinery/lease/controller.go start line: 93 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: func() file: node/util/sysctl/testing/fake.go start line: 38 end line: 44 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: func VolumeIsForPod() file: storage/ephemeral/ephemeral.go start line: 49 end line: 57 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 74 unit: func GetPersistentVolumeClass() file: storage/volume/helpers.go start line: 37 end line: 44 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func PodPriority() file: scheduling/corev1/helpers.go start line: 27 end line: 35 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func nonResourceURLCovers() file: auth/rbac/validation/policy_comparator.go start line: 149 end line: 154 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 77 unit: func minDuration() file: apimachinery/lease/controller.go start line: 232 end line: 237 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 78 unit: func NewFake() file: node/util/sysctl/testing/fake.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: func() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 75 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func() file: node/util/sysctl/testing/fake.go start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func VolumeClaimName() file: storage/ephemeral/ephemeral.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 82 unit: func isEmptyNodeSelectorTerm() file: scheduling/corev1/nodeaffinity/nodeaffinity.go start line: 152 end line: 154 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func() file: auth/rbac/reconciliation/rolebinding_interfaces.go start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 71 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: func() file: auth/rbac/reconciliation/clusterrole_interfaces.go start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: func() file: auth/rbac/reconciliation/reconcile_rolebindings.go start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: func() file: auth/rbac/reconciliation/zz_generated.deepcopy.go start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 130 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: func() file: auth/rbac/reconciliation/clusterrolebinding_interfaces.go start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: func() file: auth/rbac/reconciliation/reconcile_role.go start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: func New() file: node/util/sysctl/sysctl.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: func() file: node/util/sysctl/sysctl.go start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: func() file: auth/rbac/reconciliation/role_interfaces.go start line: 76 end line: 77 size: 2 LOC McCabe index: 1 number of parameters: 1