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
AddIcon
public
0
1
__init__
def __init__(self, parent=None):super().__init__("Custom host requirements", parent)self.layout = QVBoxLayout(self)self.attribute_index_numbers = set()self.amount_index_numbers = set()self._build_ui()
1
6
2
46
0
366
371
366
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 366 and ends at 371. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [366.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OverrideRequirementsWidget
public
0
1
_build_ui
def _build_ui(self):# Add a label that will display tool tip when hovered aboveself.info = QLabel(f"<html><img src={INFO_ICON_PATH} width='10' height='10'> More info</html>")info_font = self.info.font()info_font.setPointSize(10)self.info.setFont(info_font)self.info.setToolTip(CUSTOM_REQUIREMENT_TOOL_TIP)self.info_row = QHBoxLayout()self.info_row.setAlignment(Qt.AlignLeft)self.info_row.addWidget(self.info)# Create a list widget for placing custom capability items# - no frame & no background# - disable directly selecting list items# - no scroll barsself.list_widget = QListWidget(self)self.list_widget.setSpacing(2)self.list_widget.setSelectionMode(QListView.NoSelection)self.list_widget.viewport().setAutoFillBackground(False)self.list_widget.setFrameStyle(QFrame.NoFrame)self.list_widget.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)self.list_widget.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)self.list_widget.setSizeAdjustPolicy(QListWidget.AdjustToContents)self.resize_list_to_fit()# Add a row with Add Amount and Add Attribute buttonsself.add_amount_button = QPushButton("Add amount")self.add_amount_button.setFixedWidth(BUTTON_FIXED_WIDTH)self.add_attr_button = QPushButton("Add attribute")self.add_attr_button.setFixedWidth(BUTTON_FIXED_WIDTH)self.buttons_row = QHBoxLayout()self.buttons_row.setAlignment(Qt.AlignLeft)self.buttons_row.addWidget(self.add_amount_button)self.buttons_row.addWidget(self.add_attr_button)self.add_amount_button.clicked.connect(self._add_new_custom_amount)self.add_attr_button.clicked.connect(self._add_new_custom_attr)# Add everything togetherself.layout.addLayout(self.info_row)self.layout.addWidget(self.list_widget)self.layout.addLayout(self.buttons_row)
1
33
1
278
0
373
419
373
self
[]
None
{"Assign": 5, "Expr": 14}
21
29
21
["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"]
0
[]
The function (_build_ui) defined within the public class called OverrideRequirementsWidget, that inherit another class.The function start at line 373 and ends at 419. It contains 33 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 21.0 functions, and It has 21.0 functions called inside which are ["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"].
aws-deadline_deadline-cloud
CustomRequirementsWidget
public
0
1
_add_new_custom_amount
def _add_new_custom_amount(self):# type: ignore# Return type CustomAmountWidget is not yet definedreturn self._add_new_item(AMOUNT)
1
2
1
12
0
421
423
421
self
[]
Returns
{"Return": 1}
1
3
1
["self._add_new_item"]
0
[]
The function (_add_new_custom_amount) defined within the public class called CustomRequirementsWidget, that inherit another class.The function start at line 421 and ends at 423. 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 declare 1.0 function, and It has 1.0 function called inside which is ["self._add_new_item"].
aws-deadline_deadline-cloud
CustomRequirementsWidget
public
0
1
_add_new_custom_attr
def _add_new_custom_attr(self):# type: ignore# Return type CustomAttributeWidget is not yet definedreturn self._add_new_item(ATTRIBUTE)
1
2
1
12
0
425
427
425
self
[]
Returns
{"Return": 1}
1
3
1
["self._add_new_item"]
0
[]
The function (_add_new_custom_attr) defined within the public class called CustomRequirementsWidget, that inherit another class.The function start at line 425 and ends at 427. 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 declare 1.0 function, and It has 1.0 function called inside which is ["self._add_new_item"].
aws-deadline_deadline-cloud
CustomRequirementsWidget
public
0
1
_add_new_item
def _add_new_item(self, type):list_item = QListWidgetItem(self.list_widget)if type == ATTRIBUTE:new_attribute_number = max(self.attribute_index_numbers, default=0) + 1item = CustomAttributeWidget(list_item, new_attribute_number, self)self.attribute_index_numbers.add(new_attribute_number)elif type == AMOUNT:new_amount_number = max(self.amount_index_numbers, default=0) + 1item = CustomAmountWidget(list_item, new_amount_number, self)self.amount_index_numbers.add(new_amount_number)else:raise NonValidInputError(f"Unexpected item type when adding new item: {type}")list_item.setSizeHint(item.sizeHint())self.list_widget.addItem(list_item)self.list_widget.setItemWidget(list_item, item)self.resize_list_to_fit()return item
3
17
2
132
0
429
448
429
self,type
[]
Returns
{"Assign": 5, "Expr": 6, "If": 2, "Return": 1}
13
20
13
["QListWidgetItem", "max", "CustomAttributeWidget", "self.attribute_index_numbers.add", "max", "CustomAmountWidget", "self.amount_index_numbers.add", "NonValidInputError", "list_item.setSizeHint", "item.sizeHint", "self.list_widget.addItem", "self.list_widget.setItemWidget", "self.resize_list_to_fit"]
0
[]
The function (_add_new_item) defined within the public class called CustomRequirementsWidget, that inherit another class.The function start at line 429 and ends at 448. It contains 17 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [429.0], and this function return a value. It declares 13.0 functions, and It has 13.0 functions called inside which are ["QListWidgetItem", "max", "CustomAttributeWidget", "self.attribute_index_numbers.add", "max", "CustomAmountWidget", "self.amount_index_numbers.add", "NonValidInputError", "list_item.setSizeHint", "item.sizeHint", "self.list_widget.addItem", "self.list_widget.setItemWidget", "self.resize_list_to_fit"].
aws-deadline_deadline-cloud
CustomRequirementsWidget
public
0
1
remove_widget_item
def remove_widget_item(self, custom_capability_widget):# remove the ListWidgetItem from listif custom_capability_widget.capability_type == ATTRIBUTE:self.attribute_index_numbers.remove(custom_capability_widget.item_number)elif custom_capability_widget.capability_type == AMOUNT:self.amount_index_numbers.remove(custom_capability_widget.item_number)else:raise NonValidInputError(f"Unexpected item type when removing item: {custom_capability_widget.capability_type}")item = custom_capability_widget.list_itemself.list_widget.takeItem(self.list_widget.indexFromItem(item).row())self.resize_list_to_fit()
3
12
2
78
0
450
464
450
self,custom_capability_widget
[]
None
{"Assign": 1, "Expr": 4, "If": 2}
7
15
7
["self.attribute_index_numbers.remove", "self.amount_index_numbers.remove", "NonValidInputError", "self.list_widget.takeItem", "row", "self.list_widget.indexFromItem", "self.resize_list_to_fit"]
0
[]
The function (remove_widget_item) defined within the public class called CustomRequirementsWidget, that inherit another class.The function start at line 450 and ends at 464. It contains 12 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [450.0] and does not return any value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["self.attribute_index_numbers.remove", "self.amount_index_numbers.remove", "NonValidInputError", "self.list_widget.takeItem", "row", "self.list_widget.indexFromItem", "self.resize_list_to_fit"].
aws-deadline_deadline-cloud
CustomRequirementsWidget
public
0
1
resize_list_to_fit
def resize_list_to_fit(self):# Resize the list widget to based on the size of the contentsif self.list_widget.count() == 0:self.list_widget.setFixedHeight(0)else:current_height = 0for i in range(self.list_widget.count()):widget = self.list_widget.itemWidget(self.list_widget.item(i))if widget is not None:current_height += widget.height() + 2 * self.list_widget.spacing()self.list_widget.setFixedHeight(current_height + 2 * self.list_widget.frameWidth())
4
10
1
101
0
466
477
466
self
[]
None
{"Assign": 2, "AugAssign": 1, "Expr": 2, "For": 1, "If": 2}
10
12
10
["self.list_widget.count", "self.list_widget.setFixedHeight", "range", "self.list_widget.count", "self.list_widget.itemWidget", "self.list_widget.item", "widget.height", "self.list_widget.spacing", "self.list_widget.setFixedHeight", "self.list_widget.frameWidth"]
0
[]
The function (resize_list_to_fit) defined within the public class called CustomRequirementsWidget, that inherit another class.The function start at line 466 and ends at 477. It contains 10 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 declares 10.0 functions, and It has 10.0 functions called inside which are ["self.list_widget.count", "self.list_widget.setFixedHeight", "range", "self.list_widget.count", "self.list_widget.itemWidget", "self.list_widget.item", "widget.height", "self.list_widget.spacing", "self.list_widget.setFixedHeight", "self.list_widget.frameWidth"].
aws-deadline_deadline-cloud
HostRequirementsWidget
public
0
1
get_requirements
def get_requirements(self) -> Dict[str, List]:"""Returns two lists of OpenJD parameter definition dictsfor both amounts and attributes requirements."""requirements: Dict[str, Any] = {"amounts": [], "attributes": []}for i in range(self.list_widget.count()):widget = self.list_widget.itemWidget(self.list_widget.item(i))widget_requirement = widget.get_requirement()if widget_requirement:if isinstance(widget, CustomAmountWidget):requirements["amounts"].append(widget_requirement)elif isinstance(widget, CustomAttributeWidget):requirements["attributes"].append(widget_requirement)else:logger.warning(f"Widget requirement is not a valid expected type: {type(widget)}")return requirements
5
15
1
119
0
479
498
479
self
[]
Optional[Dict[str, Any]]
{"AnnAssign": 1, "Assign": 3, "Expr": 5, "If": 5, "Return": 2}
12
28
12
["self._is_custom_requirements_selected", "self.os_requirements_box.get_requirements", "self.hardware_requirements_box.get_requirements", "self.custom_requirements_box.get_requirements", "extend", "requirements.setdefault", "extend", "requirements.setdefault", "extend", "requirements.setdefault", "extend", "requirements.setdefault"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69758571_chipsalliance_f4pga.f4pga.setup_py.get_requirements"]
The function (get_requirements) defined within the public class called HostRequirementsWidget, that inherit another class.The function start at line 479 and ends at 498. It contains 15 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value. It declares 12.0 functions, It has 12.0 functions called inside which are ["self._is_custom_requirements_selected", "self.os_requirements_box.get_requirements", "self.hardware_requirements_box.get_requirements", "self.custom_requirements_box.get_requirements", "extend", "requirements.setdefault", "extend", "requirements.setdefault", "extend", "requirements.setdefault", "extend", "requirements.setdefault"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69758571_chipsalliance_f4pga.f4pga.setup_py.get_requirements"].
aws-deadline_deadline-cloud
HostRequirementsWidget
public
0
1
set_requirements
def set_requirements(self, requirements: CustomRequirements):self.list_widget.clear()for requirement in requirements.amounts:amount_widget: CustomAmountWidget = self._add_new_custom_amount()amount_widget.name = requirement.nameamount_widget.minimum = requirement.minamount_widget.maximum = requirement.maxfor requirement in requirements.attributes:attribute_widget: CustomAttributeWidget = self._add_new_custom_attr()attribute_widget.name = requirement.nameattribute_widget.option = requirement.optionattribute_widget.values = requirement.values
3
12
2
90
0
500
513
500
self,requirements
[]
None
{"Expr": 5, "If": 3}
5
9
5
["self.custom_requirements_box.set_requirements", "self.os_requirements_box.set_requirements", "self.hardware_requirements_box.set_requirements", "self.mode_selection_box.use_default_button.setChecked", "self.mode_selection_box.use_custom_button.setChecked"]
0
[]
The function (set_requirements) defined within the public class called HostRequirementsWidget, that inherit another class.The function start at line 500 and ends at 513. It contains 12 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [500.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["self.custom_requirements_box.set_requirements", "self.os_requirements_box.set_requirements", "self.hardware_requirements_box.set_requirements", "self.mode_selection_box.use_default_button.setChecked", "self.mode_selection_box.use_custom_button.setChecked"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self,capability_type: str,list_item: QListWidgetItem,item_number: int,parent: CustomRequirementsWidget,):super().__init__(parent)self._parent: CustomRequirementsWidget = parentself.capability_type = capability_typeself.list_item = list_itemself.item_number = item_numberself.layout = QVBoxLayout(self)self.layout.setContentsMargins(0, 0, 0, 0)self.title_label = QLabel(f"{capability_type} {item_number}")self.title_label.setStyleSheet("font-weight: bold")self.delete_button = QPushButton("Delete")self.delete_button.clicked.connect(self._delete)self.title_row = QHBoxLayout()self.title_row.addWidget(self.title_label)self.title_row.addStretch()self.title_row.addWidget(self.delete_button)self.layout.addLayout(self.title_row)
1
23
5
155
0
521
547
521
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 521 and ends at 547. It contains 23 lines of code and it has a cyclomatic complexity of 1. It takes 5 parameters, represented as [521.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
CustomCapabilityWidget
public
0
1
_delete
def _delete(self):self._parent.remove_widget_item(self)self.setParent(None)self.deleteLater()
1
4
1
24
0
549
552
549
self
[]
None
{"Expr": 3}
3
4
3
["self._parent.remove_widget_item", "self.setParent", "self.deleteLater"]
0
[]
The function (_delete) defined within the public class called CustomCapabilityWidget, that inherit another class.The function start at line 549 and ends at 552. It contains 4 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 3.0 functions, and It has 3.0 functions called inside which are ["self._parent.remove_widget_item", "self.setParent", "self.deleteLater"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, list_item: QListWidgetItem, item_number: int, parent=None):super().__init__(AMOUNT, list_item, item_number, parent)self._build_ui()
1
3
4
36
0
560
562
560
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 560 and ends at 562. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [560.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OverrideRequirementsWidget
public
0
1
_build_ui
def _build_ui(self):# Name / Valueself.name_label = QLabel("Amount name")self.name_label.setFixedWidth(LABEL_FIXED_WIDTH)self.name_line_edit = QLineEdit()self.name_line_edit.setFixedWidth(LABEL_FIXED_WIDTH)self.name_line_edit.setValidator(QRegularExpressionValidator(AMOUNT_CAPABILITY_NAME_REGEX))assert (100 - len(AMOUNT_CAPABILITY_PREFIX)) > 0self.name_line_edit.setMaxLength(100 - len(AMOUNT_CAPABILITY_PREFIX))# Create layout with min/max spinboxself.min_label = QLabel("Min")self.min_label.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)self.max_label = QLabel("Max")self.max_label.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)self.min_spin_box = OptionalDoubleSpinBox(min=0, max=MAX_INT_VALUE, decimal=DECIMAL_VALUE, parent=self)self.min_spin_box.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)self.max_spin_box = OptionalDoubleSpinBox(min=0, max=MAX_INT_VALUE, decimal=DECIMAL_VALUE, parent=self)self.max_spin_box.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)self.min_max_row = QHBoxLayout()self.min_max_row.addWidget(self.min_label)self.min_max_row.addWidget(self.min_spin_box)self.min_max_row.addWidget(self.max_label)self.min_max_row.addWidget(self.max_spin_box)self.name_column = QVBoxLayout()self.name_column.setContentsMargins(2, 0, 0, 0)self.name_column.addWidget(self.name_label)self.name_column.addWidget(self.name_line_edit)self.value_column = QVBoxLayout()self.value_column.setContentsMargins(0, 0, 0, 0)self.value_column.addStretch()self.value_column.addLayout(self.min_max_row)self.columns = QHBoxLayout()self.columns.setContentsMargins(0, 0, 0, 15)self.columns.addLayout(self.name_column)self.columns.addLayout(self.value_column)# LineEdit/ LineEdit / Optional [X]self.layout.addLayout(self.columns)
1
38
1
364
0
564
611
564
self
[]
None
{"Assign": 5, "Expr": 14}
21
29
21
["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"]
0
[]
The function (_build_ui) defined within the public class called OverrideRequirementsWidget, that inherit another class.The function start at line 564 and ends at 611. It contains 38 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 21.0 functions, and It has 21.0 functions called inside which are ["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
name
def name(self) -> str:return self.name_line_edit.text()
1
2
1
15
0
614
615
614
self
[]
str
{"Return": 1}
1
2
1
["self.name_line_edit.text"]
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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"]
The function (name) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 614 and ends at 615. 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 has 1.0 function called inside which is ["self.name_line_edit.text"], It has 8.0 functions calling this function which are ["_.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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
name
def name(self, name: str):self.name_line_edit.setText(name)
1
2
2
17
0
618
619
618
self
[]
str
{"Return": 1}
1
2
1
["self.name_line_edit.text"]
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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"]
The function (name) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 618 and ends at 619. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [618.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.name_line_edit.text"], It has 8.0 functions calling this function which are ["_.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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
minimum
def minimum(self) -> Optional[float]:if self.min_spin_box.has_input():return self.min_spin_box.value()return None
2
4
1
29
0
622
625
622
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.min_spin_box.has_input", "self.min_spin_box.value"]
0
[]
The function (minimum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 622 and ends at 625. It contains 4 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.min_spin_box.has_input", "self.min_spin_box.value"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
minimum
def minimum(self, minimum: int):self.min_spin_box.setValue(minimum)
1
2
2
17
0
628
629
628
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.min_spin_box.has_input", "self.min_spin_box.value"]
0
[]
The function (minimum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 628 and ends at 629. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [628.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.min_spin_box.has_input", "self.min_spin_box.value"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
maximum
def maximum(self) -> Optional[float]:if self.max_spin_box.has_input():return self.max_spin_box.value()return None
2
4
1
29
0
632
635
632
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.max_spin_box.has_input", "self.max_spin_box.value"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"]
The function (maximum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 632 and ends at 635. It contains 4 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.max_spin_box.has_input", "self.max_spin_box.value"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
maximum
def maximum(self, maximum: int):self.max_spin_box.setValue(maximum)
1
2
2
17
0
638
639
638
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.max_spin_box.has_input", "self.max_spin_box.value"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"]
The function (maximum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 638 and ends at 639. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [638.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.max_spin_box.has_input", "self.max_spin_box.value"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
get_requirement
def get_requirement(self) -> Dict[str, Any]:"""Returns an OpenJD parameter definition dict witha "value" key filled from the widget.An amount capability is prefixed with "amount.worker."."""requirement: Dict[str, Any] = {}if self.name_line_edit.text():if self.name[-1] == ".":raise NonValidInputError("Your requirement name cannot end with a period.")requirement = {"name": AMOUNT_CAPABILITY_PREFIX + self.name}minimum = self.minimummaximum = self.maximumif minimum and maximum:requirement["min"] = minimumrequirement["max"] = maximumif minimum > maximum:raise NonValidInputError("Please make sure that the custom amounts in the custom host requirement options have valid min/max ranges!")elif minimum:requirement["min"] = minimumelif maximum:requirement["max"] = maximumparsed_name_match = re.match(AMOUNT_CAPABILITY_NAME_REGEX, self.name)if parsed_name_match and parsed_name_match.group(1) in RESERVED_FIRST_IDENTIFIERS:raise NonValidInputError("Please make sure that the first identifier in your name is not a reserved identifier. "+ str(RESERVED_FIRST_IDENTIFIERS))else:raise NonValidInputError("Please fill out all custom amount names in the custom host requirement options!")return requirement
10
30
1
158
0
641
681
641
self
[]
Dict[str, Any]
{"AnnAssign": 1, "Assign": 8, "Expr": 1, "If": 7, "Return": 1}
8
41
8
["self.name_line_edit.text", "NonValidInputError", "NonValidInputError", "re.match", "parsed_name_match.group", "NonValidInputError", "str", "NonValidInputError"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69484938_astronomer_astronomer_providers.dev.integration_test_scripts.replace_dependencies_py.update_setup_cfg"]
The function (get_requirement) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 641 and ends at 681. It contains 30 lines of code and it has a cyclomatic complexity of 10. The function does not take any parameters and does not return any value. It declares 8.0 functions, It has 8.0 functions called inside which are ["self.name_line_edit.text", "NonValidInputError", "NonValidInputError", "re.match", "parsed_name_match.group", "NonValidInputError", "str", "NonValidInputError"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69484938_astronomer_astronomer_providers.dev.integration_test_scripts.replace_dependencies_py.update_setup_cfg"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, list_item: QListWidgetItem, item_number: int, parent=None):super().__init__(AMOUNT, list_item, item_number, parent)self._build_ui()
1
5
4
36
0
692
696
560
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 692 and ends at 696. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [560.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OverrideRequirementsWidget
public
0
1
_build_ui
def _build_ui(self):# Name / Value / All / Anyself.name_label = QLabel("Attribute name")self.name_label.setFixedWidth(LABEL_FIXED_WIDTH)self.value_label = QLabel("Value(s)")self.all_of_button = QRadioButton("All")self.all_of_button.setChecked(True)self.any_of_button = QRadioButton("Any")self.name_line_edit = QLineEdit()self.name_line_edit.setFixedWidth(LABEL_FIXED_WIDTH)assert (100 - len(ATTRIBUTE_CAPABILITY_PREFIX)) > 0self.name_line_edit.setMaxLength(100 - len(ATTRIBUTE_CAPABILITY_PREFIX))self.name_line_edit.setValidator(QRegularExpressionValidator(ATTRIBUTE_CAPABILITY_NAME_REGEX))self.add_value_button = Noneself.top_row = QHBoxLayout()self.top_row.addWidget(self.value_label)self.top_row.addStretch()self.top_row.addWidget(self.all_of_button)self.top_row.addWidget(self.any_of_button)# Create a list widget for placing custom attribute valuesself.value_list_widget = QListWidget(self)self.value_list_widget.setSelectionMode(QListView.NoSelection)self.value_list_widget.viewport().setAutoFillBackground(False)self.value_list_widget.setFrameStyle(QFrame.NoFrame)self.value_list_widget.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)self.value_list_widget.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)self.value_list_widget.setSizeAdjustPolicy(QListWidget.AdjustToContents)self.name_column = QVBoxLayout()self.name_column.setContentsMargins(2, 0, 0, 0)self.name_column.setAlignment(Qt.AlignTop)self.name_column.addWidget(self.name_label)self.name_column.addWidget(self.name_line_edit)self.value_column = QVBoxLayout()self.value_column.setContentsMargins(0, 0, 0, 0)self.value_column.addLayout(self.top_row)self.value_column.addWidget(self.value_list_widget)# Reduce the spacing between top row and value listself.value_column.setSpacing(2)self.columns_widget = QWidget(self)self.value_column_widget = QWidget(self.columns_widget)self.value_column_widget.setLayout(self.value_column)self.columns = QVBoxLayout()self.columns.setContentsMargins(0, 15, 0, 0)self.columns.addLayout(self.name_column)self.columns.addWidget(self.value_column_widget)# LineEdit/ LineEdit / Optional [X]self.columns_widget.setLayout(self.columns)self.layout.addWidget(self.columns_widget)self._add_value()
1
47
1
416
0
698
756
698
self
[]
None
{"Assign": 5, "Expr": 14}
21
29
21
["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"]
0
[]
The function (_build_ui) defined within the public class called OverrideRequirementsWidget, that inherit another class.The function start at line 698 and ends at 756. It contains 47 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 21.0 functions, and It has 21.0 functions called inside which are ["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
_add_value
def _add_value(self):# type: ignore# Return type CustomAttributeValueWidget is not yet definedvalue_list_item = QListWidgetItem(self.value_list_widget)value = CustomAttributeValueWidget(value_list_item, self)value_list_item.setSizeHint(value.sizeHint())self.value_list_widget.addItem(value_list_item)self.value_list_widget.setItemWidget(value_list_item, value)self._resize_value_list_to_fit(1)self._move_add_button_to_last_item()self._set_remove_button_for_first_item()return value
1
10
1
67
0
758
768
758
self
[]
Returns
{"Assign": 2, "Expr": 6, "Return": 1}
9
11
9
["QListWidgetItem", "CustomAttributeValueWidget", "value_list_item.setSizeHint", "value.sizeHint", "self.value_list_widget.addItem", "self.value_list_widget.setItemWidget", "self._resize_value_list_to_fit", "self._move_add_button_to_last_item", "self._set_remove_button_for_first_item"]
0
[]
The function (_add_value) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 758 and ends at 768. It contains 10 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 declares 9.0 functions, and It has 9.0 functions called inside which are ["QListWidgetItem", "CustomAttributeValueWidget", "value_list_item.setSizeHint", "value.sizeHint", "self.value_list_widget.addItem", "self.value_list_widget.setItemWidget", "self._resize_value_list_to_fit", "self._move_add_button_to_last_item", "self._set_remove_button_for_first_item"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
remove_value_item
def remove_value_item(self, value):# remove the ListWidgetItem from value_list_itemself.value_list_widget.takeItem(self.value_list_widget.indexFromItem(value).row())self._resize_value_list_to_fit(-1)self._move_add_button_to_last_item()self._set_remove_button_for_first_item()
1
5
2
43
0
770
775
770
self,value
[]
None
{"Expr": 4}
6
6
6
["self.value_list_widget.takeItem", "row", "self.value_list_widget.indexFromItem", "self._resize_value_list_to_fit", "self._move_add_button_to_last_item", "self._set_remove_button_for_first_item"]
0
[]
The function (remove_value_item) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 770 and ends at 775. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [770.0] and does not return any value. It declares 6.0 functions, and It has 6.0 functions called inside which are ["self.value_list_widget.takeItem", "row", "self.value_list_widget.indexFromItem", "self._resize_value_list_to_fit", "self._move_add_button_to_last_item", "self._set_remove_button_for_first_item"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
_resize_value_list_to_fit
def _resize_value_list_to_fit(self, item_count_change: int):# Resize the list widget as well as parents to based on the size of the contentsself.value_column_widget.setFixedHeight(self.value_column_widget.height()+ item_count_change* self.value_list_widget.itemWidget(self.value_list_widget.item(0)).height())self.columns_widget.adjustSize()self.adjustSize()self.list_item.setSizeHint(self.sizeHint())self._parent.resize_list_to_fit()
1
10
2
76
0
777
787
777
self,item_count_change
[]
None
{"Expr": 5}
10
11
10
["self.value_column_widget.setFixedHeight", "self.value_column_widget.height", "height", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "self.columns_widget.adjustSize", "self.adjustSize", "self.list_item.setSizeHint", "self.sizeHint", "self._parent.resize_list_to_fit"]
0
[]
The function (_resize_value_list_to_fit) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 777 and ends at 787. It contains 10 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [777.0] and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["self.value_column_widget.setFixedHeight", "self.value_column_widget.height", "height", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "self.columns_widget.adjustSize", "self.adjustSize", "self.list_item.setSizeHint", "self.sizeHint", "self._parent.resize_list_to_fit"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
_move_add_button_to_last_item
def _move_add_button_to_last_item(self):# Add value buttonif self.add_value_button is not None:self.add_value_button.setParent(None)else:self.add_value_button = QPushButton("Add")self.add_value_button.setStyleSheet("border-width: 0px")self.add_value_button.setToolTip("Add a new value to evaluate against for this attribute")self.add_value_button.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)self.add_value_button.clicked.connect(self._add_value)last_item = self.value_list_widget.itemWidget(self.value_list_widget.item(self.value_list_widget.count() - 1))last_item.layout.insertWidget(last_item.layout.count() - 2, self.add_value_button)
2
15
1
118
0
789
807
789
self
[]
None
{"Assign": 2, "Expr": 6, "If": 1}
11
19
11
["self.add_value_button.setParent", "QPushButton", "self.add_value_button.setStyleSheet", "self.add_value_button.setToolTip", "self.add_value_button.setSizePolicy", "self.add_value_button.clicked.connect", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "self.value_list_widget.count", "last_item.layout.insertWidget", "last_item.layout.count"]
0
[]
The function (_move_add_button_to_last_item) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 789 and ends at 807. It contains 15 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 11.0 functions, and It has 11.0 functions called inside which are ["self.add_value_button.setParent", "QPushButton", "self.add_value_button.setStyleSheet", "self.add_value_button.setToolTip", "self.add_value_button.setSizePolicy", "self.add_value_button.clicked.connect", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "self.value_list_widget.count", "last_item.layout.insertWidget", "last_item.layout.count"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
_set_remove_button_for_first_item
def _set_remove_button_for_first_item(self):if self.value_list_widget.count() == 1:first_item = self.value_list_widget.itemWidget(self.value_list_widget.item(0))first_item.remove_button.setEnabled(False)first_item.remove_button.unsetCursor()if self.value_list_widget.count() >= 2:first_item = self.value_list_widget.itemWidget(self.value_list_widget.item(0))first_item.remove_button.setEnabled(True)
3
8
1
84
0
809
817
809
self
[]
None
{"Assign": 2, "Expr": 3, "If": 2}
9
9
9
["self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "first_item.remove_button.setEnabled", "first_item.remove_button.unsetCursor", "self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "first_item.remove_button.setEnabled"]
0
[]
The function (_set_remove_button_for_first_item) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 809 and ends at 817. It contains 8 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 9.0 functions, and It has 9.0 functions called inside which are ["self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "first_item.remove_button.setEnabled", "first_item.remove_button.unsetCursor", "self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "first_item.remove_button.setEnabled"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
name
def name(self) -> str:return self.name_line_edit.text()
1
2
1
15
0
820
821
614
self
[]
str
{"Return": 1}
1
2
1
["self.name_line_edit.text"]
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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"]
The function (name) defined within the public class called CustomAmountWidget, 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. The function does not take any parameters and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.name_line_edit.text"], It has 8.0 functions calling this function which are ["_.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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
name
def name(self, name: str):self.name_line_edit.setText(name)
1
2
2
17
0
824
825
618
self
[]
str
{"Return": 1}
1
2
1
["self.name_line_edit.text"]
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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"]
The function (name) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 824 and ends at 825. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [618.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.name_line_edit.text"], It has 8.0 functions calling this function which are ["_.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__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
option
def option(self) -> Literal[ANY_OF, ALL_OF]:# type: ignorereturn self.ANY_OF if self.any_of_button.isChecked() else self.ALL_OF
2
2
1
28
0
828
829
828
self
[]
Literal[ANY_OF, ALL_OF]
{"Return": 1}
1
2
1
["self.any_of_button.isChecked"]
38
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup._option_groups_py.OptionGroup.option", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.arguments_with_help_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.flat_option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.manim.render_py.render", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_command_py.make_example_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_group_py.make_example_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_align_option_groups_context_setting", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_error_message_if_first_arg_is_not_a_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_option_group_with_constrained_subgroups", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.aso_stats_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.conf_py.common_options", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.data_collection_py.output_dataframe", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_aaa_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_adler_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_block_lumis_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_cmssw_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_eos_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_jm_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_lfn_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_condor_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_events_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_phedex_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_agg_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_py.run"]
The function (option) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 828 and ends at 829. It contains 2 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.any_of_button.isChecked"], It has 38.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup._option_groups_py.OptionGroup.option", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.arguments_with_help_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.flat_option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.manim.render_py.render", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_command_py.make_example_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_group_py.make_example_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_align_option_groups_context_setting", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_error_message_if_first_arg_is_not_a_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_option_group_with_constrained_subgroups", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.aso_stats_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.conf_py.common_options", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.data_collection_py.output_dataframe", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_aaa_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_adler_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_block_lumis_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_cmssw_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_eos_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_jm_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_lfn_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_condor_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_events_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_phedex_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_agg_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_py.run"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
option
def option(self, option: Literal[ANY_OF, ALL_OF]):# type: ignoreif option == self.ANY_OF:self.all_of_button.setChecked(False)self.any_of_button.setChecked(True)else:self.all_of_button.setChecked(True)self.any_of_button.setChecked(False)
2
7
2
55
0
832
838
832
self
[]
Literal[ANY_OF, ALL_OF]
{"Return": 1}
1
2
1
["self.any_of_button.isChecked"]
38
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup._option_groups_py.OptionGroup.option", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.arguments_with_help_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.flat_option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.manim.render_py.render", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_command_py.make_example_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_group_py.make_example_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_align_option_groups_context_setting", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_error_message_if_first_arg_is_not_a_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_option_group_with_constrained_subgroups", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.aso_stats_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.conf_py.common_options", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.data_collection_py.output_dataframe", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_aaa_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_adler_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_block_lumis_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_cmssw_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_eos_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_jm_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_lfn_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_condor_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_events_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_phedex_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_agg_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_py.run"]
The function (option) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 832 and ends at 838. It contains 7 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [832.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.any_of_button.isChecked"], It has 38.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup._option_groups_py.OptionGroup.option", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.arguments_with_help_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.flat_option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.manim.render_py.render", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.examples.option_groups_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_command_py.make_example_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.example_group_py.make_example_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_align_option_groups_context_setting", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_error_message_if_first_arg_is_not_a_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.tests.test_option_groups_py.test_option_group_with_constrained_subgroups", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.aso_stats_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.conf_py.common_options", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.data_collection_py.output_dataframe", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_aaa_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_adler_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_block_lumis_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_cmssw_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_eos_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_jm_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.dbs_lfn_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_condor_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_events_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.dbs_phedex_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_agg_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.56769247_dmwm_cmsspark.src.python.CMSSpark.degraded.phedex_py.run"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
values
def values(self) -> List[str]:values = []for i in range(self.value_list_widget.count()):value: CustomAttributeValueWidget = self.value_list_widget.itemWidget(self.value_list_widget.item(i))if value.line_edit.text():values.append(value.line_edit.text())else:raise ValueError("All values must have input")return values
3
11
1
77
0
841
851
841
self
[]
List[str]
{"AnnAssign": 1, "Assign": 1, "Expr": 1, "For": 1, "If": 1, "Return": 1}
8
11
8
["range", "self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "value.line_edit.text", "values.append", "value.line_edit.text", "ValueError"]
146
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.integration.test_debug_py.TestDebug.test_explanations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup.constraints.conditions_py.Predicate.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.20898434_pogopaule_awesome_sustainability_jobs.src.create_readme_py.unique_by_country", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.libkomb_py.komap_mapbox", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.frigg.stats.views_py.overview", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExListRegisters.on_done", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3581153_zetaops_pyoko.pyoko.registry_py.Registry.get_models_of_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationAwareQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_language_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_mixed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_language", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_shared", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_translated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.related_py.StandardToTransFKTest.test_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._drain_to_working_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._unmark_result_rows", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.close_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.flush_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.models_py.VersionQuerySet.get_deleted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.revisions_py._create_revision_context", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928626_cyr_ius_hass_livebox_component.custom_components.livebox.coordinator_py.LiveboxDataUpdateCoordinator.async_get_dhcp_leases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.aggregates_py.AggregatedValue.update_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.asserts_py._update_field"]
The function (values) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 841 and ends at 851. It contains 11 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 8.0 functions, It has 8.0 functions called inside which are ["range", "self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "value.line_edit.text", "values.append", "value.line_edit.text", "ValueError"], It has 146.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.integration.test_debug_py.TestDebug.test_explanations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup.constraints.conditions_py.Predicate.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.20898434_pogopaule_awesome_sustainability_jobs.src.create_readme_py.unique_by_country", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.libkomb_py.komap_mapbox", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.frigg.stats.views_py.overview", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExListRegisters.on_done", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3581153_zetaops_pyoko.pyoko.registry_py.Registry.get_models_of_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationAwareQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_language_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_mixed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_language", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_shared", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_translated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.related_py.StandardToTransFKTest.test_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._drain_to_working_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._unmark_result_rows", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.close_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.flush_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.models_py.VersionQuerySet.get_deleted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.revisions_py._create_revision_context", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928626_cyr_ius_hass_livebox_component.custom_components.livebox.coordinator_py.LiveboxDataUpdateCoordinator.async_get_dhcp_leases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.aggregates_py.AggregatedValue.update_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.asserts_py._update_field"].
aws-deadline_deadline-cloud
CustomAttributeWidget
public
0
1
values
def values(self, values: List[str]):value_widgets_by_value = {}for i in range(self.value_list_widget.count()):value_widget: CustomAttributeValueWidget = self.value_list_widget.itemWidget(self.value_list_widget.item(i))if value_widget.line_edit.text():value_widgets_by_value[value_widget.line_edit.text()] = value_widgetelse:value_widgets_by_value["EMPTY"] = value_widgethas_only_empty_value = Falseif (len(value_widgets_by_value.keys()) == 1and list(value_widgets_by_value.keys())[0] == "EMPTY"):has_only_empty_value = Truefor value in values:if has_only_empty_value:value_widget = value_widgets_by_value["EMPTY"]value_widget.line_edit.setText(value)value_widgets_by_value[value] = value_widgetdel value_widgets_by_value["EMPTY"]has_only_empty_value = Falseif value in value_widgets_by_value:value_widget = value_widgets_by_value[value]value_widget.line_edit.setText(value)else:value_widget = self._add_value()value_widget.line_edit.setText(value)
8
29
2
184
0
854
884
854
self
[]
List[str]
{"AnnAssign": 1, "Assign": 1, "Expr": 1, "For": 1, "If": 1, "Return": 1}
8
11
8
["range", "self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "value.line_edit.text", "values.append", "value.line_edit.text", "ValueError"]
146
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.integration.test_debug_py.TestDebug.test_explanations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup.constraints.conditions_py.Predicate.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.20898434_pogopaule_awesome_sustainability_jobs.src.create_readme_py.unique_by_country", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.libkomb_py.komap_mapbox", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.frigg.stats.views_py.overview", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExListRegisters.on_done", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3581153_zetaops_pyoko.pyoko.registry_py.Registry.get_models_of_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationAwareQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_language_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_mixed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_language", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_shared", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_translated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.related_py.StandardToTransFKTest.test_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._drain_to_working_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._unmark_result_rows", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.close_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.flush_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.models_py.VersionQuerySet.get_deleted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.revisions_py._create_revision_context", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928626_cyr_ius_hass_livebox_component.custom_components.livebox.coordinator_py.LiveboxDataUpdateCoordinator.async_get_dhcp_leases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.aggregates_py.AggregatedValue.update_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.asserts_py._update_field"]
The function (values) defined within the public class called CustomAttributeWidget, that inherit another class.The function start at line 854 and ends at 884. It contains 29 lines of code and it has a cyclomatic complexity of 8. It takes 2 parameters, represented as [854.0] and does not return any value. It declares 8.0 functions, It has 8.0 functions called inside which are ["range", "self.value_list_widget.count", "self.value_list_widget.itemWidget", "self.value_list_widget.item", "value.line_edit.text", "values.append", "value.line_edit.text", "ValueError"], It has 146.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.integration.test_debug_py.TestDebug.test_explanations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18358916_janluke_cloup.cloup.constraints.conditions_py.Predicate.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.20898434_pogopaule_awesome_sustainability_jobs.src.create_readme_py.unique_by_country", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.libkomb_py.komap_mapbox", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.frigg.stats.views_py.overview", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExListRegisters.on_done", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3581153_zetaops_pyoko.pyoko.registry_py.Registry.get_models_of_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationAwareQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.manager_py.TranslationQueryset.values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_language_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_mixed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_post_language", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_shared", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.query_py.ValuesTests.test_values_translated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.tests.related_py.StandardToTransFKTest.test_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._drain_to_working_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692282_archiveteam_terroroftinytown.terroroftinytown.tracker.export_py.Exporter._unmark_result_rows", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.close_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.flush_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.models_py.VersionQuerySet.get_deleted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700918_etianen_django_reversion.reversion.revisions_py._create_revision_context", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928626_cyr_ius_hass_livebox_component.custom_components.livebox.coordinator_py.LiveboxDataUpdateCoordinator.async_get_dhcp_leases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.aggregates_py.AggregatedValue.update_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957198_kvesteri_sqlalchemy_utils.sqlalchemy_utils.asserts_py._update_field"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
get_requirement
def get_requirement(self) -> Dict[str, Any]:"""Return an OpenJD parameter definition dict witha "value" key filled from the widget, and a list of values.An attribute capability is prefixed with "attr.worker"."""requirement: Dict[str, Any] = {}requirements_are_valid = Trueif self.name_line_edit.text():if self.name[-1] == ".":raise NonValidInputError("Your requirement name cannot end with a period.")parsed_name_match = re.match(AMOUNT_CAPABILITY_NAME_REGEX, self.name)if parsed_name_match and parsed_name_match.group(1) in RESERVED_FIRST_IDENTIFIERS:raise NonValidInputError("Please make sure that the first identifier in your name is not a reserved identifier. "+ str(RESERVED_FIRST_IDENTIFIERS))try:values = self.valuesexcept ValueError:values = []requirements_are_valid = Falseif values:requirement = {"name": ATTRIBUTE_CAPABILITY_PREFIX + self.name_line_edit.text(),f"{self.option}": values,}else:requirements_are_valid = Falseif not requirements_are_valid:raise NonValidInputError("Please fill out all custom attribute names and values in the custom host requirements options!")return requirement
8
29
1
143
0
886
925
886
self
[]
Dict[str, Any]
{"AnnAssign": 1, "Assign": 8, "Expr": 1, "If": 7, "Return": 1}
8
41
8
["self.name_line_edit.text", "NonValidInputError", "NonValidInputError", "re.match", "parsed_name_match.group", "NonValidInputError", "str", "NonValidInputError"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69484938_astronomer_astronomer_providers.dev.integration_test_scripts.replace_dependencies_py.update_setup_cfg"]
The function (get_requirement) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 886 and ends at 925. It contains 29 lines of code and it has a cyclomatic complexity of 8. The function does not take any parameters and does not return any value. It declares 8.0 functions, It has 8.0 functions called inside which are ["self.name_line_edit.text", "NonValidInputError", "NonValidInputError", "re.match", "parsed_name_match.group", "NonValidInputError", "str", "NonValidInputError"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69484938_astronomer_astronomer_providers.dev.integration_test_scripts.replace_dependencies_py.update_setup_cfg"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, value_list_item: QListWidgetItem, parent: CustomAttributeWidget):super().__init__(parent)self._parent: CustomAttributeWidget = parentself.value_list_item = value_list_itemself.line_edit = QLineEdit()self.line_edit.setFixedWidth(LABEL_FIXED_WIDTH + 20)self.line_edit.setMaxLength(100)self.line_edit.setValidator(QRegularExpressionValidator(ATTRIBUTE_CAPABILITY_VALUE_REGEX))self.remove_button = QPushButton("Remove")self.remove_button.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)self.remove_button.clicked.connect(self._remove)self.layout = QHBoxLayout(self)self.layout.setContentsMargins(2, 0, 0, 0)self.layout.addWidget(self.line_edit)self.layout.addWidget(self.remove_button)self.layout.addStretch()self.layout.setAlignment(Qt.AlignLeft)
1
17
3
162
0
933
952
933
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 933 and ends at 952. It contains 17 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [933.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
CustomAttributeValueWidget
public
0
1
_remove
def _remove(self):self._parent.remove_value_item(self.value_list_item)self.setParent(None)self.deleteLater()
1
4
1
26
0
954
957
954
self
[]
None
{"Expr": 3}
3
4
3
["self._parent.remove_value_item", "self.setParent", "self.deleteLater"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704508_kronenthaler_mod_pbxproj.pbxproj.pbxcli.pbxproj_file_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704508_kronenthaler_mod_pbxproj.pbxproj.pbxcli.pbxproj_flag_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704508_kronenthaler_mod_pbxproj.pbxproj.pbxcli.pbxproj_folder_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69993433_splitgraph_sgr.splitgraph.core.server_py.delete_object_files"]
The function (_remove) defined within the public class called CustomAttributeValueWidget, that inherit another class.The function start at line 954 and ends at 957. It contains 4 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 3.0 functions, It has 3.0 functions called inside which are ["self._parent.remove_value_item", "self.setParent", "self.deleteLater"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704508_kronenthaler_mod_pbxproj.pbxproj.pbxcli.pbxproj_file_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704508_kronenthaler_mod_pbxproj.pbxproj.pbxcli.pbxproj_flag_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704508_kronenthaler_mod_pbxproj.pbxproj.pbxcli.pbxproj_folder_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69993433_splitgraph_sgr.splitgraph.core.server_py.delete_object_files"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, label: str, items: List[str], parent=None):super().__init__(parent)self.layout = QHBoxLayout(self)# remove default spaces around BoxLayoutself.layout.setContentsMargins(0, 0, 0, 0)self._build_ui(label, items)
1
5
4
58
0
970
975
970
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 970 and ends at 975. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [970.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OverrideRequirementsWidget
public
0
1
_build_ui
def _build_ui(self, label: str, items: List[str]):self.label = QLabel(label)self.label.setFixedWidth(LABEL_FIXED_WIDTH)self.combo_box = OptionalMultiSelectComboBox(items, parent=self)self.layout.addWidget(self.label)self.layout.addWidget(self.combo_box)
1
6
3
64
0
977
982
977
self
[]
None
{"Assign": 5, "Expr": 14}
21
29
21
["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"]
0
[]
The function (_build_ui) defined within the public class called OverrideRequirementsWidget, that inherit another class.The function start at line 977 and ends at 982. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [977.0] and does not return any value. It declares 21.0 functions, and It has 21.0 functions called inside which are ["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, label: str, parent=None):super().__init__(parent)self.layout = QHBoxLayout(self)# remove default spaces around BoxLayoutself.layout.setContentsMargins(0, 0, 0, 0)self._build_ui(label)
1
5
3
49
0
994
999
994
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 994 and ends at 999. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [994.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OverrideRequirementsWidget
public
0
1
_build_ui
def _build_ui(self, label: str):self.label = QLabel(label)self.label.setFixedWidth(LABEL_FIXED_WIDTH)# Create "Min" label, and set label to fixed widthself.min_label = QLabel("Min")self.min_label.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)# Create "Max" label, and set label to fixed widthself.max_label = QLabel("Max")self.max_label.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)# Create spin box for "Min"self.min_spin_box = OptionalSpinBox(min=0, max=100000, parent=self)# Create spin box for "Max"self.max_spin_box = OptionalSpinBox(min=0, max=100000, parent=self)self.layout.addWidget(self.label)self.layout.addWidget(self.min_label)self.layout.addWidget(self.min_spin_box)self.layout.addWidget(self.max_label)self.layout.addWidget(self.max_spin_box)
1
14
2
155
0
1,001
1,023
1,001
self
[]
None
{"Assign": 5, "Expr": 14}
21
29
21
["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"]
0
[]
The function (_build_ui) defined within the public class called OverrideRequirementsWidget, that inherit another class.The function start at line 1001 and ends at 1023. It contains 14 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1001.0] and does not return any value. It declares 21.0 functions, and It has 21.0 functions called inside which are ["QRadioButton", "self.use_default_button.setChecked", "QRadioButton", "QHBoxLayout", "QLabel", "self.custom_button_tip_text.font", "custom_button_label_font.setPointSize", "custom_button_label_font.setItalic", "custom_button_label_font.setWeight", "self.custom_button_tip_text.setFont", "self.custom_button_tip_text.setWordWrap", "self.custom_button_tip_text.setSizePolicy", "self.custom_button_tip_text.setAlignment", "self.use_custom_button_tip.addSpacing", "width", "self.use_custom_button.iconSize", "self.use_custom_button_tip.addWidget", "self.layout.addWidget", "self.layout.addSpacing", "self.layout.addWidget", "self.layout.addLayout"].
aws-deadline_deadline-cloud
HardwareRequirementsRowWidget
public
0
1
add_requirement
def add_requirement(self, requirements: List, name: str, scaling_factor: int = 1):"""Create a dict based on whether inputs have been received for the components in the row widget,then append the dict to an existing list of requirements.Args:requirements: the list of requirements to append toname: the name of the capabilityscaling_factor: for some of the amount capabilities, the unit displayed on the UI is differentthen the unit used within template, so use this factor to scale the input values."""if self.min_spin_box.has_input() or self.max_spin_box.has_input():requirement = {"name": name}if self.min_spin_box.has_input():requirement["min"] = self.min_spin_box.value() * scaling_factorif self.max_spin_box.has_input():requirement["max"] = self.max_spin_box.value() * scaling_factorrequirements.append(requirement)
5
8
4
96
0
1,025
1,042
1,025
self,requirements,name,scaling_factor
[]
None
{"Assign": 3, "Expr": 2, "If": 3}
7
18
7
["self.min_spin_box.has_input", "self.max_spin_box.has_input", "self.min_spin_box.has_input", "self.min_spin_box.value", "self.max_spin_box.has_input", "self.max_spin_box.value", "requirements.append"]
0
[]
The function (add_requirement) defined within the public class called HardwareRequirementsRowWidget, that inherit another class.The function start at line 1025 and ends at 1042. It contains 8 lines of code and it has a cyclomatic complexity of 5. It takes 4 parameters, represented as [1025.0] and does not return any value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["self.min_spin_box.has_input", "self.max_spin_box.has_input", "self.min_spin_box.has_input", "self.min_spin_box.value", "self.max_spin_box.has_input", "self.max_spin_box.value", "requirements.append"].
aws-deadline_deadline-cloud
HardwareRequirementsRowWidget
public
0
1
clear
def clear(self):self.min_spin_box.setValue(self.min_spin_box.no_input_value)self.max_spin_box.setValue(self.max_spin_box.no_input_value)
1
3
1
29
0
1,044
1,046
1,044
self
[]
None
{"Expr": 2}
2
3
2
["self.min_spin_box.setValue", "self.max_spin_box.setValue"]
78
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.datagraph.datagraphview_py.DataGraphView.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.variableviewtooltip_py.VariableViewToolTip.onHidden", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3549150_freenas_cli.freenas.cli.plugins.alert_py.SetPredicateCommand.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex.parser.nodes_py.RangeNode.resolve_mark", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex.shell_py.filter_thru_shell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExDelete.select", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExTextCommandBase.set_sel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_main_py.WriteFsCompletion.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_motions_py._vi_cmd_line_a.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_motions_py._vi_cmd_line_k.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.__init___py.ViewTest.clear_sel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.cmd_tester_py.ViCmdTester.set_sels", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__ctrl_x_and__ctrl_a_py.Test__vi_ctrl_x.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_antilambda_py.Test__vi_double_antilambda.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_b_py.Test_vi_b.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_big_i_py.Test_vi_big_i.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_big_j_py.Test_vi_big_j.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_cc_py.Test_vi_cc.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_dollar_py.Test_vi_dollar.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_h_py.Test_vi_h.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_j_py.Test_vi_j.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_j_py.Test_vi_j_new.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_k_py.Test_vi_h.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_k_py.Test_vi_k_new.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_percent_py.Test__vi_percent.testAll"]
The function (clear) defined within the public class called HardwareRequirementsRowWidget, that inherit another class.The function start at line 1044 and ends at 1046. 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 2.0 functions, It has 2.0 functions called inside which are ["self.min_spin_box.setValue", "self.max_spin_box.setValue"], It has 78.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.datagraph.datagraphview_py.DataGraphView.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.variableviewtooltip_py.VariableViewToolTip.onHidden", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3549150_freenas_cli.freenas.cli.plugins.alert_py.SetPredicateCommand.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex.parser.nodes_py.RangeNode.resolve_mark", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex.shell_py.filter_thru_shell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExDelete.select", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_commands_py.ExTextCommandBase.set_sel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_main_py.WriteFsCompletion.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_motions_py._vi_cmd_line_a.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.ex_motions_py._vi_cmd_line_k.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.__init___py.ViewTest.clear_sel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.cmd_tester_py.ViCmdTester.set_sels", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__ctrl_x_and__ctrl_a_py.Test__vi_ctrl_x.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_antilambda_py.Test__vi_double_antilambda.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_b_py.Test_vi_b.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_big_i_py.Test_vi_big_i.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_big_j_py.Test_vi_big_j.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_cc_py.Test_vi_cc.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_dollar_py.Test_vi_dollar.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_h_py.Test_vi_h.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_j_py.Test_vi_j.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_j_py.Test_vi_j_new.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_k_py.Test_vi_h.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_k_py.Test_vi_k_new.testAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3574420_guillermooo_vintageous.tests.commands.test__vi_percent_py.Test__vi_percent.testAll"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
minimum
def minimum(self):return self.min_spin_box.value()
1
2
1
13
0
1,049
1,050
1,049
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.min_spin_box.has_input", "self.min_spin_box.value"]
0
[]
The function (minimum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 1049 and ends at 1050. 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 functions, and It has 2.0 functions called inside which are ["self.min_spin_box.has_input", "self.min_spin_box.value"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
minimum
def minimum(self, minimum_value: int):if minimum_value == self.min_spin_box.no_input_value:self.min_spin_box.setValue(self.min_spin_box.no_input_value)else:self.min_spin_box.setValue(minimum_value)
2
5
2
40
0
1,053
1,057
1,053
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.min_spin_box.has_input", "self.min_spin_box.value"]
0
[]
The function (minimum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 1053 and ends at 1057. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1053.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.min_spin_box.has_input", "self.min_spin_box.value"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
maximum
def maximum(self):return self.max_spin_box.value()
1
2
1
13
0
1,060
1,061
1,060
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.max_spin_box.has_input", "self.max_spin_box.value"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"]
The function (maximum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 1060 and ends at 1061. 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 functions, It has 2.0 functions called inside which are ["self.max_spin_box.has_input", "self.max_spin_box.value"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"].
aws-deadline_deadline-cloud
CustomAmountWidget
public
0
1
maximum
def maximum(self, maximum_value: int):if maximum_value == self.max_spin_box.no_input_value:self.max_spin_box.setValue(self.max_spin_box.no_input_value)else:self.max_spin_box.setValue(maximum_value)
2
5
2
40
0
1,064
1,068
1,064
self
[]
Optional[float]
{"If": 1, "Return": 2}
2
4
2
["self.max_spin_box.has_input", "self.max_spin_box.value"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"]
The function (maximum) defined within the public class called CustomAmountWidget, that inherit another class.The function start at line 1064 and ends at 1068. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1064.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.max_spin_box.has_input", "self.max_spin_box.value"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.get_window_indices_from_cache_ids", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.sliding_window_slice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86980582_aws_neuron_transformers_neuronx.src.transformers_neuronx.hlo_py.topp"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, items: List[str], parent=None):super().__init__(parent)self.addItem(PLACEHOLDER_TEXT)self.setItemData(0, QBrush(Qt.gray), Qt.TextColorRole)self.addItems(items)
1
5
3
53
0
1,076
1,080
1,076
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 1076 and ends at 1080. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1076.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OptionalComboBox
public
0
1
has_input
def has_input(self) -> bool:return self.currentText() != PLACEHOLDER_TEXT
1
2
1
15
0
1,082
1,083
1,082
self
[]
bool
{"Return": 1}
1
2
1
["self.currentText"]
0
[]
The function (has_input) defined within the public class called OptionalComboBox, that inherit another class.The function start at line 1082 and ends at 1083. 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, and It has 1.0 function called inside which is ["self.currentText"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, items: List[str], parent=None):super().__init__(parent=parent)self.model().itemChanged.connect(self.handleModelChanged)self.setPlaceholderText("-")self.addItems(items)self._updateLineEdit()
1
6
3
57
0
1,091
1,096
1,091
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 1091 and ends at 1096. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1091.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OptionalMultiSelectComboBox
public
0
1
handleModelChanged
def handleModelChanged(self, item):self._updateLineEdit()
1
2
2
12
0
1,098
1,099
1,098
self,item
[]
None
{"Expr": 1}
1
2
1
["self._updateLineEdit"]
0
[]
The function (handleModelChanged) defined within the public class called OptionalMultiSelectComboBox, that inherit another class.The function start at line 1098 and ends at 1099. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1098.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self._updateLineEdit"].
aws-deadline_deadline-cloud
OptionalMultiSelectComboBox
public
0
1
_updateLineEdit
def _updateLineEdit(self):text = ", ".join(self.checkedItems())self.setPlaceholderText(text or "-")
2
3
1
25
0
1,101
1,103
1,101
self
[]
None
{"Assign": 1, "Expr": 1}
3
3
3
["join", "self.checkedItems", "self.setPlaceholderText"]
0
[]
The function (_updateLineEdit) defined within the public class called OptionalMultiSelectComboBox, that inherit another class.The function start at line 1101 and ends at 1103. It contains 3 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["join", "self.checkedItems", "self.setPlaceholderText"].
aws-deadline_deadline-cloud
OptionalMultiSelectComboBox
public
0
1
setChecked
def setChecked(self, items: List[str]):# type: ignorefor item in items:for i in range(self.model().rowCount()):model_item = self.model().item(i)if model_item.text().lstrip(" ") == item:model_item.setData(Qt.Checked, Qt.CheckStateRole)
4
6
2
71
0
1,105
1,110
1,105
self,items
[]
None
{"Assign": 1, "Expr": 1, "For": 2, "If": 1}
8
6
8
["range", "rowCount", "self.model", "item", "self.model", "lstrip", "model_item.text", "model_item.setData"]
0
[]
The function (setChecked) defined within the public class called OptionalMultiSelectComboBox, that inherit another class.The function start at line 1105 and ends at 1110. It contains 6 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [1105.0] and does not return any value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["range", "rowCount", "self.model", "item", "self.model", "lstrip", "model_item.text", "model_item.setData"].
aws-deadline_deadline-cloud
OptionalMultiSelectComboBox
public
0
1
checkedItems
def checkedItems(self):items = []for i in range(self.model().rowCount()):item = self.model().item(i)if item.checkState() == Qt.Checked:items.append(item.text().lstrip(" "))return items
3
7
1
65
0
1,112
1,118
1,112
self
[]
Returns
{"Assign": 2, "Expr": 1, "For": 1, "If": 1, "Return": 1}
9
7
9
["range", "rowCount", "self.model", "item", "self.model", "item.checkState", "items.append", "lstrip", "item.text"]
0
[]
The function (checkedItems) defined within the public class called OptionalMultiSelectComboBox, that inherit another class.The function start at line 1112 and ends at 1118. It contains 7 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 9.0 functions, and It has 9.0 functions called inside which are ["range", "rowCount", "self.model", "item", "self.model", "item.checkState", "items.append", "lstrip", "item.text"].
aws-deadline_deadline-cloud
OptionalMultiSelectComboBox
public
0
1
addItems
def addItems(self, items):for item in items:model_item = QStandardItem("" + item)model_item.setFlags(Qt.ItemIsUserCheckable | Qt.ItemIsEnabled)model_item.setData(Qt.Unchecked, Qt.CheckStateRole)self.model().appendRow([model_item])
2
6
2
56
0
1,120
1,125
1,120
self,items
[]
None
{"Assign": 1, "Expr": 3, "For": 1}
5
6
5
["QStandardItem", "model_item.setFlags", "model_item.setData", "appendRow", "self.model"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69848748_scverse_squidpy.src.squidpy.pl._interactive._widgets_py.ListWidget.addItems", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69848748_scverse_squidpy.src.squidpy.pl._interactive._widgets_py.ObsmIndexWidget.addItems"]
The function (addItems) defined within the public class called OptionalMultiSelectComboBox, that inherit another class.The function start at line 1120 and ends at 1125. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1120.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions called inside which are ["QStandardItem", "model_item.setFlags", "model_item.setData", "appendRow", "self.model"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69848748_scverse_squidpy.src.squidpy.pl._interactive._widgets_py.ListWidget.addItems", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69848748_scverse_squidpy.src.squidpy.pl._interactive._widgets_py.ObsmIndexWidget.addItems"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self, min: int = MIN_INT_VALUE, max: int = MAX_INT_VALUE, parent=None) -> None:super().__init__(parent)self.min = minself.max = maxself.no_input_value = min - 1# Set the range to include min-1 as a valid valueself.setRange(self.no_input_value, MAX_INT_VALUE)self.setValue(self.no_input_value)
1
7
4
66
0
1,133
1,140
1,133
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 1133 and ends at 1140. It contains 7 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [1133.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
validate
def validate(self, input: str, pos: int) -> QValidator.State:"""Override validate function to treat empty string "" as acceptable."""if input == "" or input == PLACEHOLDER_TEXT:return QValidator.Acceptableelse:# Override the range that can be accepted by the validator by actual min/max values.validator = QIntValidator()validator.setBottom(self.min)validator.setTop(self.max)return validator.validate(input, pos)# type: ignore[return-value]
3
8
3
63
0
1,142
1,153
1,142
self,input,pos
[]
QValidator.State
{"Assign": 1, "Expr": 3, "If": 1, "Return": 2}
4
12
4
["QIntValidator", "validator.setBottom", "validator.setTop", "validator.validate"]
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_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.test.test_mozci_py.test_disable_validations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625832_namlook_mongokit.tests.test_inheritance_py.InheritanceTestCase.test_complexe_validation_inheritance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.contrib.restframework.serializers_py.TranslatableModelMixin.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Match.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array._full_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Document.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_is_empty_if_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many_not_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_many_id_errors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_no_type_raises_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.cli_py.validate_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.numpydoc_py.mangle_docstrings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_basic_export", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_content_type_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_infos", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_namespace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_one_entry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_swagger"]
The function (validate) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1142 and ends at 1153. It contains 8 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [1142.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["QIntValidator", "validator.setBottom", "validator.setTop", "validator.validate"], It has 66.0 functions calling this function which are ["_.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_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.test.test_mozci_py.test_disable_validations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625832_namlook_mongokit.tests.test_inheritance_py.InheritanceTestCase.test_complexe_validation_inheritance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.contrib.restframework.serializers_py.TranslatableModelMixin.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Match.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array._full_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Document.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_is_empty_if_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many_not_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_many_id_errors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_no_type_raises_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.cli_py.validate_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.numpydoc_py.mangle_docstrings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_basic_export", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_content_type_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_infos", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_namespace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_one_entry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_swagger"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
valueFromText
def valueFromText(self, text: str) -> int:"""Override valueFromText function to return no-input-value if input string is empty or placeholder."""if text == "" or text == PLACEHOLDER_TEXT:return self.no_input_valueelse:return super().valueFromText(text)
3
5
2
36
0
1,155
1,162
1,155
self,text
[]
int
{"Expr": 1, "If": 1, "Return": 2}
2
8
2
["valueFromText", "super"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.valueFromText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.valueFromText"]
The function (valueFromText) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1155 and ends at 1162. It contains 5 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [1155.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["valueFromText", "super"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.valueFromText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.valueFromText"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
textFromValue
def textFromValue(self, val: int) -> str:"""Override textFromValue function to return placeholder text if value is no-input-value."""if val == self.no_input_value:return PLACEHOLDER_TEXTelse:return super().textFromValue(val)
2
5
2
32
0
1,164
1,171
1,164
self,val
[]
str
{"Expr": 1, "If": 1, "Return": 2}
2
8
2
["textFromValue", "super"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.textFromValue", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.textFromValue"]
The function (textFromValue) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1164 and ends at 1171. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1164.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["textFromValue", "super"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.textFromValue", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.textFromValue"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
wheelEvent
def wheelEvent(self, event):"""Override wheelEvent to disable scrolling from accidentally gaining focus and changing the numbers."""event.ignore()
1
2
2
13
0
1,173
1,177
1,173
self,event
[]
None
{"Expr": 2}
1
5
1
["event.ignore"]
0
[]
The function (wheelEvent) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1173 and ends at 1177. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1173.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["event.ignore"].
aws-deadline_deadline-cloud
OptionalComboBox
public
0
1
has_input
def has_input(self) -> bool:"""Custom function to indicate whether the SpinBox has received input."""return self.no_input_value != self.value()
1
2
1
18
0
1,179
1,183
1,179
self
[]
bool
{"Return": 1}
1
2
1
["self.currentText"]
0
[]
The function (has_input) defined within the public class called OptionalComboBox, that inherit another class.The function start at line 1179 and ends at 1183. 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, and It has 1.0 function called inside which is ["self.currentText"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
stepBy
def stepBy(self, steps: int) -> None:current_value: int = self.value()result_value = self.value() + stepsif (result_value == self.no_input_valueor result_value > self.maximum()or result_value < self.minimum()):# If result value is not a valid value, do not go to that valuereturnif (current_value == self.no_input_value and steps == 1):# We should allow the user to increment from null value to a valid valuesuper().setValue(max(self.min, 0))else:super().stepBy(steps)
6
15
2
93
0
1,185
1,201
1,185
self,steps
[]
None
{"AnnAssign": 1, "Assign": 1, "Expr": 2, "If": 2, "Return": 1}
9
17
9
["self.value", "self.value", "self.maximum", "self.minimum", "setValue", "super", "max", "stepBy", "super"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.stepBy", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.stepBy"]
The function (stepBy) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1185 and ends at 1201. It contains 15 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [1185.0] and does not return any value. It declares 9.0 functions, It has 9.0 functions called inside which are ["self.value", "self.value", "self.maximum", "self.minimum", "setValue", "super", "max", "stepBy", "super"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.stepBy", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.stepBy"].
aws-deadline_deadline-cloud
AddIcon
public
0
1
__init__
def __init__(self,min: int = MIN_INT_VALUE,max: int = MAX_INT_VALUE,decimal: int = DECIMAL_VALUE,parent=None,) -> None:super().__init__(parent)self.min = minself.max = maxself.no_input_value = min - 1self.decimal = decimal# Set the range to include min-1 as a valid valueself.setRange(self.no_input_value, MAX_INT_VALUE)self.setValue(self.no_input_value)self.setDecimals(decimal)
1
15
5
84
0
1,209
1,224
1,209
self
[]
None
{"Assign": 1, "Expr": 1}
4
3
4
["str", "Path", "__init__", "super"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called AddIcon, that inherit another class.The function start at line 1209 and ends at 1224. It contains 15 lines of code and it has a cyclomatic complexity of 1. It takes 5 parameters, represented as [1209.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["str", "Path", "__init__", "super"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
validate
def validate(self, input: str, pos: int) -> QValidator.State:"""Override validate function to treat empty string "" as acceptable."""if input == "" or input == PLACEHOLDER_TEXT:return QValidator.Acceptableelse:# Override the range that can be accepted by the validator by actual min/max values.validator = QDoubleValidator()validator.setBottom(self.min)validator.setTop(self.max)validator.setDecimals(self.decimal)return validator.validate(input, pos)# type: ignore[return-value]
3
9
3
71
0
1,226
1,238
1,226
self,input,pos
[]
QValidator.State
{"Assign": 1, "Expr": 3, "If": 1, "Return": 2}
4
12
4
["QIntValidator", "validator.setBottom", "validator.setTop", "validator.validate"]
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_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.test.test_mozci_py.test_disable_validations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625832_namlook_mongokit.tests.test_inheritance_py.InheritanceTestCase.test_complexe_validation_inheritance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.contrib.restframework.serializers_py.TranslatableModelMixin.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Match.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array._full_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Document.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_is_empty_if_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many_not_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_many_id_errors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_no_type_raises_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.cli_py.validate_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.numpydoc_py.mangle_docstrings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_basic_export", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_content_type_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_infos", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_namespace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_one_entry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_swagger"]
The function (validate) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1226 and ends at 1238. It contains 9 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [1226.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["QIntValidator", "validator.setBottom", "validator.setTop", "validator.validate"], It has 66.0 functions calling this function which are ["_.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_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.test.test_mozci_py.test_disable_validations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625832_namlook_mongokit.tests.test_inheritance_py.InheritanceTestCase.test_complexe_validation_inheritance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.contrib.restframework.serializers_py.TranslatableModelMixin.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Match.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array._full_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Document.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_is_empty_if_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many_not_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_many_id_errors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_no_type_raises_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.cli_py.validate_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.numpydoc_py.mangle_docstrings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_basic_export", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_content_type_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_infos", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_namespace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_one_entry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_swagger"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
valueFromText
def valueFromText(self, text: str) -> int:"""Override valueFromText function to return no-input-value if input string is empty or placeholder."""if text == "" or text == PLACEHOLDER_TEXT:return self.no_input_valueelse:return super().valueFromText(text)
3
5
2
36
0
1,240
1,247
1,155
self,text
[]
int
{"Expr": 1, "If": 1, "Return": 2}
2
8
2
["valueFromText", "super"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.valueFromText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.valueFromText"]
The function (valueFromText) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1240 and ends at 1247. It contains 5 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [1155.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["valueFromText", "super"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.valueFromText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.valueFromText"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
textFromValue
def textFromValue(self, val: int) -> str:"""Override textFromValue function to return placeholder text if value is no-input-value."""if val == self.no_input_value:return PLACEHOLDER_TEXTelse:return super().textFromValue(val)
2
5
2
32
0
1,249
1,256
1,164
self,val
[]
str
{"Expr": 1, "If": 1, "Return": 2}
2
8
2
["textFromValue", "super"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.textFromValue", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.textFromValue"]
The function (textFromValue) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1249 and ends at 1256. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1164.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["textFromValue", "super"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.textFromValue", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.textFromValue"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
wheelEvent
def wheelEvent(self, event):"""Override wheelEvent to disable scrolling from accidentally gaining focus and changing the numbers."""event.ignore()
1
2
2
13
0
1,258
1,262
1,173
self,event
[]
None
{"Expr": 2}
1
5
1
["event.ignore"]
0
[]
The function (wheelEvent) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1258 and ends at 1262. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1173.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["event.ignore"].
aws-deadline_deadline-cloud
OptionalComboBox
public
0
1
has_input
def has_input(self) -> bool:"""Custom function to indicate whether the SpinBox has received input."""return self.no_input_value != self.value()
1
2
1
18
0
1,264
1,268
1,179
self
[]
bool
{"Return": 1}
1
2
1
["self.currentText"]
0
[]
The function (has_input) defined within the public class called OptionalComboBox, that inherit another class.The function start at line 1264 and ends at 1268. 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, and It has 1.0 function called inside which is ["self.currentText"].
aws-deadline_deadline-cloud
OptionalSpinBox
public
0
1
stepBy
def stepBy(self, steps: int) -> None:current_value: int = self.value()result_value = self.value() + stepsif (result_value == self.no_input_valueor result_value > self.maximum()or result_value < self.minimum()):# If result value is not a valid value, do not go to that valuereturnif (current_value == self.no_input_value and steps == 1):# We should allow the user to increment from null value to a valid valuesuper().setValue(max(self.min, 0))else:super().stepBy(steps)
6
15
2
93
0
1,270
1,286
1,185
self,steps
[]
None
{"AnnAssign": 1, "Assign": 1, "Expr": 2, "If": 2, "Return": 1}
9
17
9
["self.value", "self.value", "self.maximum", "self.minimum", "setValue", "super", "max", "stepBy", "super"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.stepBy", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.stepBy"]
The function (stepBy) defined within the public class called OptionalSpinBox, that inherit another class.The function start at line 1270 and ends at 1286. It contains 15 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [1185.0] and does not return any value. It declares 9.0 functions, It has 9.0 functions called inside which are ["self.value", "self.value", "self.maximum", "self.minimum", "setValue", "super", "max", "stepBy", "super"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalDoubleSpinBox.stepBy", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.host_requirements_tab_py.OptionalSpinBox.stepBy"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
__init__
def __init__(self,auto_detected_attachments: AssetReferences,attachments: AssetReferences,parent: QWidget = None,) -> None:super().__init__(parent=parent)self.auto_detected_attachments = auto_detected_attachmentsself.attachments = attachmentsself._build_ui()self._populate_attachment_lists()
1
11
4
52
0
46
57
46
self,auto_detected_attachments,attachments,parent
[]
None
{"Assign": 2, "Expr": 3}
4
12
4
["__init__", "super", "self._build_ui", "self._populate_attachment_lists"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 46 and ends at 57. It contains 11 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [46.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["__init__", "super", "self._build_ui", "self._populate_attachment_lists"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_build_ui
def _build_ui(self) -> None:tab_layout = QVBoxLayout(self)# Create a group box for general settingssize_policy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)size_policy.setVerticalStretch(10)self.general_group = QGroupBox("General submission settings", self)tab_layout.addWidget(self.general_group)self.general_group.setSizePolicy(size_policy)general_layout = QVBoxLayout(self.general_group)# Create a group box for each type of attachmentself.input_files_group = QGroupBox("Attach input files", self)size_policy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)size_policy.setVerticalStretch(80)tab_layout.addWidget(self.input_files_group)self.input_files_group.setSizePolicy(size_policy)input_files_layout = QVBoxLayout(self.input_files_group)self.input_directories_group = QGroupBox("Attach input directories", self)size_policy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)size_policy.setVerticalStretch(10)self.input_directories_group.setSizePolicy(size_policy)tab_layout.addWidget(self.input_directories_group)input_directories_layout = QVBoxLayout(self.input_directories_group)self.output_directories_group = QGroupBox("Specify output directories", self)size_policy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)size_policy.setVerticalStretch(10)self.output_directories_group.setSizePolicy(size_policy)tab_layout.addWidget(self.output_directories_group)output_directories_layout = QVBoxLayout(self.output_directories_group)# General settingsself.general_settings = JobAttachmentsGeneralWidget(self)general_layout.addWidget(self.general_settings)# The "Attach Input Files" attachmentsself.input_files_controls = JobAttachmentsControlsWidget(self)self.input_files_controls.show_auto_detected.stateChanged.connect(self.show_auto_detected_change)self.input_files_controls.add.clicked.connect(self._add_input_files)self.input_files_controls.remove_selected.clicked.connect(self._remove_selected_input_files)self.input_files = QListWidget(parent=self)self.input_files.itemSelectionChanged.connect(self._update_status_messages)self.input_files.setSortingEnabled(False)self.input_files.setSelectionMode(QAbstractItemView.ExtendedSelection)self.input_files.setAlternatingRowColors(True)input_files_layout.addWidget(self.input_files_controls)input_files_layout.addWidget(self.input_files)# The "Attach input directories" attachmentsself.input_directories_controls = JobAttachmentsControlsWidget(self)self.input_directories_controls.show_auto_detected.stateChanged.connect(self.show_auto_detected_change)self.input_directories_controls.add.clicked.connect(self._add_input_directory)self.input_directories_controls.remove_selected.clicked.connect(self._remove_selected_input_directories)self.input_directories = QListWidget(parent=self)self.input_directories.itemSelectionChanged.connect(self._update_status_messages)self.input_directories.setSortingEnabled(False)self.input_directories.setSelectionMode(QAbstractItemView.ExtendedSelection)self.input_directories.setAlternatingRowColors(True)input_directories_layout.addWidget(self.input_directories_controls)input_directories_layout.addWidget(self.input_directories)# The "Specify output directories" attachmentsself.output_directories_controls = JobAttachmentsControlsWidget(self)self.output_directories_controls.show_auto_detected.stateChanged.connect(self.show_auto_detected_change)self.output_directories_controls.add.clicked.connect(self._add_output_directory)self.output_directories_controls.remove_selected.clicked.connect(self._remove_selected_output_directories)self.output_directories = QListWidget(parent=self)self.output_directories.itemSelectionChanged.connect(self._update_status_messages)self.output_directories.setSortingEnabled(False)self.output_directories.setSelectionMode(QAbstractItemView.ExtendedSelection)self.output_directories.setAlternatingRowColors(True)output_directories_layout.addWidget(self.output_directories_controls)output_directories_layout.addWidget(self.output_directories)self.attachments_controls = self._build_attachment_controls()
1
72
1
588
0
59
148
59
self
[]
None
{"Assign": 21, "Expr": 40}
61
90
61
["QVBoxLayout", "QSizePolicy", "size_policy.setVerticalStretch", "QGroupBox", "tab_layout.addWidget", "self.general_group.setSizePolicy", "QVBoxLayout", "QGroupBox", "QSizePolicy", "size_policy.setVerticalStretch", "tab_layout.addWidget", "self.input_files_group.setSizePolicy", "QVBoxLayout", "QGroupBox", "QSizePolicy", "size_policy.setVerticalStretch", "self.input_directories_group.setSizePolicy", "tab_layout.addWidget", "QVBoxLayout", "QGroupBox", "QSizePolicy", "size_policy.setVerticalStretch", "self.output_directories_group.setSizePolicy", "tab_layout.addWidget", "QVBoxLayout", "JobAttachmentsGeneralWidget", "general_layout.addWidget", "JobAttachmentsControlsWidget", "self.input_files_controls.show_auto_detected.stateChanged.connect", "self.input_files_controls.add.clicked.connect", "self.input_files_controls.remove_selected.clicked.connect", "QListWidget", "self.input_files.itemSelectionChanged.connect", "self.input_files.setSortingEnabled", "self.input_files.setSelectionMode", "self.input_files.setAlternatingRowColors", "input_files_layout.addWidget", "input_files_layout.addWidget", "JobAttachmentsControlsWidget", "self.input_directories_controls.show_auto_detected.stateChanged.connect", "self.input_directories_controls.add.clicked.connect", "self.input_directories_controls.remove_selected.clicked.connect", "QListWidget", "self.input_directories.itemSelectionChanged.connect", "self.input_directories.setSortingEnabled", "self.input_directories.setSelectionMode", "self.input_directories.setAlternatingRowColors", "input_directories_layout.addWidget", "input_directories_layout.addWidget", "JobAttachmentsControlsWidget", "self.output_directories_controls.show_auto_detected.stateChanged.connect", "self.output_directories_controls.add.clicked.connect", "self.output_directories_controls.remove_selected.clicked.connect", "QListWidget", "self.output_directories.itemSelectionChanged.connect", "self.output_directories.setSortingEnabled", "self.output_directories.setSelectionMode", "self.output_directories.setAlternatingRowColors", "output_directories_layout.addWidget", "output_directories_layout.addWidget", "self._build_attachment_controls"]
0
[]
The function (_build_ui) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 59 and ends at 148. It contains 72 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 61.0 functions, and It has 61.0 functions called inside which are ["QVBoxLayout", "QSizePolicy", "size_policy.setVerticalStretch", "QGroupBox", "tab_layout.addWidget", "self.general_group.setSizePolicy", "QVBoxLayout", "QGroupBox", "QSizePolicy", "size_policy.setVerticalStretch", "tab_layout.addWidget", "self.input_files_group.setSizePolicy", "QVBoxLayout", "QGroupBox", "QSizePolicy", "size_policy.setVerticalStretch", "self.input_directories_group.setSizePolicy", "tab_layout.addWidget", "QVBoxLayout", "QGroupBox", "QSizePolicy", "size_policy.setVerticalStretch", "self.output_directories_group.setSizePolicy", "tab_layout.addWidget", "QVBoxLayout", "JobAttachmentsGeneralWidget", "general_layout.addWidget", "JobAttachmentsControlsWidget", "self.input_files_controls.show_auto_detected.stateChanged.connect", "self.input_files_controls.add.clicked.connect", "self.input_files_controls.remove_selected.clicked.connect", "QListWidget", "self.input_files.itemSelectionChanged.connect", "self.input_files.setSortingEnabled", "self.input_files.setSelectionMode", "self.input_files.setAlternatingRowColors", "input_files_layout.addWidget", "input_files_layout.addWidget", "JobAttachmentsControlsWidget", "self.input_directories_controls.show_auto_detected.stateChanged.connect", "self.input_directories_controls.add.clicked.connect", "self.input_directories_controls.remove_selected.clicked.connect", "QListWidget", "self.input_directories.itemSelectionChanged.connect", "self.input_directories.setSortingEnabled", "self.input_directories.setSelectionMode", "self.input_directories.setAlternatingRowColors", "input_directories_layout.addWidget", "input_directories_layout.addWidget", "JobAttachmentsControlsWidget", "self.output_directories_controls.show_auto_detected.stateChanged.connect", "self.output_directories_controls.add.clicked.connect", "self.output_directories_controls.remove_selected.clicked.connect", "QListWidget", "self.output_directories.itemSelectionChanged.connect", "self.output_directories.setSortingEnabled", "self.output_directories.setSelectionMode", "self.output_directories.setAlternatingRowColors", "output_directories_layout.addWidget", "output_directories_layout.addWidget", "self._build_attachment_controls"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_build_attachment_controls
def _build_attachment_controls(self,) -> list[tuple[set[str], set[str], QListWidget, JobAttachmentsControlsWidget]]:# Put all the controls in a list of tuples for structured processingreturn [(self.auto_detected_attachments.input_filenames,self.attachments.input_filenames,self.input_files,self.input_files_controls,),(self.auto_detected_attachments.input_directories,self.attachments.input_directories,self.input_directories,self.input_directories_controls,),(self.auto_detected_attachments.output_directories,self.attachments.output_directories,self.output_directories,self.output_directories_controls,),]
1
23
1
98
0
150
173
150
self
[]
list[tuple[set[str], set[str], QListWidget, JobAttachmentsControlsWidget]]
{"Return": 1}
0
24
0
[]
0
[]
The function (_build_attachment_controls) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 150 and ends at 173. It contains 23 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
JobAttachmentsWidget
public
0
1
refresh_ui
def refresh_ui(self,auto_detected_attachments: Optional[AssetReferences],attachments: Optional[AssetReferences],):"""Refresh the job attachment lists if provided"""if auto_detected_attachments:self.auto_detected_attachments = auto_detected_attachmentsif attachments:self.attachments = attachmentsself.attachments_controls = self._build_attachment_controls()self._populate_attachment_lists()
3
11
3
51
0
175
186
175
self,auto_detected_attachments,attachments
[]
None
{"Assign": 3, "Expr": 2, "If": 2}
2
12
2
["self._build_attachment_controls", "self._populate_attachment_lists"]
0
[]
The function (refresh_ui) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 175 and ends at 186. It contains 11 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [175.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self._build_attachment_controls", "self._populate_attachment_lists"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_set_attachments_list
def _set_attachments_list(self, list_widget: QListWidget, auto_detected_paths: set[str], paths: set[str]):with block_signals(list_widget):list_widget.clear()if auto_detected_paths:italic_font = list_widget.font()italic_font.setItalic(True)for path in auto_detected_paths:item = QListWidgetItem()item.setText(path)item.setFont(italic_font)list_widget.addItem(item)list_widget.addItems(list(paths))list_widget.sortItems()
3
15
4
92
0
188
202
188
self,list_widget,auto_detected_paths,paths
[]
None
{"Assign": 2, "Expr": 7, "For": 1, "If": 1, "With": 1}
11
15
11
["block_signals", "list_widget.clear", "list_widget.font", "italic_font.setItalic", "QListWidgetItem", "item.setText", "item.setFont", "list_widget.addItem", "list_widget.addItems", "list", "list_widget.sortItems"]
0
[]
The function (_set_attachments_list) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 188 and ends at 202. It contains 15 lines of code and it has a cyclomatic complexity of 3. It takes 4 parameters, represented as [188.0] and does not return any value. It declares 11.0 functions, and It has 11.0 functions called inside which are ["block_signals", "list_widget.clear", "list_widget.font", "italic_font.setItalic", "QListWidgetItem", "item.setText", "item.setFont", "list_widget.addItem", "list_widget.addItems", "list", "list_widget.sortItems"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_populate_attachment_lists
def _populate_attachment_lists(self) -> None:"""Initializes the lists of job attachments. Removes any auto-detected attachments from the added attachments sets."""for auto_detected_set, added_set, list_widget, controls_widget in self.attachments_controls:added_set.difference_update(auto_detected_set)if controls_widget.show_auto_detected.isChecked():self._set_attachments_list(list_widget,auto_detected_set,added_set,)else:self._set_attachments_list(list_widget,set(),added_set,)self._update_status_messages()
3
16
1
67
0
204
220
204
self
[]
None
{"Expr": 5, "For": 1, "If": 1}
6
17
6
["added_set.difference_update", "controls_widget.show_auto_detected.isChecked", "self._set_attachments_list", "self._set_attachments_list", "set", "self._update_status_messages"]
0
[]
The function (_populate_attachment_lists) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 204 and ends at 220. It contains 16 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 6.0 functions, and It has 6.0 functions called inside which are ["added_set.difference_update", "controls_widget.show_auto_detected.isChecked", "self._set_attachments_list", "self._set_attachments_list", "set", "self._update_status_messages"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
show_auto_detected_change
def show_auto_detected_change(self, _: int):# When one of the "Show Auto-detected" checkboxes changes state, re-populate the listsself._populate_attachment_lists()
1
2
2
14
0
222
224
222
self,_
[]
None
{"Expr": 1}
1
3
1
["self._populate_attachment_lists"]
0
[]
The function (show_auto_detected_change) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 222 and ends at 224. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [222.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self._populate_attachment_lists"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_update_status_messages
def _update_status_messages(self) -> None:"""Updates the status messages for each list to have the counts."""for auto_detected_set, added_set, list_widget, controls_widget in self.attachments_controls:selected_count = len(list_widget.selectedItems())controls_widget.status_message.setText(f"{len(auto_detected_set)} auto, {len(added_set)} added, {selected_count} selected")
2
6
1
40
0
226
232
226
self
[]
None
{"Assign": 1, "Expr": 2, "For": 1}
5
7
5
["len", "list_widget.selectedItems", "controls_widget.status_message.setText", "len", "len"]
0
[]
The function (_update_status_messages) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 226 and ends at 232. It contains 6 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["len", "list_widget.selectedItems", "controls_widget.status_message.setText", "len", "len"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_add_input_files
def _add_input_files(self) -> None:new_files, _ = QFileDialog.getOpenFileNames(self, "Select input files to attach to your job")if new_files:# Normalize the pathspaths = set(os.path.normpath(path) for path in new_files)# Remove any that are from the auto-detected setpaths.difference_update(self.auto_detected_attachments.input_filenames)# Add them to the attachmentsself.attachments.input_filenames.update(paths)self._populate_attachment_lists()
3
9
1
64
0
234
246
234
self
[]
None
{"Assign": 2, "Expr": 3, "If": 1}
6
13
6
["QFileDialog.getOpenFileNames", "set", "os.path.normpath", "paths.difference_update", "self.attachments.input_filenames.update", "self._populate_attachment_lists"]
0
[]
The function (_add_input_files) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 234 and ends at 246. 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 declares 6.0 functions, and It has 6.0 functions called inside which are ["QFileDialog.getOpenFileNames", "set", "os.path.normpath", "paths.difference_update", "self.attachments.input_filenames.update", "self._populate_attachment_lists"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_remove_selected_input_files
def _remove_selected_input_files(self) -> None:selected_files = [item.text() for item in self.input_files.selectedItems()]unremoved_files = self.auto_detected_attachments.input_filenames.intersection(selected_files)# Remove the selected items only from the added attachments, not the auto-detected onesself.attachments.input_filenames.difference_update(selected_files)self._populate_attachment_lists()if unremoved_files:QMessageBox.warning(# type: ignore[call-arg]self,"Some files were not removed",f"The selected files from the auto-detected list ({len(unremoved_files)} items) were not removed.",)
3
13
1
68
0
248
261
248
self
[]
None
{"Assign": 2, "Expr": 3, "If": 1}
7
14
7
["item.text", "self.input_files.selectedItems", "self.auto_detected_attachments.input_filenames.intersection", "self.attachments.input_filenames.difference_update", "self._populate_attachment_lists", "QMessageBox.warning", "len"]
0
[]
The function (_remove_selected_input_files) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 248 and ends at 261. 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 7.0 functions, and It has 7.0 functions called inside which are ["item.text", "self.input_files.selectedItems", "self.auto_detected_attachments.input_filenames.intersection", "self.attachments.input_filenames.difference_update", "self._populate_attachment_lists", "QMessageBox.warning", "len"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_add_input_directory
def _add_input_directory(self) -> None:new_dir = QFileDialog.getExistingDirectory(self, "Select a directory to attach to your job")if new_dir:# Normalize the pathnew_dir = os.path.normpath(new_dir)# Check if it's in the auto-detected setif new_dir not in self.auto_detected_attachments.input_directories:# Add it to the attachmentsself.attachments.input_directories.add(new_dir)self._populate_attachment_lists()
3
7
1
55
0
263
273
263
self
[]
None
{"Assign": 2, "Expr": 2, "If": 2}
4
11
4
["QFileDialog.getExistingDirectory", "os.path.normpath", "self.attachments.input_directories.add", "self._populate_attachment_lists"]
0
[]
The function (_add_input_directory) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 263 and ends at 273. 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 4.0 functions, and It has 4.0 functions called inside which are ["QFileDialog.getExistingDirectory", "os.path.normpath", "self.attachments.input_directories.add", "self._populate_attachment_lists"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_remove_selected_input_directories
def _remove_selected_input_directories(self) -> None:selected_dirs = [item.text() for item in self.input_directories.selectedItems()]unremoved_dirs = self.auto_detected_attachments.input_directories.intersection(selected_dirs)# Remove the selected items only from the added attachments, not the auto-detected onesself.attachments.input_directories.difference_update(selected_dirs)self._populate_attachment_lists()if unremoved_dirs:QMessageBox.warning(# type: ignore[call-arg]self,"Some directories were not removed",f"The selected directories from the auto-detected list ({len(unremoved_dirs)} items) were not removed.",)
3
13
1
68
0
275
288
275
self
[]
None
{"Assign": 2, "Expr": 3, "If": 1}
7
14
7
["item.text", "self.input_directories.selectedItems", "self.auto_detected_attachments.input_directories.intersection", "self.attachments.input_directories.difference_update", "self._populate_attachment_lists", "QMessageBox.warning", "len"]
0
[]
The function (_remove_selected_input_directories) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 275 and ends at 288. 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 7.0 functions, and It has 7.0 functions called inside which are ["item.text", "self.input_directories.selectedItems", "self.auto_detected_attachments.input_directories.intersection", "self.attachments.input_directories.difference_update", "self._populate_attachment_lists", "QMessageBox.warning", "len"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_add_output_directory
def _add_output_directory(self) -> None:new_dir = QFileDialog.getExistingDirectory(self, "Select an output directory of your job")if new_dir:# Normalize the pathnew_dir = os.path.normpath(new_dir)# Check if it's in the auto-detected setif new_dir not in self.auto_detected_attachments.output_directories:# Add it to the attachmentsself.attachments.output_directories.add(new_dir)self._populate_attachment_lists()
3
7
1
55
0
290
300
290
self
[]
None
{"Assign": 2, "Expr": 2, "If": 2}
4
11
4
["QFileDialog.getExistingDirectory", "os.path.normpath", "self.attachments.output_directories.add", "self._populate_attachment_lists"]
0
[]
The function (_add_output_directory) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 290 and ends at 300. 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 4.0 functions, and It has 4.0 functions called inside which are ["QFileDialog.getExistingDirectory", "os.path.normpath", "self.attachments.output_directories.add", "self._populate_attachment_lists"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
_remove_selected_output_directories
def _remove_selected_output_directories(self) -> None:selected_dirs = [item.text() for item in self.output_directories.selectedItems()]unremoved_dirs = self.auto_detected_attachments.output_directories.intersection(selected_dirs)# Remove the selected items only from the added attachments, not the auto-detected onesself.attachments.output_directories.difference_update(selected_dirs)self._populate_attachment_lists()if unremoved_dirs:QMessageBox.warning(# type: ignore[call-arg]self,"Some directories were not removed",f"The selected directories from the auto-detected list ({len(unremoved_dirs)} items) were not removed.",)
3
13
1
68
0
302
315
302
self
[]
None
{"Assign": 2, "Expr": 3, "If": 1}
7
14
7
["item.text", "self.output_directories.selectedItems", "self.auto_detected_attachments.output_directories.intersection", "self.attachments.output_directories.difference_update", "self._populate_attachment_lists", "QMessageBox.warning", "len"]
0
[]
The function (_remove_selected_output_directories) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 302 and ends at 315. 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 7.0 functions, and It has 7.0 functions called inside which are ["item.text", "self.output_directories.selectedItems", "self.auto_detected_attachments.output_directories.intersection", "self.attachments.output_directories.difference_update", "self._populate_attachment_lists", "QMessageBox.warning", "len"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
get_asset_references
def get_asset_references(self) -> AssetReferences:"""Creates an asset_references object that can be saved as theasset_references.json|yaml file in a Job Bundle."""return self.auto_detected_attachments.union(self.attachments)
1
2
1
19
0
317
322
317
self
[]
AssetReferences
{"Expr": 1, "Return": 1}
1
6
1
["self.auto_detected_attachments.union"]
0
[]
The function (get_asset_references) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 317 and ends at 322. 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, and It has 1.0 function called inside which is ["self.auto_detected_attachments.union"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
get_require_paths_exist
def get_require_paths_exist(self) -> bool:"""Returns the checkbox value of whether to allow empty paths or not."""return self.general_settings.require_paths_exist.isChecked()
1
2
1
18
0
324
328
324
self
[]
bool
{"Expr": 1, "Return": 1}
1
5
1
["self.general_settings.require_paths_exist.isChecked"]
0
[]
The function (get_require_paths_exist) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 324 and ends at 328. 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, and It has 1.0 function called inside which is ["self.general_settings.require_paths_exist.isChecked"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
__init__
def __init__(self, parent=None) -> None:super().__init__(parent=parent)layout = QHBoxLayout(self)layout.setContentsMargins(0, 0, 0, 0)self.require_paths_exist = QCheckBox("Require all input paths exist", parent=self)layout.addWidget(self.require_paths_exist)
1
6
2
59
0
336
343
336
self,auto_detected_attachments,attachments,parent
[]
None
{"Assign": 2, "Expr": 3}
4
12
4
["__init__", "super", "self._build_ui", "self._populate_attachment_lists"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 336 and ends at 343. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [336.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["__init__", "super", "self._build_ui", "self._populate_attachment_lists"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
JobAttachmentsWidget
public
0
1
__init__
def __init__(self, parent=None) -> None:super().__init__(parent=parent)layout = QHBoxLayout(self)layout.setContentsMargins(0, 0, 0, 0)self.add = QPushButton("Add...", parent=self)layout.addWidget(self.add)self.remove_selected = QPushButton("Remove selected", parent=self)layout.addWidget(self.remove_selected)self.status_message = QLabel("0 total")self.status_message.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.status_message)self.show_auto_detected = QCheckBox("Show auto-detected", parent=self)self.show_auto_detected.setChecked(True)layout.addWidget(self.show_auto_detected)
1
14
2
137
0
352
370
352
self,auto_detected_attachments,attachments,parent
[]
None
{"Assign": 2, "Expr": 3}
4
12
4
["__init__", "super", "self._build_ui", "self._populate_attachment_lists"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called JobAttachmentsWidget, that inherit another class.The function start at line 352 and ends at 370. It contains 14 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [352.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["__init__", "super", "self._build_ui", "self._populate_attachment_lists"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
public
0
1
__init__
def __init__(self, initial_settings: JobBundleSettings, parent=None):super().__init__(parent=parent)self.parent = parentself.param_layout = QVBoxLayout()self._build_ui(initial_settings)
1
5
3
41
0
50
57
50
self,initial_settings,parent
[]
None
{"Assign": 2, "Expr": 2}
4
8
4
["__init__", "super", "QVBoxLayout", "self._build_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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called JobBundleSettingsWidget, that inherit another class.The function start at line 50 and ends at 57. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [50.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["__init__", "super", "QVBoxLayout", "self._build_ui"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
public
0
1
_build_ui
def _build_ui(self, initial_settings: JobBundleSettings):self.input_job_bundle_dir = initial_settings.input_job_bundle_dirlayout = QVBoxLayout(self)if initial_settings.browse_enabled:btnBox = QHBoxLayout()self.load_bundle_button = QPushButton("Load a different job bundle")self.load_bundle_button.clicked.connect(self.on_load_bundle)btnBox.addWidget(self.load_bundle_button)btnBox.addItem(QSpacerItem(0, 0, QSizePolicy.Expanding, QSizePolicy.Minimum))layout.addLayout(btnBox)layout.addLayout(self.param_layout)self.refresh_ui(initial_settings)
2
12
2
99
0
59
73
59
self,initial_settings
[]
None
{"Assign": 4, "Expr": 6, "If": 1}
10
15
10
["QVBoxLayout", "QHBoxLayout", "QPushButton", "self.load_bundle_button.clicked.connect", "btnBox.addWidget", "btnBox.addItem", "QSpacerItem", "layout.addLayout", "layout.addLayout", "self.refresh_ui"]
0
[]
The function (_build_ui) defined within the public class called JobBundleSettingsWidget, that inherit another class.The function start at line 59 and ends at 73. It contains 12 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [59.0] and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["QVBoxLayout", "QHBoxLayout", "QPushButton", "self.load_bundle_button.clicked.connect", "btnBox.addWidget", "btnBox.addItem", "QSpacerItem", "layout.addLayout", "layout.addLayout", "self.refresh_ui"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
public
0
1
refresh_ui
def refresh_ui(self, settings: JobBundleSettings):# Clear the layoutfor i in reversed(range(self.param_layout.count())):item = self.param_layout.takeAt(i)item.widget().deleteLater()self.parameters_widget = OpenJDParametersWidget(parameter_definitions=settings.parameters, parent=self)self.param_layout.addWidget(self.parameters_widget)self.parameters_widget.parameter_changed.connect(lambda message: self.parameter_changed.emit(message))
2
11
2
91
0
75
87
75
self,settings
[]
None
{"Assign": 2, "Expr": 3, "For": 1}
10
13
10
["reversed", "range", "self.param_layout.count", "self.param_layout.takeAt", "deleteLater", "item.widget", "OpenJDParametersWidget", "self.param_layout.addWidget", "self.parameters_widget.parameter_changed.connect", "self.parameter_changed.emit"]
0
[]
The function (refresh_ui) defined within the public class called JobBundleSettingsWidget, that inherit another class.The function start at line 75 and ends at 87. It contains 11 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [75.0] and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["reversed", "range", "self.param_layout.count", "self.param_layout.takeAt", "deleteLater", "item.widget", "OpenJDParametersWidget", "self.param_layout.addWidget", "self.parameters_widget.parameter_changed.connect", "self.parameter_changed.emit"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
public
0
1
on_load_bundle
def on_load_bundle(self):"""Browse and load the selected submission bundle"""# Open the file picker dialogbundle_path = os.path.expanduser(config_file.get_setting("settings.job_history_dir"))input_job_bundle_dir = QFileDialog.getExistingDirectory(self, "Choose job bundle directory", bundle_path)if not input_job_bundle_dir:return# Update job bundle directory pathself.input_job_bundle_dir = input_job_bundle_dir# Warn the user if the Job Bundle could not be loadedtry:validate_directory_symlink_containment(input_job_bundle_dir)asset_references_obj = (read_yaml_or_json_object(input_job_bundle_dir, "asset_references", False) or {})asset_references = AssetReferences.from_dict(asset_references_obj)# Load the template to get the bundle nametemplate = read_yaml_or_json_object(input_job_bundle_dir, "template", True)name = (template.get("name", "Job bundle submission")if templateelse "Job bundle submission")job_settings = JobBundleSettings(input_job_bundle_dir=input_job_bundle_dir, name=name)job_settings.parameters = read_job_bundle_parameters(input_job_bundle_dir)except Exception as e:msg = str(e)QMessageBox.warning(self, "Could not load job bundle", msg)# type: ignore[call-arg]logger.warning(msg)returnif hasattr(self.parent, "refresh"):self.parent.refresh(job_settings=job_settings,auto_detected_attachments=asset_references,attachments=None,load_new_bundle=True,)
6
34
1
179
0
89
135
89
self
[]
None
{"Assign": 10, "Expr": 5, "If": 2, "Return": 2, "Try": 1}
15
47
15
["os.path.expanduser", "config_file.get_setting", "QFileDialog.getExistingDirectory", "validate_directory_symlink_containment", "read_yaml_or_json_object", "AssetReferences.from_dict", "read_yaml_or_json_object", "template.get", "JobBundleSettings", "read_job_bundle_parameters", "str", "QMessageBox.warning", "logger.warning", "hasattr", "self.parent.refresh"]
0
[]
The function (on_load_bundle) defined within the public class called JobBundleSettingsWidget, that inherit another class.The function start at line 89 and ends at 135. It contains 34 lines of code and it has a cyclomatic complexity of 6. The function does not take any parameters and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["os.path.expanduser", "config_file.get_setting", "QFileDialog.getExistingDirectory", "validate_directory_symlink_containment", "read_yaml_or_json_object", "AssetReferences.from_dict", "read_yaml_or_json_object", "template.get", "JobBundleSettings", "read_job_bundle_parameters", "str", "QMessageBox.warning", "logger.warning", "hasattr", "self.parent.refresh"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
public
0
1
update_settings
def update_settings(self, settings: JobBundleSettings):"""Update a settings object with the latest values."""settings.input_job_bundle_dir = self.input_job_bundle_dirsettings.parameters = self.parameters_widget.get_parameters()
1
3
2
28
0
137
142
137
self,settings
[]
None
{"Assign": 2, "Expr": 1}
1
6
1
["self.parameters_widget.get_parameters"]
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 JobBundleSettingsWidget, that inherit another class.The function start at line 137 and ends at 142. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [137.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.parameters_widget.get_parameters"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
public
0
1
get_parameters
def get_parameters(self):"""Returns a list of OpenJD parameter definition dicts witha "value" key filled from the widget."""return self.parameters_widget.get_parameters()
1
2
1
14
0
144
149
144
self
[]
Returns
{"Expr": 1, "Return": 1}
1
6
1
["self.parameters_widget.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_devices"]
The function (get_parameters) defined within the public class called JobBundleSettingsWidget, that inherit another class.The function start at line 144 and ends at 149. 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 declare 1.0 function, It has 1.0 function called inside which is ["self.parameters_widget.get_parameters"], It has 2.0 functions calling this function which are ["_.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_devices"].
aws-deadline_deadline-cloud
JobBundleSettingsWidget
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.parameters_widget.set_parameter_value(parameter)
1
2
2
23
0
151
158
151
self,parameter
[]
None
{"Expr": 2}
1
8
1
["self.parameters_widget.set_parameter_value"]
0
[]
The function (set_parameter_value) defined within the public class called JobBundleSettingsWidget, that inherit another class.The function start at line 151 and ends at 158. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [151.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self.parameters_widget.set_parameter_value"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
__init__
def __init__(self, label: str, tooltip: str):super().__init__()self.checkbox = QCheckBox(label)self.checkbox.setChecked(True)self.checkbox.setToolTip(tooltip)self.status_icon = QLabel()self.status_icon.setFixedSize(16, 16)self.days_box = QSpinBox(self, minimum=0, maximum=365)self.days_box.setSuffix(" days")self.days_box.setFixedWidth(90)self.hours_box = QSpinBox(self, minimum=0, maximum=23)self.hours_box.setSuffix(" hours")self.hours_box.setFixedWidth(90)self.minutes_box = QSpinBox(self, minimum=0, maximum=59)self.minutes_box.setSuffix(" minutes")self.minutes_box.setFixedWidth(90)self._build_ui()self._connect_signals()
1
18
3
167
0
42
65
42
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", "self.minutes_box.setFixedWidth", "self._build_ui", "self._connect_signals"]
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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 42 and ends at 65. It contains 18 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [42.0] and does not return any value. It declares 18.0 functions, It has 18.0 functions called inside which are ["__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", "self.minutes_box.setFixedWidth", "self._build_ui", "self._connect_signals"], It has 4993.0 functions calling this function which are ["_.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_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
_build_ui
def _build_ui(self):"""Builds the internal layout of the timeout row."""layout = QGridLayout(self)layout.setContentsMargins(0, 0, 0, 0)layout.addWidget(self.checkbox, 0, 0)layout.addWidget(self.status_icon, 0, 1)layout.addWidget(self.days_box, 0, 2)layout.addWidget(self.hours_box, 0, 3)layout.addWidget(self.minutes_box, 0, 4)
1
8
1
84
0
67
78
67
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 67 and ends at 78. It contains 8 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 7.0 functions, and It has 7.0 functions called inside which are ["QGridLayout", "layout.setContentsMargins", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
_connect_signals
def _connect_signals(self):"""Connects all internal widgets to emit the changed signal."""self.checkbox.clicked.connect(self._on_change)self.days_box.valueChanged.connect(self._on_change)self.hours_box.valueChanged.connect(self._on_change)self.minutes_box.valueChanged.connect(self._on_change)
1
5
1
54
0
80
87
80
self
[]
None
{"Expr": 5}
4
8
4
["self.checkbox.clicked.connect", "self.days_box.valueChanged.connect", "self.hours_box.valueChanged.connect", "self.minutes_box.valueChanged.connect"]
0
[]
The function (_connect_signals) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 80 and ends at 87. It contains 5 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 4.0 functions, and It has 4.0 functions called inside which are ["self.checkbox.clicked.connect", "self.days_box.valueChanged.connect", "self.hours_box.valueChanged.connect", "self.minutes_box.valueChanged.connect"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
_on_change
def _on_change(self):"""Handler for any changes in the widget's state.Updates the widget state and emits the changed signal."""self.update_state()self.changed.emit()
1
3
1
18
0
89
95
89
self
[]
None
{"Expr": 3}
2
7
2
["self.update_state", "self.changed.emit"]
0
[]
The function (_on_change) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 89 and ends at 95. 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 2.0 functions, and It has 2.0 functions called inside which are ["self.update_state", "self.changed.emit"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
set_enabled
def set_enabled(self, enabled: bool):"""Enables or deactivates all time input fields in this row.Args:enabled: If True, enables the input fields; if False, deactivates them"""self.days_box.setEnabled(enabled)self.hours_box.setEnabled(enabled)self.minutes_box.setEnabled(enabled)
1
4
2
34
0
97
106
97
self,enabled
[]
None
{"Expr": 4}
3
10
3
["self.days_box.setEnabled", "self.hours_box.setEnabled", "self.minutes_box.setEnabled"]
0
[]
The function (set_enabled) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 97 and ends at 106. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [97.0] and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["self.days_box.setEnabled", "self.hours_box.setEnabled", "self.minutes_box.setEnabled"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
set_timeout
def set_timeout(self, total_seconds: int) -> None:"""Sets the timeout value by converting seconds into days, hours, and minutes.Args:total_seconds: Total number of seconds to be distributed across time fields"""td = timedelta(seconds=total_seconds)# Extract days from timedelta (1 day = 86400 seconds)days = td.days# Extract hours from remaining seconds (td.seconds is always < 86400)hours = td.seconds // 3600# 3600 = 60 minutes * 60 seconds# Extract minutes from remaining seconds after hours are removedminutes = (td.seconds // 60) % 60self.days_box.setValue(days)self.hours_box.setValue(hours)self.minutes_box.setValue(minutes)
1
8
2
62
0
108
128
108
self,total_seconds
[]
None
{"Assign": 4, "Expr": 4}
4
21
4
["timedelta", "self.days_box.setValue", "self.hours_box.setValue", "self.minutes_box.setValue"]
0
[]
The function (set_timeout) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 108 and ends at 128. It contains 8 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [108.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["timedelta", "self.days_box.setValue", "self.hours_box.setValue", "self.minutes_box.setValue"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
get_timeout_seconds
def get_timeout_seconds(self) -> int:"""Calculates the total timeout in seconds from the current days, hours, and minutes values.Returns:int: Total number of seconds represented by the current time values"""return int(timedelta(days=self.days_box.value(),hours=self.hours_box.value(),minutes=self.minutes_box.value(),).total_seconds())
1
8
1
49
0
130
143
130
self
[]
int
{"Expr": 1, "Return": 1}
6
14
6
["int", "total_seconds", "timedelta", "self.days_box.value", "self.hours_box.value", "self.minutes_box.value"]
0
[]
The function (get_timeout_seconds) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 130 and ends at 143. It contains 8 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 6.0 functions, and It has 6.0 functions called inside which are ["int", "total_seconds", "timedelta", "self.days_box.value", "self.hours_box.value", "self.minutes_box.value"].