project_name
string
class_name
string
class_modifiers
string
class_implements
int64
class_extends
int64
function_name
string
function_body
string
cyclomatic_complexity
int64
NLOC
int64
num_parameter
int64
num_token
int64
num_variable
int64
start_line
int64
end_line
int64
function_index
int64
function_params
string
function_variable
string
function_return_type
string
function_body_line_type
string
function_num_functions
int64
function_num_lines
int64
outgoing_function_count
int64
outgoing_function_names
string
incoming_function_count
int64
incoming_function_names
string
lexical_representation
string
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
update_suffix
def update_suffix(self):"""Updates the suffix of time input fields to be singular or plural based on their values.For example: "1 day" vs "2 days""""for box in [self.days_box, self.hours_box, self.minutes_box]:suffix = box.suffix().rstrip("s")box.setSuffix(suffix if box.value() == 1 else suffix + "s")
3
4
1
53
0
145
152
145
self
[]
None
{"Assign": 1, "Expr": 2, "For": 1}
4
8
4
["rstrip", "box.suffix", "box.setSuffix", "box.value"]
0
[]
The function (update_suffix) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 145 and ends at 152. It contains 4 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 4.0...
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
set_status_icon
def set_status_icon(self, status: str):"""Sets the status icon (warning or error) next to the checkbox.Args:status: The icon to display (WARNING_ICON, ERROR_ICON, or empty string)"""self.status_icon.setText(status)
1
2
2
18
0
154
161
154
self,status
[]
None
{"Expr": 2}
1
8
1
["self.status_icon.setText"]
0
[]
The function (set_status_icon) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 154 and ends at 161. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [154.0] and does not return any value. It declar...
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
set_error_style
def set_error_style(self, is_error: bool):"""Sets the error styling for the time input fields.Args:is_error: If True, applies error styling; if False, removes it"""style = f"QSpinBox {{ background-color: {ERROR_BG_COLOR}; }}" if is_error else ""for box in [self.days_box, self.hours_box, self.minutes_box]:box.setStyleSh...
3
4
2
41
0
163
172
163
self,is_error
[]
None
{"Assign": 1, "Expr": 2, "For": 1}
1
10
1
["box.setStyleSheet"]
0
[]
The function (set_error_style) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 163 and ends at 172. It contains 4 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [163.0] and does not return any value. It declar...
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
update_state
def update_state(self):"""Updates the complete state of the row including enabled state, validation indicators,and suffixes based on current values and checkbox state."""is_checked = self.checkbox.isChecked()if not is_checked:self.set_status_icon(WARNING_ICON)self.set_error_style(False)elif self.get_timeout_seconds() =...
3
13
1
77
0
174
190
174
self
[]
None
{"Assign": 1, "Expr": 9, "If": 2}
10
17
10
["self.checkbox.isChecked", "self.set_status_icon", "self.set_error_style", "self.get_timeout_seconds", "self.set_status_icon", "self.set_error_style", "self.set_status_icon", "self.set_error_style", "self.set_enabled", "self.update_suffix"]
0
[]
The function (update_state) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 174 and ends at 190. It contains 13 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 10....
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
__init__
def __init__(self, *, timeouts: TimeoutTableEntries, parent=None):super().__init__("Timeouts", parent=parent)self.timeout_rows: Dict[str, TimeoutEntryWidget] = {}self._build_ui(timeouts)self.refresh_ui(timeouts)
1
5
3
52
0
215
219
215
self,label,tooltip
[]
None
{"Assign": 5, "Expr": 12}
18
24
18
["__init__", "super", "QCheckBox", "self.checkbox.setChecked", "self.checkbox.setToolTip", "QLabel", "self.status_icon.setFixedSize", "QSpinBox", "self.days_box.setSuffix", "self.days_box.setFixedWidth", "QSpinBox", "self.hours_box.setSuffix", "self.hours_box.setFixedWidth", "QSpinBox", "self.minutes_box.setSuffix", "s...
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 215 and ends at 219. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [215.0] and does not return any value. It declares 18.0...
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
_build_ui
def _build_ui(self, timeouts: TimeoutTableEntries):"""Constructs the complete UI layout with all timeout rows and message labels.Args:entries: List of TimeoutEntry objects defining the timeout settings"""self.layout = QFormLayout(self)self.layout.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)self.timeouts_box ...
2
15
2
179
0
221
246
221
self
[]
None
{"Assign": 1, "Expr": 7}
7
12
7
["QGridLayout", "layout.setContentsMargins", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget"]
0
[]
The function (_build_ui) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 221 and ends at 246. It contains 15 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [221.0] and does not return any value. It declares 7....
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_create_message_label
def _create_message_label(self, bg_color: str) -> QLabel:"""Creates a styled label for displaying error or warning messages.Args:bg_color: Background color for the message labelReturns:QLabel: A configured label with appropriate styling"""label = QLabel()label.setStyleSheet(f"""QLabel {{ background-color: {bg_color};co...
1
4
2
32
0
248
268
248
self,bg_color
[]
QLabel
{"Assign": 1, "Expr": 3, "Return": 1}
3
21
3
["QLabel", "label.setStyleSheet", "label.setWordWrap"]
0
[]
The function (_create_message_label) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 248 and ends at 268. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [248.0] and does not return any value. It ...
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_update_ui_state
def _update_ui_state(self):"""Updates the UI state for error and warning messages."""self._update_error_states()self._update_warning_states()
1
3
1
16
0
270
275
270
self
[]
None
{"Expr": 3}
2
6
2
["self._update_error_states", "self._update_warning_states"]
0
[]
The function (_update_ui_state) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 270 and ends at 275. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares ...
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_update_error_states
def _update_error_states(self):"""Updates the error message label based on validation of all timeout rows."""any_zero = any(row.get_timeout_seconds() == 0 and row.checkbox.isChecked()for row in self.timeout_rows.values())self.error_label.setText("Error: Timeout cannot be set to zero." if any_zero else "")self.error_lab...
4
7
1
56
0
277
286
277
self
[]
None
{"Assign": 1, "Expr": 3}
6
10
6
["any", "row.get_timeout_seconds", "row.checkbox.isChecked", "self.timeout_rows.values", "self.error_label.setText", "self.error_label.setVisible"]
0
[]
The function (_update_error_states) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 277 and ends at 286. It contains 7 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value. It decla...
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_update_warning_states
def _update_warning_states(self):"""Updates the warning message label based on the state of all timeout rows."""any_deactivated = any(not row.checkbox.isChecked() for row in self.timeout_rows.values())warning_text = ("Warning: Without a specified timeout, tasks may run indefinitely if issues occur."if any_deactivatedel...
3
9
1
54
0
288
299
288
self
[]
None
{"Assign": 2, "Expr": 3}
5
12
5
["any", "row.checkbox.isChecked", "self.timeout_rows.values", "self.warning_label.setText", "self.warning_label.setVisible"]
0
[]
The function (_update_warning_states) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 288 and ends at 299. It contains 9 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It dec...
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
refresh_ui
def refresh_ui(self, timeouts: TimeoutTableEntries):"""Refreshes all UI elements to reflect the current timeout settings.Args:entries: List of TimeoutEntry objects containing the current settings"""for label, entry in timeouts.entries.items():if label in self.timeout_rows:row = self.timeout_rows[label]row.checkbox.setC...
3
7
2
61
0
301
313
301
self,timeouts
[]
None
{"Assign": 1, "Expr": 4, "For": 1, "If": 1}
4
13
4
["timeouts.entries.items", "row.checkbox.setChecked", "row.set_timeout", "self._update_ui_state"]
0
[]
The function (refresh_ui) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 301 and ends at 313. It contains 7 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [301.0] and does not return any value. It declares 4....
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
update_settings
def update_settings(self, timeouts: TimeoutTableEntries):"""Updates the timeouts with the current values from the UI."""for label, row in self.timeout_rows.items():if label in timeouts.entries:entry = timeouts.entries[label]entry.is_activated = row.checkbox.isChecked()entry.seconds = row.get_timeout_seconds()
3
6
2
58
0
315
323
315
self,timeouts
[]
None
{"Assign": 3, "Expr": 1, "For": 1, "If": 1}
3
9
3
["self.timeout_rows.items", "row.checkbox.isChecked", "row.get_timeout_seconds"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"]
The function (update_settings) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 315 and ends at 323. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [315.0] and does not return any value. It declar...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self,*,parameter_definitions: List[JobParameter] = [],async_loading_state: str = "",parent=None,):super().__init__(parent=parent)self.rebuild_ui(parameter_definitions=parameter_definitions, async_loading_state=async_loading_state)
1
11
4
50
0
60
71
60
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 60 and ends at 71. It contains 11 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [60.0] and does not return any value. It declares 3....
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
rebuild_ui
def rebuild_ui(self,*,parameter_definitions: list[JobParameter] = [],async_loading_state: str = "",):"""Rebuilds the widget's UI to the new parameter_definitions, or to display theasync_loading_state message."""if parameter_definitions and async_loading_state:raise RuntimeError("Constructing or updating an OpenJD param...
20
76
3
503
0
73
172
73
self,parameter_definitions,async_loading_state
[]
None
{"AnnAssign": 1, "Assign": 18, "Expr": 16, "For": 2, "If": 14, "Return": 1}
39
100
39
["RuntimeError", "self.layout", "isinstance", "reversed", "range", "layout.count", "layout.takeAt", "child.widget", "deleteLater", "child.widget", "child.layout", "deleteLater", "child.layout", "QVBoxLayout", "layout.setContentsMargins", "QLabel", "loading.setAlignment", "loading.setMinimumSize", "loading.setTextIntera...
0
[]
The function (rebuild_ui) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 73 and ends at 172. It contains 76 lines of code and it has a cyclomatic complexity of 20. It takes 3 parameters, represented as [73.0] and does not return any value. It declare...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
get_parameters
def get_parameters(self):"""Returns a list of OpenJD parameter definition dicts witha "value" key filled from the widget."""parameter_values = []for control in self.controls.values():parameter = deepcopy(control.job_template_parameter)parameter["value"] = control.value()parameter_values.append(parameter)return paramete...
2
7
1
47
0
174
184
174
self
[]
Returns
{"Assign": 3, "Expr": 2, "For": 1, "Return": 1}
4
11
4
["self.controls.values", "deepcopy", "control.value", "parameter_values.append"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.compile_py.run_optimization_pass", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.run.impl_py._translate_framework_modules_on_devi...
The function (get_parameters) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 174 and ends at 184. It contains 7 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It dec...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
set_parameter_value
def set_parameter_value(self, parameter: dict[str, Any]):"""Given an OpenJD parameter definition with a "value" key,set the parameter value in the widget.If the parameter value cannot be set, raises a KeyError."""self.controls[parameter["name"]].set_value(parameter["value"])
1
2
2
32
0
186
193
186
self,parameter
[]
None
{"Expr": 2}
1
8
1
["set_value"]
0
[]
The function (set_parameter_value) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 186 and ends at 193. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [186.0] and does not return any value. I...
aws-deadline_deadline-cloud
public
public
0
0
_get_parameter_label
def _get_parameter_label(parameter):"""Returns the label to use for this parameter. Default to the label from "userInterface",then the parameter name."""name = parameter["name"]if "userInterface" in parameter:return parameter["userInterface"].get("label", name)else:return name
2
6
1
33
1
196
205
196
parameter
['name']
Returns
{"Assign": 1, "Expr": 1, "If": 1, "Return": 2}
1
10
1
["get"]
8
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateBaseFileWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_clo...
The function (_get_parameter_label) defined within the public class called public.The function start at line 196 and ends at 205. It contains 6 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parameter_name, min_length: int, max_length: int, allowed_pattern: str):super().__init__()self.min_length = min_lengthself.max_length = max_lengthself.allowed_pattern = QRegularExpression(allowed_pattern)if not self.allowed_pattern.isValid():raise RuntimeError(f"Could not process 'allowedPattern' for...
2
10
5
63
0
209
218
209
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 209 and ends at 218. It contains 10 lines of code and it has a cyclomatic complexity of 2. It takes 5 parameters, represented as [209.0] and does not return any value. It declares...
aws-deadline_deadline-cloud
_JobTemplateLineEditValidator
protected
0
1
validate
def validate(self, s, pos):if self.max_length is not None and len(s) > self.max_length:return (QValidator.Invalid, s, pos)if self.allowed_pattern is not None:match = self.allowed_pattern.match(s, matchType=QRegularExpression.PartialPreferFirstMatch)if match.hasPartialMatch():return (QValidator.Intermediate, s, pos)elif...
8
14
3
132
0
220
236
220
self,s,pos
[]
Returns
{"Assign": 1, "If": 5, "Return": 5}
5
17
5
["len", "self.allowed_pattern.match", "match.hasPartialMatch", "match.hasMatch", "len"]
66
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.lib.formlayout_py.is_edit_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.mozci.taskcluster.tc_py.validate_schema", "_.content.gdrive.MyDrive.Phd_...
The function (validate) defined within the protected class called _JobTemplateLineEditValidator, that inherit another class.The function start at line 220 and ends at 236. It contains 14 lines of code and it has a cyclomatic complexity of 8. It takes 3 parameters, represented as [220.0], and this function return a valu...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parent, parameter):super().__init__(parent)self.job_template_parameter = parameter# Validate that the template parameter has the right type and fieldsif parameter["type"] not in self.OPENJD_TYPES:if len(self.OPENJD_TYPES) == 1:raise RuntimeError(f"Job Template parameter {parameter['name']} with contr...
7
31
3
143
0
242
279
242
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 242 and ends at 279. It contains 31 lines of code and it has a cyclomatic complexity of 7. It takes 3 parameters, represented as [242.0] and does not return any value. It declares...
aws-deadline_deadline-cloud
_JobTemplateWidget
protected
0
1
name
def name(self):return self.job_template_parameter["name"]
1
2
1
12
0
281
282
281
self
[]
Returns
{"Return": 1}
0
2
0
[]
8
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.Navigation.ctags_support_py.EntryNode.data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", ...
The function (name) defined within the protected class called _JobTemplateWidget, that inherit another class.The function start at line 281 and ends at 282. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 8.0 functi...
aws-deadline_deadline-cloud
_JobTemplateWidget
protected
0
1
type
def type(self):return self.job_template_parameter["type"]
1
2
1
12
0
284
285
284
self
[]
Returns
{"Return": 1}
0
2
0
[]
1,534
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.table_py.fun_tabularize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.table_py.strip_data...
The function (type) defined within the protected class called _JobTemplateWidget, that inherit another class.The function start at line 284 and ends at 285. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 1534.0 fun...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QLineEdit(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget...
6
21
2
161
0
295
320
295
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 295 and ends at 320. It contains 21 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [295.0] and does not return any value. It ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
322
323
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 322 and ends at 323. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setText(str(value))
1
2
2
18
0
325
326
325
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 325 and ends at 326. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [325.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_handle_text_changed
def _handle_text_changed(self, text, callback):message = deepcopy(self.job_template_parameter)message["value"] = textcallback(message)
1
4
3
27
0
328
331
328
self,text,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_text_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 328 and ends at 331. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [328.0] and does not return any ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
333
336
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 333 and ends at 336. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QVBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QTextEdit(self)self.edit_control.setAcceptRichText(False)if os.name == "nt":font_family = "Consolas"elif os.name == "darwin":font_fami...
5
25
2
186
0
347
374
347
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 347 and ends at 374. It contains 25 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [347.0] and does not return any value. It ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
376
377
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 376 and ends at 377. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setText(str(value))
1
2
2
18
0
379
380
325
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 379 and ends at 380. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [325.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_handle_text_changed
def _handle_text_changed(self, text, callback):message = deepcopy(self.job_template_parameter)message["value"] = textcallback(message)
1
4
3
27
0
382
385
328
self,text,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_text_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 382 and ends at 385. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [328.0] and does not return any ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda: self._handle_text_changed(self.value(), callback))
1
4
2
30
0
387
390
387
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 387 and ends at 390. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [387.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = IntDragSpinBox(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addW...
12
43
2
267
0
400
452
400
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 400 and ends at 452. It contains 43 lines of code and it has a cyclomatic complexity of 12. It takes 2 parameters, represented as [400.0] and does not return any value. It...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):self.edit_control.interpretText()return self.edit_control.value()
1
3
1
20
0
454
456
454
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 454 and ends at 456. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
458
459
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 458 and ends at 459. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateIntSpinBoxWidget
protected
0
1
_handle_value_changed
def _handle_value_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
461
464
461
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_value_changed) defined within the protected class called _JobTemplateIntSpinBoxWidget, that inherit another class.The function start at line 461 and ends at 464. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [461.0] and does not return a...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
466
469
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 466 and ends at 469. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = FloatDragSpinBox(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.ad...
13
48
2
308
0
479
538
479
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 479 and ends at 538. It contains 48 lines of code and it has a cyclomatic complexity of 13. It takes 2 parameters, represented as [479.0] and does not return any value. It...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):self.edit_control.interpretText()return self.edit_control.value()
1
3
1
20
0
540
542
454
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 540 and ends at 542. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
544
545
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 544 and ends at 545. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateIntSpinBoxWidget
protected
0
1
_handle_value_changed
def _handle_value_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
547
550
461
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_value_changed) defined within the protected class called _JobTemplateIntSpinBoxWidget, that inherit another class.The function start at line 547 and ends at 550. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [461.0] and does not return a...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
552
555
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 552 and ends at 555. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QComboBox(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget...
4
15
2
138
0
569
590
569
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 569 and ends at 590. It contains 15 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [569.0] and does not return any value. It ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
592
593
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 592 and ends at 593. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):index = self.edit_control.findData(value)if index >= 0:self.edit_control.setCurrentIndex(index)
2
4
2
30
0
595
598
595
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 595 and ends at 598. It contains 4 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [595.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateDropdownListWidget
protected
0
1
_handle_index_changed
def _handle_index_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
600
603
600
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_index_changed) defined within the protected class called _JobTemplateDropdownListWidget, that inherit another class.The function start at line 600 and ends at 603. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [600.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.currentIndexChanged.connect(lambda _: self._handle_index_changed(self.value(), callback))
1
4
2
31
0
605
608
605
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 605 and ends at 608. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [605.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Get the filtersfiletype_filter = "Any files (*)"selected_filter = ""if "userInterface" in parameter:file_filter_list = parameter["userInterface"].get("fileFilters")if file_filter_list:filetype_filter = ";;".join(f"{file_filter['label']} ({' '.join(file_filter['patterns'])})"for file_fil...
8
34
2
205
0
617
656
617
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 617 and ends at 656. It contains 34 lines of code and it has a cyclomatic complexity of 8. It takes 2 parameters, represented as [617.0] and does not return any value. It ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
658
659
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 658 and ends at 659. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
661
662
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 661 and ends at 662. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateBaseFileWidget
protected
0
1
_handle_path_changed
def _handle_path_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
664
667
664
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_path_changed) defined within the protected class called _JobTemplateBaseFileWidget, that inherit another class.The function start at line 664 and ends at 667. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [664.0] and does not return any ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
669
672
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 669 and ends at 672. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = DirectoryPickerWidget(initial_directory="", directory_label=parameter["name"], parent=self)self.edit_control.setSizePolicy(QSizePolicy...
3
14
2
119
0
692
708
692
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 692 and ends at 708. It contains 14 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [692.0] and does not return any value. It ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
710
711
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 710 and ends at 711. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
713
714
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 713 and ends at 714. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateBaseFileWidget
protected
0
1
_handle_path_changed
def _handle_path_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
716
719
664
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_path_changed) defined within the protected class called _JobTemplateBaseFileWidget, that inherit another class.The function start at line 716 and ends at 719. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [664.0] and does not return any ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
721
724
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 721 and ends at 724. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter: Dict[str, Any]) -> None:# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QCheckBox(self)layout.addWidget(self.label)layout.addWidget(self.edit_control, Qt.AlignLeft)self.setLayout(lay...
8
25
2
212
0
742
773
742
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 742 and ends at 773. It contains 25 lines of code and it has a cyclomatic complexity of 8. It takes 2 parameters, represented as [742.0] and does not return any value. It ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self) -> str:if self.edit_control.isChecked():return self.true_valueelse:return self.false_value
2
5
1
26
0
775
779
775
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 775 and ends at 779. It contains 5 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value: str) -> None:if value == self.true_value:self.edit_control.setChecked(True)else:self.edit_control.setChecked(False)
2
5
2
36
0
781
785
781
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 781 and ends at 785. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [781.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateIntSpinBoxWidget
protected
0
1
_handle_value_changed
def _handle_value_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
787
790
461
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_value_changed) defined within the protected class called _JobTemplateIntSpinBoxWidget, that inherit another class.The function start at line 787 and ends at 790. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [461.0] and does not return a...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.currentIndexChanged.connect(lambda _: self._handle_index_changed(self.value(), callback))
1
4
2
31
0
792
795
605
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 792 and ends at 795. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [605.0] and does not return...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parent: QWidget, parameter: Dict[str, Any]):super().__init__(parent, parameter)
1
2
3
28
0
811
812
811
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 811 and ends at 812. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [811.0] and does not return any value. It declares ...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter: Dict[str, Any]) -> None:pass
1
2
2
17
0
814
815
814
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTi...
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 814 and ends at 815. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [814.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self) -> Any:return self._value
1
2
1
11
0
817
818
817
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Th...
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 817 and ends at 818. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It decla...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value: Any) -> None:self._value = value
1
2
2
16
0
820
821
820
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive....
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 820 and ends at 821. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [820.0] and does not return any value. It d...
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):pass
1
2
2
8
0
823
824
823
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 823 and ends at 824. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [823.0] and does not return...
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parent: QWidget, group_name: str):super().__init__(parent)self.setTitle(group_name)self.setLayout(QVBoxLayout())
1
4
3
35
0
828
831
828
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 828 and ends at 831. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [828.0] and does not return any value. It declares ...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,initial_filename: str,file_label: str,filter: str,selected_filter: str,collapse_user_dir: bool,parent,):super().__init__(parent)self._build_ui()with block_signals(self.filename_edit):self.filename_edit.setText(initial_filename)self.file_label = file_labelself.filter = filterself.selected_filter = sele...
1
17
7
77
0
23
39
23
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 23 and ends at 39. It contains 17 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [23.0] and does not return any value. It declares 5.0 functi...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
_build_ui
def _build_ui(self):self.filename_edit = QLineEdit(parent=self)layout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)layout.addWidget(self.filename_edit)self.choose_file_button = QPushButton("...")self.choose_file_button.setFixedSize(30, 22)layout.addWidget(self.choose_file_button)self.filename_edit.editingFinishe...
1
11
1
96
0
41
51
41
self
[]
None
{"Assign": 3, "Expr": 7}
10
11
10
["QLineEdit", "QHBoxLayout", "layout.setContentsMargins", "layout.addWidget", "QPushButton", "self.choose_file_button.setFixedSize", "layout.addWidget", "self.filename_edit.editingFinished.connect", "self.choose_file_button.clicked.connect", "self.setLayout"]
0
[]
The function (_build_ui) defined within the protected class called _FileWidget, that inherit another class.The function start at line 41 and ends at 51. It contains 11 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 10.0 functio...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
text
def text(self) -> str:"""Gets the current directory value."""return self.filename_edit.text()
1
2
1
16
0
53
57
53
self
[]
str
{"Expr": 1, "Return": 1}
1
5
1
["self.filename_edit.text"]
28
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.ban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.delete_history", "_.content.gdrive....
The function (text) defined within the protected class called _FileWidget, that inherit another class.The function start at line 53 and ends at 57. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, It ha...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
setText
def setText(self, filename):"""Sets the current directory value"""if filename:filename = os.path.normpath(filename)if self.collapse_user_dir:# If it's in the home directory, change to the ~ syntaxhome_dir = os.path.expanduser("~")if filename.startswith(home_dir):filename = os.path.join("~", filename[len(home_dir) + 1 :...
4
10
2
89
0
59
72
59
self,filename
[]
None
{"Assign": 3, "Expr": 3, "If": 3, "With": 1}
8
14
8
["os.path.normpath", "os.path.expanduser", "filename.startswith", "os.path.join", "len", "block_signals", "self.filename_edit.setText", "self.path_changed.emit"]
7
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.helpers.recentfilehandler_py.RecentFileHandler.__loadRecentFiles", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.SysCModules.SysCModulesPlugin_py.S...
The function (setText) defined within the protected class called _FileWidget, that inherit another class.The function start at line 59 and ends at 72. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [59.0] and does not return any value. It declares 8.0 functio...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
on_filename_edited
def on_filename_edited(self):self.path_changed.emit(self.text())
1
2
1
17
0
74
75
74
self
[]
None
{"Expr": 1}
2
2
2
["self.path_changed.emit", "self.text"]
0
[]
The function (on_filename_edited) defined within the protected class called _FileWidget, that inherit another class.The function start at line 74 and ends at 75. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 ...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
on_choose_file
def on_choose_file(self):filename = os.path.expanduser(self.filename_edit.text()) or "."filename = self.file_dialog(self, f"Choose {self.file_label}", filename)if filename:self.setText(filename)
3
5
1
45
0
77
83
77
self
[]
None
{"Assign": 2, "Expr": 1, "If": 1}
4
7
4
["os.path.expanduser", "self.filename_edit.text", "self.file_dialog", "self.setText"]
0
[]
The function (on_choose_file) defined within the protected class called _FileWidget, that inherit another class.The function start at line 77 and ends at 83. It contains 5 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 4.0 func...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,*,initial_filename: str,file_label: str,filter: str,selected_filter: str,collapse_user_dir: bool = False,parent=None,):super().__init__(initial_filename, file_label, filter, selected_filter, collapse_user_dir, parent)
1
13
7
52
0
107
119
107
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 107 and ends at 119. It contains 13 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [107.0] and does not return any value. It declares 5.0 fun...
aws-deadline_deadline-cloud
InputFilePickerWidget
public
0
1
file_dialog
def file_dialog(self, parent, caption, dir):filename, selected_filter = QFileDialog.getOpenFileName(parent,caption,dir,self.filter,self.selected_filter,)self.selected_filter = selected_filterreturn filename
1
10
4
41
0
121
130
121
self,parent,caption,dir
[]
Returns
{"Assign": 2, "Return": 1}
1
10
1
["QFileDialog.getOpenFileName"]
0
[]
The function (file_dialog) defined within the public class called InputFilePickerWidget, that inherit another class.The function start at line 121 and ends at 130. It contains 10 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [121.0], and this function return a value. It de...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,*,initial_filename: str,file_label: str,filter: str,selected_filter: str,collapse_user_dir: bool = False,parent=None,):super().__init__(initial_filename, file_label, filter, selected_filter, collapse_user_dir, parent)
1
13
7
52
0
154
166
107
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 154 and ends at 166. It contains 13 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [107.0] and does not return any value. It declares 5.0 fun...
aws-deadline_deadline-cloud
InputFilePickerWidget
public
0
1
file_dialog
def file_dialog(self, parent, caption, dir):filename, selected_filter = QFileDialog.getOpenFileName(parent,caption,dir,self.filter,self.selected_filter,)self.selected_filter = selected_filterreturn filename
1
10
4
41
0
168
177
121
self,parent,caption,dir
[]
Returns
{"Assign": 2, "Return": 1}
1
10
1
["QFileDialog.getOpenFileName"]
0
[]
The function (file_dialog) defined within the public class called InputFilePickerWidget, that inherit another class.The function start at line 168 and ends at 177. It contains 10 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [121.0], and this function return a value. It de...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,*,initial_directory: str,directory_label: str,collapse_user_dir: bool = False,parent=None,):super().__init__(parent)self._build_ui()with block_signals(self.directory_edit):self.directory_edit.setText(initial_directory)self.directory_label = directory_labelself.collapse_user_dir = collapse_user_dir
1
14
5
65
0
200
213
200
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 200 and ends at 213. It contains 14 lines of code and it has a cyclomatic complexity of 1. It takes 5 parameters, represented as [200.0] and does not return any value. It declares 5.0 fun...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
_build_ui
def _build_ui(self):self.filename_edit = QLineEdit(parent=self)layout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)layout.addWidget(self.filename_edit)self.choose_file_button = QPushButton("...")self.choose_file_button.setFixedSize(30, 22)layout.addWidget(self.choose_file_button)self.filename_edit.editingFinishe...
1
11
1
96
0
215
225
41
self
[]
None
{"Assign": 3, "Expr": 7}
10
11
10
["QLineEdit", "QHBoxLayout", "layout.setContentsMargins", "layout.addWidget", "QPushButton", "self.choose_file_button.setFixedSize", "layout.addWidget", "self.filename_edit.editingFinished.connect", "self.choose_file_button.clicked.connect", "self.setLayout"]
0
[]
The function (_build_ui) defined within the protected class called _FileWidget, that inherit another class.The function start at line 215 and ends at 225. It contains 11 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 10.0 funct...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
text
def text(self) -> str:"""Gets the current directory value."""return self.filename_edit.text()
1
2
1
16
0
227
231
53
self
[]
str
{"Expr": 1, "Return": 1}
1
5
1
["self.filename_edit.text"]
28
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.ban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.delete_history", "_.content.gdrive....
The function (text) defined within the protected class called _FileWidget, that inherit another class.The function start at line 227 and ends at 231. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, It ...
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
setText
def setText(self, filename):"""Sets the current directory value"""if filename:filename = os.path.normpath(filename)if self.collapse_user_dir:# If it's in the home directory, change to the ~ syntaxhome_dir = os.path.expanduser("~")if filename.startswith(home_dir):filename = os.path.join("~", filename[len(home_dir) + 1 :...
4
10
2
89
0
233
246
59
self,filename
[]
None
{"Assign": 3, "Expr": 3, "If": 3, "With": 1}
8
14
8
["os.path.normpath", "os.path.expanduser", "filename.startswith", "os.path.join", "len", "block_signals", "self.filename_edit.setText", "self.path_changed.emit"]
7
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.helpers.recentfilehandler_py.RecentFileHandler.__loadRecentFiles", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.SysCModules.SysCModulesPlugin_py.S...
The function (setText) defined within the protected class called _FileWidget, that inherit another class.The function start at line 233 and ends at 246. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [59.0] and does not return any value. It declares 8.0 funct...
aws-deadline_deadline-cloud
DirectoryPickerWidget
public
0
1
on_directory_edited
def on_directory_edited(self):self.path_changed.emit(self.text())
1
2
1
17
0
248
249
248
self
[]
None
{"Expr": 1}
2
2
2
["self.path_changed.emit", "self.text"]
0
[]
The function (on_directory_edited) defined within the public class called DirectoryPickerWidget, that inherit another class.The function start at line 248 and ends at 249. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It dec...
aws-deadline_deadline-cloud
DirectoryPickerWidget
public
0
1
on_choose_directory
def on_choose_directory(self):directory = os.path.expanduser(self.directory_edit.text()) or "."# If the directory is missing, create it so the dir chooser starts thereif not os.path.isdir(directory):os.makedirs(directory)directory = QFileDialog.getExistingDirectory(self,f"Choose {self.directory_label}",directory,QFileD...
4
12
1
71
0
251
266
251
self
[]
None
{"Assign": 2, "Expr": 2, "If": 2}
6
16
6
["os.path.expanduser", "self.directory_edit.text", "os.path.isdir", "os.makedirs", "QFileDialog.getExistingDirectory", "self.setText"]
0
[]
The function (on_choose_directory) defined within the public class called DirectoryPickerWidget, that inherit another class.The function start at line 251 and ends at 266. It contains 12 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value. It de...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
__init__
def __init__(self, *, initial_settings, initial_shared_parameter_values: dict[str, Any], parent=None):super().__init__(parent=parent)layout = QVBoxLayout(self)# This is a dictionary {<name>: <value>} containing values to# override the queue parameter defaults.self.initial_shared_parameter_values = initial_shared_parame...
3
30
4
224
0
65
104
65
self,initial_settings,initial_shared_parameter_values,parent
[]
None
{"AnnAssign": 1, "Assign": 8, "Expr": 10, "For": 1, "If": 1}
19
40
19
["__init__", "super", "QVBoxLayout", "SharedJobPropertiesWidget", "layout.addWidget", "DeadlineCloudSettingsWidget", "layout.addWidget", "OpenJDParametersWidget", "layout.addWidget", "self.queue_parameters_box.parameter_changed.connect", "self.parameter_changed.emit", "CancelationFlag", "self.destroyed.connect", "self....
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 65 and ends at 104. It contains 30 lines of code and it has a cyclomatic complexity of 3. It takes 4 parameters, represented as [65.0] and does not return any value. It declares ...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
__del__
def __del__(self):self.canceled.set_canceled()if (self.__refresh_queue_parameters_threadand self.__refresh_queue_parameters_thread.is_alive()):self.__refresh_queue_parameters_thread.join()
3
7
1
34
0
106
112
106
self
[]
None
{"Expr": 2, "If": 1}
3
7
3
["self.canceled.set_canceled", "self.__refresh_queue_parameters_thread.is_alive", "self.__refresh_queue_parameters_thread.join"]
0
[]
The function (__del__) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 106 and ends at 112. It contains 7 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 3.0 ...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
refresh_ui
def refresh_ui(self, job_settings: Any, load_new_bundle: bool = False):# Refresh the job settings in the UIself.shared_job_properties_box.refresh_ui(job_settings)if load_new_bundle:# Update the initial shared parameter values corresponding to the new job bundleself.initial_shared_parameter_values = {}for parameter in j...
5
10
3
77
0
114
126
114
self,job_settings,load_new_bundle
[]
None
{"Assign": 2, "Expr": 2, "For": 1, "If": 2}
4
13
4
["self.shared_job_properties_box.refresh_ui", "parameter.get", "parameter.get", "self.refresh_queue_parameters"]
0
[]
The function (refresh_ui) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 114 and ends at 126. It contains 10 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [114.0] and does not return any value. It decla...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
refresh_queue_parameters
def refresh_queue_parameters(self, load_new_bundle: bool = False):"""If the default queue id or job bundle has changed, refresh the queue parameters."""farm_id = get_setting("defaults.farm_id")queue_id = get_setting("defaults.queue_id")if not farm_id or not queue_id:self.queue_parameters_box.rebuild_ui(async_loading_st...
12
25
2
123
0
128
158
128
self,load_new_bundle
[]
None
{"Assign": 2, "Expr": 5, "If": 4, "Return": 1}
8
31
8
["get_setting", "get_setting", "self.queue_parameters_box.rebuild_ui", "self.queue_parameters_box.rebuild_ui", "self.__refresh_queue_parameters_thread.is_alive", "self.__refresh_queue_parameters_thread.join", "self.__refresh_queue_parameters_thread.is_alive", "self._start_load_queue_parameters_thread"]
0
[]
The function (refresh_queue_parameters) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 128 and ends at 158. It contains 25 lines of code and it has a cyclomatic complexity of 12. It takes 2 parameters, represented as [128.0] and does not return any ...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_handle_background_queue_parameters_exception
def _handle_background_queue_parameters_exception(self, title: str, error: BaseException):self.__valid_queue = Falseself.valid_parameters.emit(False)if self.__refresh_queue_parameters_thread:self.canceled.set_canceled()self.__refresh_queue_parameters_thread.join()self.queue_parameters_box.rebuild_ui(async_loading_state...
2
11
3
62
0
160
170
160
self,title,error
[]
None
{"Assign": 1, "Expr": 4, "If": 1}
5
11
5
["self.valid_parameters.emit", "self.canceled.set_canceled", "self.__refresh_queue_parameters_thread.join", "self.queue_parameters_box.rebuild_ui", "format"]
0
[]
The function (_handle_background_queue_parameters_exception) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 160 and ends at 170. It contains 11 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [160.0] and ...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_start_load_queue_parameters_thread
def _start_load_queue_parameters_thread(self):"""Starts a background thread to load the queue parameters."""self.farm_id = farm_id = get_setting("defaults.farm_id")self.queue_id = queue_id = get_setting("defaults.queue_id")if not self.farm_id or not self.queue_id:# If the user has not selected a farm or queue ID, don't...
3
13
1
88
0
172
189
172
self
[]
None
{"Assign": 4, "AugAssign": 1, "Expr": 2, "If": 1, "Return": 1}
5
18
5
["get_setting", "get_setting", "CancelationFlag", "threading.Thread", "self.__refresh_queue_parameters_thread.start"]
0
[]
The function (_start_load_queue_parameters_thread) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 172 and ends at 189. It contains 13 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not retur...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
is_queue_valid
def is_queue_valid(self) -> bool:return self.__valid_queue
1
2
1
11
0
191
192
191
self
[]
bool
{"Return": 1}
0
2
0
[]
0
[]
The function (is_queue_valid) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 191 and ends at 192. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value..
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_handle_queue_parameters_update
def _handle_queue_parameters_update(self, refresh_id, queue_parameters):# Apply the refresh if it's still for the latest callif refresh_id == self.__refresh_queue_parameters_id:self.__valid_queue = Trueself.valid_parameters.emit(True)# Apply the initial queue parameter valuesfor parameter in queue_parameters:if paramet...
4
8
3
68
0
194
203
194
self,refresh_id,queue_parameters
[]
None
{"Assign": 2, "Expr": 2, "For": 1, "If": 2}
2
10
2
["self.valid_parameters.emit", "self.queue_parameters_box.rebuild_ui"]
0
[]
The function (_handle_queue_parameters_update) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 194 and ends at 203. It contains 8 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [194.0] and does not return...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_load_queue_parameters_thread_function
def _load_queue_parameters_thread_function(self, refresh_id: int, farm_id: str, queue_id: str):"""This function gets started in a background thread to refresh the list."""try:queue_parameters = get_queue_parameter_definitions(farmId=farm_id, queueId=queue_id)if not self.canceled:self._queue_parameters_update.emit(refre...
4
8
4
69
0
205
215
205
self,refresh_id,farm_id,queue_id
[]
None
{"Assign": 1, "Expr": 3, "If": 2, "Try": 1}
3
11
3
["get_queue_parameter_definitions", "self._queue_parameters_update.emit", "self._background_exception.emit"]
0
[]
The function (_load_queue_parameters_thread_function) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 205 and ends at 215. It contains 8 lines of code and it has a cyclomatic complexity of 4. It takes 4 parameters, represented as [205.0] and does not...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
update_settings
def update_settings(self, settings):self.shared_job_properties_box.update_settings(settings)
1
2
2
15
0
217
218
217
self,settings
[]
None
{"Expr": 1}
1
2
1
["self.shared_job_properties_box.update_settings"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"]
The function (update_settings) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 217 and ends at 218. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [217.0] and does not return any value. It d...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
get_parameters
def get_parameters(self):"""Returns a list of OpenJD parameter definition dicts witha "value" key filled from the widget."""queue_parameters = self.queue_parameters_box.get_parameters()deadline_shared_job_parameters = self.shared_job_properties_box.get_parameters()return queue_parameters + deadline_shared_job_parameter...
1
4
1
28
0
220
228
220
self
[]
Returns
{"Assign": 2, "Expr": 1, "Return": 1}
2
9
2
["self.queue_parameters_box.get_parameters", "self.shared_job_properties_box.get_parameters"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.compile_py.run_optimization_pass", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.run.impl_py._translate_framework_modules_on_devi...
The function (get_parameters) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 220 and ends at 228. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It de...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
set_parameter_value
def set_parameter_value(self, parameter: dict[str, Any]):"""Given an OpenJD parameter definition with a "value" key,set the parameter value in the widget.If the parameter value cannot be set, raises a KeyError."""if parameter["name"].startswith("deadline:"):self.shared_job_properties_box.set_parameter_value(parameter)e...
2
5
2
44
0
230
240
230
self,parameter
[]
None
{"Expr": 3, "If": 1}
3
11
3
["startswith", "self.shared_job_properties_box.set_parameter_value", "self.queue_parameters_box.set_parameter_value"]
0
[]
The function (set_parameter_value) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 230 and ends at 240. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [230.0] and does not return any value. ...
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
__init__
def __init__(self, *, initial_settings, parent=None):super().__init__("Job Properties", parent=parent)self._build_ui()self.refresh_ui(initial_settings)
1
4
3
36
0
252
256
252
self,initial_settings,initial_shared_parameter_values,parent
[]
None
{"AnnAssign": 1, "Assign": 8, "Expr": 10, "For": 1, "If": 1}
19
40
19
["__init__", "super", "QVBoxLayout", "SharedJobPropertiesWidget", "layout.addWidget", "DeadlineCloudSettingsWidget", "layout.addWidget", "OpenJDParametersWidget", "layout.addWidget", "self.queue_parameters_box.parameter_changed.connect", "self.parameter_changed.emit", "CancelationFlag", "self.destroyed.connect", "self....
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_...
The function (__init__) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 252 and ends at 256. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [252.0] and does not return any value. It declares...
aws-deadline_deadline-cloud
SharedJobPropertiesWidget
public
0
1
_build_ui
def _build_ui(self):self.layout = QFormLayout(self)self.layout.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)self.sub_name_edit = QLineEdit()self.sub_name_edit.setMaxLength(128)self.layout.addRow("Name", self.sub_name_edit)self.desc_label = QLabel("Description")self.desc_edit = QLineEdit()self.desc_edit.setMax...
1
46
1
385
0
258
310
258
self
[]
None
{"Assign": 17, "Expr": 22}
39
53
39
["QFormLayout", "self.layout.setFieldGrowthPolicy", "QLineEdit", "self.sub_name_edit.setMaxLength", "self.layout.addRow", "QLabel", "QLineEdit", "self.desc_edit.setMaxLength", "self.layout.addRow", "QLabel", "QSpinBox", "self.priority_box.setRange", "self.layout.addRow", "QLabel", "QComboBox", "self.initial_status_box....
0
[]
The function (_build_ui) defined within the public class called SharedJobPropertiesWidget, that inherit another class.The function start at line 258 and ends at 310. It contains 46 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares...
aws-deadline_deadline-cloud
SharedJobPropertiesWidget
public
0
1
limited_max_worker_count_radio_button_toggled
def limited_max_worker_count_radio_button_toggled(self, state):"""Enable the max worker count text box when limited max worker count radio button is enabled."""self.max_worker_count_box.setHidden(not state)
1
2
2
17
0
312
316
312
self,state
[]
None
{"Expr": 2}
1
5
1
["self.max_worker_count_box.setHidden"]
0
[]
The function (limited_max_worker_count_radio_button_toggled) defined within the public class called SharedJobPropertiesWidget, that inherit another class.The function start at line 312 and ends at 316. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [312.0] and...
aws-deadline_deadline-cloud
SharedJobPropertiesWidget
public
0
1
_has_compatible_attr
def _has_compatible_attr(self, obj, attr_name, expected_type):"""Determine if attribute exists and if the type is correct."""# DCCs can have anything in the settings object since they define their own dataclass to pass in.# Changing what we look for below may cause breaking changes in usage of this library.return isins...
1
2
4
26
0
318
324
318
self,obj,attr_name,expected_type
[]
Returns
{"Expr": 1, "Return": 1}
2
7
2
["isinstance", "getattr"]
0
[]
The function (_has_compatible_attr) defined within the public class called SharedJobPropertiesWidget, that inherit another class.The function start at line 318 and ends at 324. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [318.0], and this function return a ...