Labels of code a call can run: a function, or a type it constructs. */
| 36 | |
| 37 | /* Labels of code a call can run: a function, or a type it constructs. */ |
| 38 | static bool spawn_code_label(const char *label) { |
| 39 | static const char *const labels[] = {"Function", "Method", "Class", "Struct", "Interface", |
| 40 | "Trait", "Enum", "Type", "Macro", NULL}; |
| 41 | for (int i = 0; label && labels[i]; i++) { |
| 42 | if (strcmp(label, labels[i]) == 0) { |
| 43 | return true; |
| 44 | } |
| 45 | } |
| 46 | return false; |
| 47 | } |
| 48 | |
| 49 | /* The call reached code in the project's own sources. A synthetic builtin |
| 50 | * (a `<python-builtins>` node), a QN without a node, and a Variable are not: |
no outgoing calls
no test coverage detected