id: 1 unit: def migrate_legacy_fields() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 185 LOC McCabe index: 21 number of parameters: 1 id: 2 unit: func Transform() file: tools/migration/crosstool_to_starlark_lib.go start line: 1298 end line: 1419 size: 101 LOC McCabe index: 20 number of parameters: 1 id: 3 unit: def compare_ctoolchains() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 62 LOC McCabe index: 18 number of parameters: 2 id: 4 unit: func getStringArrStatement() file: tools/migration/crosstool_to_starlark_lib.go start line: 542 end line: 601 size: 60 LOC McCabe index: 11 number of parameters: 5 id: 5 unit: func getIfStatement() file: tools/migration/crosstool_to_starlark_lib.go start line: 1110 end line: 1167 size: 56 LOC McCabe index: 11 number of parameters: 7 id: 6 unit: def _extract_legacy_link_flag_sets_for() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 55 LOC McCabe index: 16 number of parameters: 1 id: 7 unit: def _compare_features() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 52 LOC McCabe index: 16 number of parameters: 2 id: 8 unit: def _compare_action_configs() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 52 LOC McCabe index: 16 number of parameters: 2 id: 9 unit: func parseFlagGroup() file: tools/migration/crosstool_to_starlark_lib.go start line: 773 end line: 820 size: 48 LOC McCabe index: 12 number of parameters: 2 id: 10 unit: func getAssignmentStatement() file: tools/migration/crosstool_to_starlark_lib.go start line: 1052 end line: 1098 size: 46 LOC McCabe index: 9 number of parameters: 7 id: 11 unit: def _compare_artifact_name_patterns() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 45 LOC McCabe index: 12 number of parameters: 2 id: 12 unit: bool PathsFrom() file: tools/runfiles/runfiles_src.cc start line: 261 end line: 311 size: 43 LOC McCabe index: 14 number of parameters: 7 id: 13 unit: def _compare_tool_paths() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 42 LOC McCabe index: 14 number of parameters: 2 id: 14 unit: def _compare_make_variables() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 41 LOC McCabe index: 12 number of parameters: 2 id: 15 unit: func main() file: tools/migration/convert_crosstool_to_starlark.go start line: 58 end line: 101 size: 38 LOC McCabe index: 10 number of parameters: 0 id: 16 unit: func getRule() file: tools/migration/crosstool_to_starlark_lib.go start line: 289 end line: 328 size: 36 LOC McCabe index: 5 number of parameters: 2 id: 17 unit: func getActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 433 end line: 468 size: 36 LOC McCabe index: 7 number of parameters: 1 id: 18 unit: int main() file: cc/private/toolchain/libtool_check_unique.cc start line: 37 end line: 74 size: 35 LOC McCabe index: 10 number of parameters: 2 id: 19 unit: def _read_crosstool_or_ctoolchain_proto() file: tools/migration/ctoolchain_comparator.py start line: 0 end line: 0 size: 34 LOC McCabe index: 7 number of parameters: 2 id: 20 unit: bool ParseManifest() file: tools/runfiles/runfiles_src.cc start line: 191 end line: 223 size: 33 LOC McCabe index: 6 number of parameters: 3 id: 21 unit: func parseFeature() file: tools/migration/crosstool_to_starlark_lib.go start line: 691 end line: 725 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 22 unit: def _migrate_repeated_expands() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 23 unit: func parseAction() file: tools/migration/crosstool_to_starlark_lib.go start line: 510 end line: 540 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 24 unit: func getStringStatement() file: tools/migration/crosstool_to_starlark_lib.go start line: 334 end line: 365 size: 30 LOC McCabe index: 11 number of parameters: 4 id: 25 unit: func getReturnStatement() file: tools/migration/crosstool_to_starlark_lib.go start line: 1265 end line: 1294 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: func toolchainToCToolchainIdentifier() file: tools/migration/crosstool_to_starlark_lib.go start line: 125 end line: 157 size: 29 LOC McCabe index: 4 number of parameters: 1 id: 27 unit: func processActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 246 end line: 274 size: 29 LOC McCabe index: 8 number of parameters: 2 id: 28 unit: func getFeatures() file: tools/migration/crosstool_to_starlark_lib.go start line: 367 end line: 395 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 29 unit: func makeStringArr() file: tools/migration/crosstool_to_starlark_lib.go start line: 1015 end line: 1043 size: 29 LOC McCabe index: 6 number of parameters: 3 id: 30 unit: def main() file: tools/migration/crosstool_query.py start line: 0 end line: 0 size: 27 LOC McCabe index: 11 number of parameters: 1 id: 31 unit: def _check_feature_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 25 LOC McCabe index: 14 number of parameters: 2 id: 32 unit: def _extract_legacy_compile_flag_sets_for() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 24 LOC McCabe index: 14 number of parameters: 1 id: 33 unit: def _rename_feature_in() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 23 LOC McCabe index: 12 number of parameters: 3 id: 34 unit: func getArtifactNamePatterns() file: tools/migration/crosstool_to_starlark_lib.go start line: 649 end line: 671 size: 23 LOC McCabe index: 2 number of parameters: 3 id: 35 unit: def _check_flag_group_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 23 LOC McCabe index: 11 number of parameters: 2 id: 36 unit: func parseFlagSet() file: tools/migration/crosstool_to_starlark_lib.go start line: 739 end line: 759 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 37 unit: func getToolPaths() file: tools/migration/crosstool_to_starlark_lib.go start line: 828 end line: 848 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 38 unit: func getMakeVariables() file: tools/migration/crosstool_to_starlark_lib.go start line: 868 end line: 888 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 39 unit: def _check_action_config_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 20 LOC McCabe index: 11 number of parameters: 2 id: 40 unit: def main() file: tools/migration/legacy_fields_migrator.py start line: 0 end line: 0 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: def _add_flag_sets() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 42 unit: func getActionConfigsDeclaration() file: tools/migration/crosstool_to_starlark_lib.go start line: 470 end line: 488 size: 19 LOC McCabe index: 2 number of parameters: 4 id: 43 unit: func getActionConfigsStmt() file: tools/migration/crosstool_to_starlark_lib.go start line: 490 end line: 508 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 44 unit: string Runfiles::Rlocation() file: tools/runfiles/runfiles_src.cc start line: 170 end line: 187 size: 18 LOC McCabe index: 11 number of parameters: 1 id: 45 unit: func getCcToolchainConfigHeader() file: tools/migration/crosstool_to_starlark_lib.go start line: 29 end line: 46 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: func getListOfActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 228 end line: 244 size: 17 LOC McCabe index: 6 number of parameters: 2 id: 47 unit: func getFeaturesDeclaration() file: tools/migration/crosstool_to_starlark_lib.go start line: 397 end line: 413 size: 17 LOC McCabe index: 2 number of parameters: 4 id: 48 unit: func getFeaturesStmt() file: tools/migration/crosstool_to_starlark_lib.go start line: 415 end line: 431 size: 17 LOC McCabe index: 2 number of parameters: 3 id: 49 unit: func parseTool() file: tools/migration/crosstool_to_starlark_lib.go start line: 912 end line: 928 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 50 unit: func toAbsolutePath() file: tools/migration/convert_crosstool_to_starlark.go start line: 39 end line: 56 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: func createObject() file: tools/migration/crosstool_to_starlark_lib.go start line: 633 end line: 647 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 52 unit: func parseWithFeatureSet() file: tools/migration/crosstool_to_starlark_lib.go start line: 953 end line: 967 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 53 unit: string GetEnv() file: tools/runfiles/runfiles_src.cc start line: 155 end line: 168 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: func parseEnvSet() file: tools/migration/crosstool_to_starlark_lib.go start line: 978 end line: 991 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: def main() file: tools/migration/ctoolchain_comparator.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 56 unit: func getStringArr() file: tools/migration/crosstool_to_starlark_lib.go start line: 603 end line: 615 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 57 unit: def _check_tool_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 2 id: 58 unit: def _check_flag_set_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 13 LOC McCabe index: 7 number of parameters: 3 id: 59 unit: func getUniqueValues() file: tools/migration/crosstool_to_starlark_lib.go start line: 276 end line: 287 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 60 unit: func isArrayPrefix() file: tools/migration/crosstool_to_starlark_lib.go start line: 169 end line: 179 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 61 unit: func getActionNames() file: tools/migration/crosstool_to_starlark_lib.go start line: 216 end line: 226 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: func parseFlagSets() file: tools/migration/crosstool_to_starlark_lib.go start line: 727 end line: 737 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: func parseFlagGroups() file: tools/migration/crosstool_to_starlark_lib.go start line: 761 end line: 771 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 64 unit: func getCcTargetOss() file: tools/migration/crosstool_to_starlark_lib.go start line: 1233 end line: 1243 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: func getBuiltinSysroots() file: tools/migration/crosstool_to_starlark_lib.go start line: 1245 end line: 1255 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: def _print_difference() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 11 LOC McCabe index: 5 number of parameters: 3 id: 67 unit: bool IsDirectory() file: tools/runfiles/runfiles_src.cc start line: 85 end line: 94 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 68 unit: bool IsAbsolute() file: tools/runfiles/runfiles_src.cc start line: 144 end line: 153 size: 10 LOC McCabe index: 11 number of parameters: 1 id: 69 unit: def _compare_cxx_builtin_include_directories() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 70 unit: bool starts_with() file: tools/runfiles/runfiles_src.cc start line: 51 end line: 59 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 71 unit: bool contains() file: tools/runfiles/runfiles_src.cc start line: 61 end line: 69 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 72 unit: bool ends_with() file: tools/runfiles/runfiles_src.cc start line: 71 end line: 79 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 73 unit: def _migrate_expand_if_all_available() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 74 unit: func getConditionStatementForCToolchainIdentifier() file: tools/migration/crosstool_to_starlark_lib.go start line: 159 end line: 167 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func parseToolPath() file: tools/migration/crosstool_to_starlark_lib.go start line: 858 end line: 866 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 76 unit: func getCPUToCompilers() file: tools/migration/crosstool_to_starlark_lib.go start line: 1100 end line: 1108 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: def _to_absolute_path() file: tools/migration/ctoolchain_comparator.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: def _array_to_string() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 79 unit: def _check_env_set_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 80 unit: def to_absolute_path() file: tools/migration/legacy_fields_migrator.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 81 unit: func parseArtifactNamePatterns() file: tools/migration/crosstool_to_starlark_lib.go start line: 673 end line: 680 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: func parseArtifactNamePattern() file: tools/migration/crosstool_to_starlark_lib.go start line: 682 end line: 689 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 83 unit: func parseWithFeatureSets() file: tools/migration/crosstool_to_starlark_lib.go start line: 944 end line: 951 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: func parseEnvSets() file: tools/migration/crosstool_to_starlark_lib.go start line: 969 end line: 976 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 85 unit: def _check_with_feature_set_equivalence() file: tools/migration/ctoolchain_comparator_lib.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 86 unit: bool TestOnly_PathsFrom() file: tools/runfiles/runfiles_src.cc start line: 229 end line: 235 size: 7 LOC McCabe index: 1 number of parameters: 7 id: 87 unit: bool PathsFrom() file: tools/runfiles/runfiles_src.cc start line: 253 end line: 259 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 88 unit: func getArrField() file: tools/migration/crosstool_to_starlark_lib.go start line: 617 end line: 623 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 89 unit: func getTabs() file: tools/migration/crosstool_to_starlark_lib.go start line: 625 end line: 631 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: func parseToolPaths() file: tools/migration/crosstool_to_starlark_lib.go start line: 850 end line: 856 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: func parseMakeVariables() file: tools/migration/crosstool_to_starlark_lib.go start line: 890 end line: 896 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 92 unit: func parseTools() file: tools/migration/crosstool_to_starlark_lib.go start line: 904 end line: 910 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 93 unit: func parseEnvEntries() file: tools/migration/crosstool_to_starlark_lib.go start line: 930 end line: 936 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: func parseFeatureSets() file: tools/migration/crosstool_to_starlark_lib.go start line: 993 end line: 999 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 95 unit: func getToolchainIdentifiers() file: tools/migration/crosstool_to_starlark_lib.go start line: 1169 end line: 1175 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: func getHostSystemNames() file: tools/migration/crosstool_to_starlark_lib.go start line: 1177 end line: 1183 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: func getTargetSystemNames() file: tools/migration/crosstool_to_starlark_lib.go start line: 1185 end line: 1191 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: func getTargetCpus() file: tools/migration/crosstool_to_starlark_lib.go start line: 1193 end line: 1199 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 99 unit: func getTargetLibcs() file: tools/migration/crosstool_to_starlark_lib.go start line: 1201 end line: 1207 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: func getCompilers() file: tools/migration/crosstool_to_starlark_lib.go start line: 1209 end line: 1215 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: func getAbiVersions() file: tools/migration/crosstool_to_starlark_lib.go start line: 1217 end line: 1223 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: func getAbiLibcVersions() file: tools/migration/crosstool_to_starlark_lib.go start line: 1225 end line: 1231 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: func getMappedStringValuesToIdentifiers() file: tools/migration/crosstool_to_starlark_lib.go start line: 1257 end line: 1263 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 104 unit: string getBasename() file: cc/private/toolchain/libtool_check_unique.cc start line: 26 end line: 33 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 105 unit: def _prepend_feature() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: def _contains_dynamic_flags() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 107 unit: func isAllCompileActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 181 end line: 186 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: func isAllCppCompileActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 188 end line: 193 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: func isPreprocessorCompileActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 195 end line: 200 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 110 unit: func isCodegenCompileActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 202 end line: 207 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: func isAllLinkActions() file: tools/migration/crosstool_to_starlark_lib.go start line: 209 end line: 214 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: def compile_actions() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 113 unit: def link_actions() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 114 unit: def executable_link_actions() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 115 unit: def _find_tool_path() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 116 unit: def _get_feature() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 117 unit: def _rename_feature_in_toolchain() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 3 id: 118 unit: func parseVariableWithValue() file: tools/migration/crosstool_to_starlark_lib.go start line: 822 end line: 826 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 119 unit: func parseMakeVariable() file: tools/migration/crosstool_to_starlark_lib.go start line: 898 end line: 902 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: func parseEnvEntry() file: tools/migration/crosstool_to_starlark_lib.go start line: 938 end line: 942 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: func parseFeatureSet() file: tools/migration/crosstool_to_starlark_lib.go start line: 1001 end line: 1005 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 122 unit: def _find_toolchain() file: tools/migration/ctoolchain_comparator.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 123 unit: bool IsReadableFile() file: tools/runfiles/runfiles_src.cc start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: func getLoadActionsStmt() file: tools/migration/crosstool_to_starlark_lib.go start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: func getImplHeader() file: tools/migration/crosstool_to_starlark_lib.go start line: 330 end line: 332 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: def _is_objc_toolchain() file: tools/migration/legacy_fields_migration_lib.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 127 unit: bool TestOnly_IsAbsolute() file: tools/runfiles/runfiles_src.cc start line: 237 end line: 237 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: virtual ~Runfiles() file: tools/runfiles/runfiles_src.h start line: 94 end line: 94 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: int main() file: cc/private/toolchain/empty.cc start line: 15 end line: 15 size: 1 LOC McCabe index: 1 number of parameters: 0