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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pasteorg_paste | TestApp | public | 0 | 0 | _make_environ | def _make_environ(self):environ = self.extra_environ.copy()environ['paste.throw_errors'] = Truereturn environ | 1 | 4 | 1 | 22 | 0 | 153 | 156 | 153 | self | [] | Returns | {"Assign": 2, "Return": 1} | 1 | 4 | 1 | ["self.extra_environ.copy"] | 0 | [] | The function (_make_environ) defined within the public class called TestApp.The function start at line 153 and ends at 156. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["self.extra_environ.copy"]. |
pasteorg_paste | TestApp | public | 0 | 0 | get | def get(self, url, params=None, headers=None, extra_environ=None,status=None, expect_errors=False):"""Get the given url (well, actually a path like``'/page.html'``).``params``:A query string, or a dictionary that will be encodedinto a query string.You may also include a querystring on the ``url``.``headers``:A dictionary of extra headers to send.``extra_environ``:A dictionary of environmental variables that shouldbe added to the request.``status``:The integer status code you expect (if not 200 or 3xx).If you expect a 404 response, for instance, you must give``status=404`` or it will be an error.You can also givea wildcard, like ``'3*'`` or ``'*'``.``expect_errors``:If this is not true, then if anything is written to``wsgi.errors`` it will be an error.If it is true, thennon-200/3xx responses are also okay.Returns a `response object<class-paste.fixture.TestResponse.html>`_"""if extra_environ is None:extra_environ = {}__tracebackhide__ = True# Hide from pytest:if params:if not isinstance(params, (bytes, str)):params = urlencode(params, doseq=True)if '?' in url:url += '&'else:url += '?'url += paramsenviron = self._make_environ()url = str(url)if '?' in url:url, environ['QUERY_STRING'] = url.split('?', 1)else:environ['QUERY_STRING'] = ''self._set_headers(headers, environ)environ.update(extra_environ)req = TestRequest(url, environ, expect_errors)return self.do_request(req, status=status) | 6 | 23 | 7 | 158 | 0 | 158 | 210 | 158 | self,url,params,headers,extra_environ,status,expect_errors | [] | Returns | {"Assign": 8, "AugAssign": 3, "Expr": 3, "If": 5, "Return": 1} | 9 | 53 | 9 | ["isinstance", "urlencode", "self._make_environ", "str", "url.split", "self._set_headers", "environ.update", "TestRequest", "self.do_request"] | 2,985 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.dependencies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.User.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.asset_py.AssetMixin.sign", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.RepeatInfo.from_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.fetch_invite", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.sign_assets", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.Forbidden.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.ImATeapot.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.App.config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.PluginsApp.installed_plugins", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.DetailEndpoint.list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint._validate_openapi_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.dcim_py.TraceableRecord.trace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.http_client_py.HTTPClient.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.duckhunt_py.ducks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.irc_py.irc", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.karma_py.karma", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.ree_py.ree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.seen_py.seen", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.tell_py.tell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.protocol.slack_py.SlackClient.get_channel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.cache_py.CacheLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.identity_py.IdentityLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.revision_py.RevisionLoggingPanel.process_response"] | The function (get) defined within the public class called TestApp.The function start at line 158 and ends at 210. It contains 23 lines of code and it has a cyclomatic complexity of 6. It takes 7 parameters, represented as [158.0], and this function return a value. It declares 9.0 functions, It has 9.0 functions called inside which are ["isinstance", "urlencode", "self._make_environ", "str", "url.split", "self._set_headers", "environ.update", "TestRequest", "self.do_request"], It has 2985.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.dependencies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.User.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.asset_py.AssetMixin.sign", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.RepeatInfo.from_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.fetch_invite", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.sign_assets", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.Forbidden.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.ImATeapot.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.App.config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.PluginsApp.installed_plugins", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.DetailEndpoint.list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint._validate_openapi_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.dcim_py.TraceableRecord.trace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.http_client_py.HTTPClient.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.duckhunt_py.ducks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.irc_py.irc", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.karma_py.karma", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.ree_py.ree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.seen_py.seen", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.tell_py.tell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.protocol.slack_py.SlackClient.get_channel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.cache_py.CacheLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.identity_py.IdentityLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.revision_py.RevisionLoggingPanel.process_response"]. |
pasteorg_paste | TestApp | public | 0 | 0 | _gen_request | def _gen_request(self, method, url, params=b'', headers=None, extra_environ=None, status=None, upload_files=None, expect_errors=False):"""Do a generic request."""if headers is None:headers = {}if extra_environ is None:extra_environ = {}environ = self._make_environ()# @@: Should this be all non-strings?if isinstance(params, (list, tuple, dict)):params = urlencode(params)if hasattr(params, 'items'):# Some other multi-dict like formatparams = urlencode(params.items())if isinstance(params, str):params = params.encode('utf8')if upload_files:params = urlparse.parse_qsl(params, keep_blank_values=True)content_type, params = self.encode_multipart(params, upload_files)environ['CONTENT_TYPE'] = content_typeelif params:environ.setdefault('CONTENT_TYPE', 'application/x-www-form-urlencoded')url = str(url)if '?' in url:url, environ['QUERY_STRING'] = url.split('?', 1)else:environ['QUERY_STRING'] = ''environ['CONTENT_LENGTH'] = str(len(params))environ['REQUEST_METHOD'] = methodenviron['wsgi.input'] = io.BytesIO(params)self._set_headers(headers, environ)environ.update(extra_environ)req = TestRequest(url, environ, expect_errors)return self.do_request(req, status=status) | 9 | 32 | 9 | 256 | 0 | 212 | 248 | 212 | self,method,url,params,headers,extra_environ,status,upload_files,expect_errors | [] | Returns | {"Assign": 16, "Expr": 4, "If": 8, "Return": 1} | 20 | 37 | 20 | ["self._make_environ", "isinstance", "urlencode", "hasattr", "urlencode", "params.items", "isinstance", "params.encode", "urlparse.parse_qsl", "self.encode_multipart", "environ.setdefault", "str", "url.split", "str", "len", "io.BytesIO", "self._set_headers", "environ.update", "TestRequest", "self.do_request"] | 0 | [] | The function (_gen_request) defined within the public class called TestApp.The function start at line 212 and ends at 248. It contains 32 lines of code and it has a cyclomatic complexity of 9. It takes 9 parameters, represented as [212.0], and this function return a value. It declares 20.0 functions, and It has 20.0 functions called inside which are ["self._make_environ", "isinstance", "urlencode", "hasattr", "urlencode", "params.items", "isinstance", "params.encode", "urlparse.parse_qsl", "self.encode_multipart", "environ.setdefault", "str", "url.split", "str", "len", "io.BytesIO", "self._set_headers", "environ.update", "TestRequest", "self.do_request"]. |
pasteorg_paste | TestApp | public | 0 | 0 | post | def post(self, url, params=b'', headers=None, extra_environ=None, status=None, upload_files=None, expect_errors=False):"""Do a POST request.Very like the ``.get()`` method.``params`` are put in the body of the request.``upload_files`` is for file uploads.It should be a list of``[(fieldname, filename, file_content)]``.You can also usejust ``[(fieldname, filename)]`` and the file content will beread from disk.Returns a `response object<class-paste.fixture.TestResponse.html>`_"""return self._gen_request('POST', url, params=params, headers=headers, extra_environ=extra_environ,status=status, upload_files=upload_files, expect_errors=expect_errors) | 1 | 6 | 8 | 66 | 0 | 250 | 267 | 250 | self,url,params,headers,extra_environ,status,upload_files,expect_errors | [] | Returns | {"Expr": 1, "Return": 1} | 1 | 18 | 1 | ["self._gen_request"] | 70 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.api_py.Api.create_token", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.DetailEndpoint.create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint.create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.elasticsearch.honeypy_elasticsearch_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.file.honeypy_file_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.honeydb.honeypy_honeydb_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.hpfeeds.honeypy_hpfeeds_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.slack.honeypy_slack_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.splunk.honeypy_splunk_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.sumologic.honeypy_sumologic_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.telegram.honeypy_telegram_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.template.honeypy_template_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.products_py.ProductsController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.products_py.VersionsController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.user_py.PublicKeysController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.vendors_py.VendorsController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3660028_openprocurement_openprocurement_auction.openprocurement.auction.tests.test_auction_server_py.TestAuctionsServer.test_log_post_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.views_py.SchemingCreateView.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921441_updatehub_uhu.tests.updatehub.test_http_py.RequestTestCase.test_can_make_GET_POST_and_PUT_requests", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928968_pinax_django_user_accounts.account.views_py.ChangePasswordView.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928968_pinax_django_user_accounts.account.views_py.SignupView.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3929013_rdegges_django_twilio.test_project.test_app.utils_py.TwilioRequestFactory.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.modules.google_py.parseqr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.utils.http_py.multipost", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.utils.pastebin_py.hpaste"] | The function (post) defined within the public class called TestApp.The function start at line 250 and ends at 267. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 8 parameters, represented as [250.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self._gen_request"], It has 70.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.api_py.Api.create_token", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.DetailEndpoint.create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint.create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.elasticsearch.honeypy_elasticsearch_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.file.honeypy_file_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.honeydb.honeypy_honeydb_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.hpfeeds.honeypy_hpfeeds_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.slack.honeypy_slack_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.splunk.honeypy_splunk_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.sumologic.honeypy_sumologic_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.telegram.honeypy_telegram_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636126_foospidy_honeypy.loggers.template.honeypy_template_py.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.products_py.ProductsController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.products_py.VersionsController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.user_py.PublicKeysController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.api.controllers.vendors_py.VendorsController.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3660028_openprocurement_openprocurement_auction.openprocurement.auction.tests.test_auction_server_py.TestAuctionsServer.test_log_post_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.views_py.SchemingCreateView.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921441_updatehub_uhu.tests.updatehub.test_http_py.RequestTestCase.test_can_make_GET_POST_and_PUT_requests", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928968_pinax_django_user_accounts.account.views_py.ChangePasswordView.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928968_pinax_django_user_accounts.account.views_py.SignupView.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3929013_rdegges_django_twilio.test_project.test_app.utils_py.TwilioRequestFactory.post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.modules.google_py.parseqr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.utils.http_py.multipost", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.utils.pastebin_py.hpaste"]. |
pasteorg_paste | TestApp | public | 0 | 0 | put | def put(self, url, params=b'', headers=None, extra_environ=None, status=None, upload_files=None, expect_errors=False):"""Do a PUT request.Very like the ``.get()`` method.``params`` are put in the body of the request.``upload_files`` is for file uploads.It should be a list of``[(fieldname, filename, file_content)]``.You can also usejust ``[(fieldname, filename)]`` and the file content will beread from disk.Returns a `response object<class-paste.fixture.TestResponse.html>`_"""return self._gen_request('PUT', url, params=params, headers=headers, extra_environ=extra_environ,status=status, upload_files=upload_files, expect_errors=expect_errors) | 1 | 6 | 8 | 66 | 0 | 269 | 286 | 269 | self,url,params,headers,extra_environ,status,upload_files,expect_errors | [] | Returns | {"Expr": 1, "Return": 1} | 1 | 18 | 1 | ["self._gen_request"] | 104 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.util.queue_py.Dispatcher.dispatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.sh_py.StreamReader.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.sh_py.StreamReader.write_chunk", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.put_blueprint", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.put_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.compute_py.RestApiClient.start", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.setup_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.setup_metric", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.stop_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.stop_metric", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.network_py.RestApiClient.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3660028_openprocurement_openprocurement_auction.openprocurement.auction.event_source_py.send_event_to_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3719407_sqlalchemy_dogpile_cache.dogpile.cache.plugins.mako_cache_py.MakoPlugin.put", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921441_updatehub_uhu.tests.updatehub.test_http_py.RequestTestCase.test_can_make_GET_POST_and_PUT_requests", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969413_aio_libs_janus.tests.test_async_py.TestQueueGetTests.test_get_with_putters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969413_aio_libs_janus.tests.test_async_py.TestQueuePut.test_put_with_waiting_getters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.bot_py.on_ready", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.bot_py.reQueueTransactions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.account_py.AccountCog.send_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.account_py.AccountCog.sendmax_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.favorites_py.FavoriteCog.tipfavorites_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.giveaway_py.GiveawayCog.start_giveaway_timer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.rain_py.RainCog.rain_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.tips_py.TipsCog.burn", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.tips_py.TipsCog.tip_cmd"] | The function (put) defined within the public class called TestApp.The function start at line 269 and ends at 286. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 8 parameters, represented as [269.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self._gen_request"], It has 104.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.util.queue_py.Dispatcher.dispatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.sh_py.StreamReader.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.sh_py.StreamReader.write_chunk", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.put_blueprint", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.put_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.compute_py.RestApiClient.start", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.setup_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.setup_metric", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.stop_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.monitor_py.RestApiClient.stop_metric", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.network_py.RestApiClient.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3660028_openprocurement_openprocurement_auction.openprocurement.auction.event_source_py.send_event_to_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3719407_sqlalchemy_dogpile_cache.dogpile.cache.plugins.mako_cache_py.MakoPlugin.put", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921441_updatehub_uhu.tests.updatehub.test_http_py.RequestTestCase.test_can_make_GET_POST_and_PUT_requests", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969413_aio_libs_janus.tests.test_async_py.TestQueueGetTests.test_get_with_putters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969413_aio_libs_janus.tests.test_async_py.TestQueuePut.test_put_with_waiting_getters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.bot_py.on_ready", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.bot_py.reQueueTransactions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.account_py.AccountCog.send_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.account_py.AccountCog.sendmax_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.favorites_py.FavoriteCog.tipfavorites_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.giveaway_py.GiveawayCog.start_giveaway_timer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.rain_py.RainCog.rain_cmd", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.tips_py.TipsCog.burn", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.cogs.tips_py.TipsCog.tip_cmd"]. |
pasteorg_paste | TestApp | public | 0 | 0 | delete | def delete(self, url, params=b'', headers=None, extra_environ=None, status=None, expect_errors=False):"""Do a DELETE request.Very like the ``.get()`` method.``params`` are put in the body of the request.Returns a `response object<class-paste.fixture.TestResponse.html>`_"""return self._gen_request('DELETE', url, params=params, headers=headers, extra_environ=extra_environ,status=status, upload_files=None, expect_errors=expect_errors) | 1 | 5 | 7 | 62 | 0 | 288 | 299 | 288 | self,url,params,headers,extra_environ,status,expect_errors | [] | Returns | {"Expr": 1, "Return": 1} | 1 | 12 | 1 | ["self._gen_request"] | 334 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.views_py.delete_runs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.docker_registry.lib.index.db_py.SQLAlchemyIndex._handle_repository_deleted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.api.test_views_py.BuildAPITestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.api.test_views_py.ProjectAPITestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.authentication.test_models_py.UserTestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_managers_py.ProjectManagerTests.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546243_data_8_jupyterhub_k8s.archive.archive_py.delete_disk", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546243_data_8_jupyterhub_k8s.archive.archive_py.delete_snapshot", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546243_data_8_jupyterhub_k8s.backup.backup_disks_py.delete_snapshot", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.delete_blueprint", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.delete_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._delete_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.models.templates_py.update_templated_records", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_auto_ptr_py.TestAutoPtr.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_ownership_py.TestOwnershipBase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_request_uniqueness_constraints_py.TestRequestUniquenessConstraints.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.api.openstack.compute_py.OpenstackCompute._remove_link", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.compute_py.RestApiClient.stop", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.network_py.RestApiClient.remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3640381_floydhub_floyd_cli.floyd.cli.data_py.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3640381_floydhub_floyd_cli.floyd.cli.experiment_py.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.tests.test_upload_py.test_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.db.sqlalchemy.api_py.delete_organization", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.db.sqlalchemy.api_py.delete_product", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.db.sqlalchemy.api_py.delete_product_version"] | The function (delete) defined within the public class called TestApp.The function start at line 288 and ends at 299. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [288.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self._gen_request"], It has 334.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.views_py.delete_runs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.docker_registry.lib.index.db_py.SQLAlchemyIndex._handle_repository_deleted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.api.test_views_py.BuildAPITestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.api.test_views_py.ProjectAPITestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.authentication.test_models_py.UserTestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_managers_py.ProjectManagerTests.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546243_data_8_jupyterhub_k8s.archive.archive_py.delete_disk", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546243_data_8_jupyterhub_k8s.archive.archive_py.delete_snapshot", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546243_data_8_jupyterhub_k8s.backup.backup_disks_py.delete_snapshot", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.delete_blueprint", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.delete_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._delete_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.models.templates_py.update_templated_records", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_auto_ptr_py.TestAutoPtr.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_ownership_py.TestOwnershipBase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_request_uniqueness_constraints_py.TestRequestUniquenessConstraints.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.api.openstack.compute_py.OpenstackCompute._remove_link", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.compute_py.RestApiClient.stop", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.cli.rest.network_py.RestApiClient.remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3640381_floydhub_floyd_cli.floyd.cli.data_py.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3640381_floydhub_floyd_cli.floyd.cli.experiment_py.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.tests.test_upload_py.test_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.db.sqlalchemy.api_py.delete_organization", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.db.sqlalchemy.api_py.delete_product", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657779_openstack_archive_refstack.refstack.db.sqlalchemy.api_py.delete_product_version"]. |
pasteorg_paste | TestApp | public | 0 | 0 | head | def head(self, url, headers=None, extra_environ=None, status=None, expect_errors=False):"""Do a HEAD request.Very like the ``.get()`` method.Returns a `response object<class-paste.fixture.TestResponse.html>`_"""return self._gen_request('HEAD', url, headers=headers, extra_environ=extra_environ,status=status, upload_files=None, expect_errors=expect_errors) | 1 | 5 | 6 | 53 | 0 | 301 | 311 | 301 | self,url,headers,extra_environ,status,expect_errors | [] | Returns | {"Expr": 1, "Return": 1} | 1 | 11 | 1 | ["self._gen_request"] | 21 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.head_blueprint", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.head_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_atomic", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_empty_collection", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_empty_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_nonempty_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_nonempty_sequential_collection", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_nonempty_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.inspectors_py.Inspector.pdoc", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.helper.validator_py.httpTimeOutValidator", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.helper.validator_py.httpsTimeOutValidator", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.utils.http_py.multihead", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70237335_roche_foxops.src.foxops.engine.initialization_py.initialize_incarnation", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70408386_unionai_oss_pandera.pandera.backends.pandas.checks_py.PandasCheckBackend._get_series_failure_cases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70408386_unionai_oss_pandera.pandera.backends.pandas.checks_py.PandasCheckBackend.postprocess_table", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94533096_lancedb_lancedb.python.python.lancedb.integrations.pyarrow_py.PyarrowDatasetAdapter.head", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94533096_lancedb_lancedb.python.python.tests.docs.test_guide_tables_py.test_table", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._plugins.ui._impl.tables.narwhals_table_py.NarwhalsTableManager.calculate_top_k_rows", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._plugins.ui._impl.tables.narwhals_table_py.NarwhalsTableManager.get_sample_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._plugins.ui._impl.tables.test_narwhals_py.test_sort_values_with_nulls"] | The function (head) defined within the public class called TestApp.The function start at line 301 and ends at 311. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 6 parameters, represented as [301.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self._gen_request"], It has 21.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.head_blueprint", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.backend_py.head_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_atomic", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_empty_collection", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_empty_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_nonempty_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_nonempty_sequential_collection", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.tests.utils_tests.test_head_util_py.test_head_nonempty_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.inspectors_py.Inspector.pdoc", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.helper.validator_py.httpTimeOutValidator", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.helper.validator_py.httpsTimeOutValidator", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.utils.http_py.multihead", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70237335_roche_foxops.src.foxops.engine.initialization_py.initialize_incarnation", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70408386_unionai_oss_pandera.pandera.backends.pandas.checks_py.PandasCheckBackend._get_series_failure_cases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70408386_unionai_oss_pandera.pandera.backends.pandas.checks_py.PandasCheckBackend.postprocess_table", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94533096_lancedb_lancedb.python.python.lancedb.integrations.pyarrow_py.PyarrowDatasetAdapter.head", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94533096_lancedb_lancedb.python.python.tests.docs.test_guide_tables_py.test_table", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._plugins.ui._impl.tables.narwhals_table_py.NarwhalsTableManager.calculate_top_k_rows", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._plugins.ui._impl.tables.narwhals_table_py.NarwhalsTableManager.get_sample_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._plugins.ui._impl.tables.test_narwhals_py.test_sort_values_with_nulls"]. |
pasteorg_paste | TestApp | public | 0 | 0 | _set_headers | def _set_headers(self, headers, environ):"""Turn any headers into environ variables"""if not headers:returnfor header, value in headers.items():if header.lower() == 'content-type':var = 'CONTENT_TYPE'elif header.lower() == 'content-length':var = 'CONTENT_LENGTH'else:var = 'HTTP_%s' % header.replace('-', '_').upper()environ[var] = value | 5 | 11 | 3 | 74 | 0 | 316 | 329 | 316 | self,headers,environ | [] | None | {"Assign": 4, "Expr": 1, "For": 1, "If": 3, "Return": 1} | 5 | 14 | 5 | ["headers.items", "header.lower", "header.lower", "upper", "header.replace"] | 0 | [] | The function (_set_headers) defined within the public class called TestApp.The function start at line 316 and ends at 329. It contains 11 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [316.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["headers.items", "header.lower", "header.lower", "upper", "header.replace"]. |
pasteorg_paste | TestApp | public | 0 | 0 | encode_multipart | def encode_multipart(self, params, files):"""Encodes a set of parameters (typically a name/value list) anda set of files (a list of (name, filename, file_body)) into atypical POST body, returning the (content_type, body)."""boundary = '----------a_BoUnDaRy%s$' % random.random()content_type = 'multipart/form-data; boundary=%s' % boundaryboundary = boundary.encode('ascii')lines = []for key, value in params:lines.append(b'--'+boundary)line = b'Content-Disposition: form-data; name="%s"' % ensure_binary(key)lines.append(line)lines.append(b'')line = ensure_binary(value)lines.append(line)for file_info in files:key, filename, value = self._get_file_info(file_info)lines.append(b'--'+boundary)line = (b'Content-Disposition: form-data; name="%s"; filename="%s"' % (ensure_binary(key), ensure_binary(filename)))lines.append(line)fcontent = mimetypes.guess_type(ensure_str(filename, 'ascii', 'ignore'))[0]line = (b'Content-Type: %s'% (fcontent.encode('ascii') if fcontent else b'application/octet-stream'))lines.append(line)lines.append(b'')lines.append(value)lines.append(b'--' + boundary + b'--')lines.append(b'')body = b'\r\n'.join(lines)return content_type, body | 4 | 28 | 3 | 225 | 0 | 331 | 364 | 331 | self,params,files | [] | Returns | {"Assign": 11, "Expr": 12, "For": 2, "Return": 1} | 22 | 34 | 22 | ["random.random", "boundary.encode", "lines.append", "ensure_binary", "lines.append", "lines.append", "ensure_binary", "lines.append", "self._get_file_info", "lines.append", "ensure_binary", "ensure_binary", "lines.append", "mimetypes.guess_type", "ensure_str", "fcontent.encode", "lines.append", "lines.append", "lines.append", "lines.append", "lines.append", "join"] | 0 | [] | The function (encode_multipart) defined within the public class called TestApp.The function start at line 331 and ends at 364. It contains 28 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [331.0], and this function return a value. It declares 22.0 functions, and It has 22.0 functions called inside which are ["random.random", "boundary.encode", "lines.append", "ensure_binary", "lines.append", "lines.append", "ensure_binary", "lines.append", "self._get_file_info", "lines.append", "ensure_binary", "ensure_binary", "lines.append", "mimetypes.guess_type", "ensure_str", "fcontent.encode", "lines.append", "lines.append", "lines.append", "lines.append", "lines.append", "join"]. |
pasteorg_paste | TestApp | public | 0 | 0 | _get_file_info | def _get_file_info(self, file_info):if len(file_info) == 2:# It only has a filenamefilename = file_info[1]if self.relative_to:filename = os.path.join(self.relative_to, filename)f = open(filename, 'rb')content = f.read()f.close()return (file_info[0], filename, content)elif len(file_info) == 3:return file_infoelse:raise ValueError("upload_files need to be a list of tuples of (fieldname, ""filename, filecontent) or (fieldname, filename); ""you gave: %r"% repr(file_info)[:100]) | 4 | 17 | 2 | 99 | 0 | 366 | 383 | 366 | self,file_info | [] | Returns | {"Assign": 4, "Expr": 1, "If": 3, "Return": 2} | 8 | 18 | 8 | ["len", "os.path.join", "open", "f.read", "f.close", "len", "ValueError", "repr"] | 0 | [] | The function (_get_file_info) defined within the public class called TestApp.The function start at line 366 and ends at 383. It contains 17 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [366.0], and this function return a value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["len", "os.path.join", "open", "f.read", "f.close", "len", "ValueError", "repr"]. |
pasteorg_paste | TestApp | public | 0 | 0 | do_request | def do_request(self, req, status):"""Executes the given request (``req``), with the expected``status``.Generally ``.get()`` and ``.post()`` are usedinstead."""if self.pre_request_hook:self.pre_request_hook(self)__tracebackhide__ = Trueif self.cookies:c = BaseCookie()for name, value in self.cookies.items():c[name] = valuehc = '; '.join(['='.join([m.key, m.value]) for m in c.values()])req.environ['HTTP_COOKIE'] = hcreq.environ['paste.testing'] = Truereq.environ['paste.testing_variables'] = {}app = lint.middleware(self.app)old_stdout = sys.stdoutout = CaptureStdout(old_stdout)try:sys.stdout = outstart_time = time.time()raise_on_wsgi_error = not req.expect_errorsraw_res = wsgilib.raw_interactive(app, req.url,raise_on_wsgi_error=raise_on_wsgi_error,**req.environ)end_time = time.time()finally:sys.stdout = old_stdoutsys.stderr.write(out.getvalue())res = self._make_response(raw_res, end_time - start_time)res.request = reqfor name, value in req.environ['paste.testing_variables'].items():if hasattr(res, name):raise ValueError("paste.testing_variables contains the variable %r, but ""the response object already has an attribute by that ""name" % name)setattr(res, name, value)if self.namespace is not None:self.namespace['res'] = resif not req.expect_errors:self._check_status(status, res)self._check_errors(res)res.cookies_set = {}for header in res.all_headers('set-cookie'):c = BaseCookie(header)for key, morsel in c.items():self.cookies[key] = morsel.valueres.cookies_set[key] = morsel.valueif self.post_request_hook:self.post_request_hook(self)if self.namespace is None:# It's annoying to return the response in doctests, as it'll# be printed, so we only return it is we couldn't assign# it anywherereturn res | 14 | 51 | 3 | 364 | 0 | 385 | 443 | 385 | self,req,status | [] | Returns | {"Assign": 23, "Expr": 7, "For": 4, "If": 7, "Return": 1, "Try": 1} | 24 | 59 | 24 | ["self.pre_request_hook", "BaseCookie", "self.cookies.items", "join", "join", "c.values", "lint.middleware", "CaptureStdout", "time.time", "wsgilib.raw_interactive", "time.time", "sys.stderr.write", "out.getvalue", "self._make_response", "items", "hasattr", "ValueError", "setattr", "self._check_status", "self._check_errors", "res.all_headers", "BaseCookie", "c.items", "self.post_request_hook"] | 10 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.docs.tests.base.test_py.DumpsWebTestApp.do_request", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_after_start", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_iter_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_makes_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_start_res", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_after_start", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_iter_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_makes_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_start_res", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_unicode_exception"] | The function (do_request) defined within the public class called TestApp.The function start at line 385 and ends at 443. It contains 51 lines of code and it has a cyclomatic complexity of 14. It takes 3 parameters, represented as [385.0], and this function return a value. It declares 24.0 functions, It has 24.0 functions called inside which are ["self.pre_request_hook", "BaseCookie", "self.cookies.items", "join", "join", "c.values", "lint.middleware", "CaptureStdout", "time.time", "wsgilib.raw_interactive", "time.time", "sys.stderr.write", "out.getvalue", "self._make_response", "items", "hasattr", "ValueError", "setattr", "self._check_status", "self._check_errors", "res.all_headers", "BaseCookie", "c.items", "self.post_request_hook"], It has 10.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.docs.tests.base.test_py.DumpsWebTestApp.do_request", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_after_start", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_iter_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_makes_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_cgitb_catcher_py.test_start_res", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_after_start", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_iter_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_makes_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_start_res", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_error_middleware_py.test_unicode_exception"]. |
pasteorg_paste | TestApp | public | 0 | 0 | _check_status | def _check_status(self, status, res):__tracebackhide__ = Trueif status == '*':returnif isinstance(status, (list, tuple)):if res.status not in status:raise AppError("Bad response: %s (not one of %s for %s)\n%s"% (res.full_status, ', '.join(map(str, status)), res.request.url, res.body))returnif status is None:if res.status >= 200 and res.status < 400:returnbody = res.bodybody = body.decode('utf8', 'xmlcharrefreplace')raise AppError("Bad response: %s (not 200 OK or 3xx redirect for %s)\n%s"% (res.full_status, res.request.url, body))if status != res.status:raise AppError("Bad response: %s (not %s)" % (res.full_status, status)) | 8 | 23 | 3 | 145 | 0 | 445 | 467 | 445 | self,status,res | [] | None | {"Assign": 3, "If": 6, "Return": 3} | 7 | 23 | 7 | ["isinstance", "AppError", "join", "map", "body.decode", "AppError", "AppError"] | 0 | [] | The function (_check_status) defined within the public class called TestApp.The function start at line 445 and ends at 467. It contains 23 lines of code and it has a cyclomatic complexity of 8. It takes 3 parameters, represented as [445.0] and does not return any value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["isinstance", "AppError", "join", "map", "body.decode", "AppError", "AppError"]. |
pasteorg_paste | TestApp | public | 0 | 0 | _check_errors | def _check_errors(self, res):if res.errors:raise AppError("Application had errors logged:\n%s" % res.errors) | 2 | 4 | 2 | 21 | 0 | 469 | 472 | 469 | self,res | [] | None | {"If": 1} | 1 | 4 | 1 | ["AppError"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69848474_vaskivskyi_ha_asusrouter.custom_components.asusrouter.config_flow_py._async_process_step"] | The function (_check_errors) defined within the public class called TestApp.The function start at line 469 and ends at 472. It contains 4 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [469.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["AppError"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69848474_vaskivskyi_ha_asusrouter.custom_components.asusrouter.config_flow_py._async_process_step"]. |
pasteorg_paste | TestApp | public | 0 | 0 | _make_response | def _make_response(self, resp, total_time):status, headers, body, errors = respreturn TestResponse(self, status, headers, body, errors,total_time) | 1 | 4 | 3 | 33 | 0 | 474 | 477 | 474 | self,resp,total_time | [] | Returns | {"Assign": 1, "Return": 1} | 1 | 4 | 1 | ["TestResponse"] | 0 | [] | The function (_make_response) defined within the public class called TestApp.The function start at line 474 and ends at 477. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [474.0], and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["TestResponse"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, actual):self.captured = io.StringIO()self.actual = actual | 1 | 3 | 2 | 21 | 0 | 481 | 483 | 481 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 481 and ends at 483. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [481.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | CaptureStdout | public | 0 | 0 | write | def write(self, s):self.captured.write(s)self.actual.write(s) | 1 | 3 | 2 | 23 | 0 | 485 | 487 | 485 | self,s | [] | None | {"Expr": 2} | 2 | 3 | 2 | ["self.captured.write", "self.actual.write"] | 501 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.gen_pickles_py.generate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.examples.crawler_py.write_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsCommand.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsReparse.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsWrapLines.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3605399_futapi_fut.fut.log_py.logger", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.spec.config_py.setup", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.unit.config_py.DescribeFromApp.it_merges_parent_Configs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_override_requirements_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_timestamps_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.testing.__init___py.requirements", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.io_py.Request._prepare_files", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.tests.importers.test_base_importer_py.test_import_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.toolbox.integrated_panel_py.ManagesIntegratedToolPanelMixin._write_integrated_tool_panel_config_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682952_cisagov_trustymail.src.trustymail.cli_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_is_backwards_compatible", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_project", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717445_kiminewt_pyshark.src.pyshark.ek_field_mapping_py._EkFieldMapping.load_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.gui.synchronize_dialog_py.SynchronizeDialog.start_synchronization", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.pngsuite_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_L2", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_LA", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923090_astropy_sphinx_automodapi.sphinx_automodapi.tests.__init___py.cython_testpackage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923947_luispedro_jug.jug.backends.encode_py.encode_to", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3952372_thebjorn_pydeps.tests.filemaker_py.Filemaker.make_file"] | The function (write) defined within the public class called CaptureStdout.The function start at line 485 and ends at 487. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [485.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.captured.write", "self.actual.write"], It has 501.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.gen_pickles_py.generate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.examples.crawler_py.write_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsCommand.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsReparse.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsWrapLines.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3605399_futapi_fut.fut.log_py.logger", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.spec.config_py.setup", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.unit.config_py.DescribeFromApp.it_merges_parent_Configs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_override_requirements_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_timestamps_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.testing.__init___py.requirements", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.io_py.Request._prepare_files", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.tests.importers.test_base_importer_py.test_import_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.toolbox.integrated_panel_py.ManagesIntegratedToolPanelMixin._write_integrated_tool_panel_config_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682952_cisagov_trustymail.src.trustymail.cli_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_is_backwards_compatible", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_project", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717445_kiminewt_pyshark.src.pyshark.ek_field_mapping_py._EkFieldMapping.load_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.gui.synchronize_dialog_py.SynchronizeDialog.start_synchronization", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.pngsuite_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_L2", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_LA", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923090_astropy_sphinx_automodapi.sphinx_automodapi.tests.__init___py.cython_testpackage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923947_luispedro_jug.jug.backends.encode_py.encode_to", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3952372_thebjorn_pydeps.tests.filemaker_py.Filemaker.make_file"]. |
pasteorg_paste | CaptureStdout | public | 0 | 0 | flush | def flush(self):self.actual.flush() | 1 | 2 | 1 | 12 | 0 | 489 | 490 | 489 | self | [] | None | {"Expr": 1} | 1 | 2 | 1 | ["self.actual.flush"] | 9 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625987_abdur_rahmaanj_honeybot.honeybot.plugins.poker_assets.best5_py.hand_rank", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675065_rouxrc_gazouilleur.gazouilleur.lib.filelogger_py.FileLogger.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.objectstore.__init___py._create_object_in_session", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.property_py.FieldProperty._get_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.text_py._merge_original_parts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.emfit.__init___py.pre_dataframe", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.connectivity.import__py.CsvImportConnectivity.parse_source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._runtime.output._output_py.remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95159979_LifeActor_ykdl.ykdl.extractors.le_py.Letv.prepare"] | The function (flush) defined within the public class called CaptureStdout.The function start at line 489 and ends at 490. 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.actual.flush"], It has 9.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625987_abdur_rahmaanj_honeybot.honeybot.plugins.poker_assets.best5_py.hand_rank", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675065_rouxrc_gazouilleur.gazouilleur.lib.filelogger_py.FileLogger.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.objectstore.__init___py._create_object_in_session", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.property_py.FieldProperty._get_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.text_py._merge_original_parts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.emfit.__init___py.pre_dataframe", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.connectivity.import__py.CsvImportConnectivity.parse_source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._runtime.output._output_py.remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95159979_LifeActor_ykdl.ykdl.extractors.le_py.Letv.prepare"]. |
pasteorg_paste | CaptureStdout | public | 0 | 0 | writelines | def writelines(self, lines):for item in lines:self.write(item) | 2 | 3 | 2 | 18 | 0 | 492 | 494 | 492 | self,lines | [] | None | {"Expr": 1, "For": 1} | 1 | 3 | 1 | ["self.write"] | 0 | [] | The function (writelines) defined within the public class called CaptureStdout.The function start at line 492 and ends at 494. It contains 3 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [492.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self.write"]. |
pasteorg_paste | CaptureStdout | public | 0 | 0 | getvalue | def getvalue(self):return self.captured.getvalue() | 1 | 2 | 1 | 13 | 0 | 496 | 497 | 496 | self | [] | Returns | {"Return": 1} | 1 | 2 | 1 | ["self.captured.getvalue"] | 11 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.yaml.__init___py.dump_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.yaml.__init___py.emit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.yaml.__init___py.serialize_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.contrib.client.requests_py.Client.request", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v2_0.test_io_py.ResponseTestCase.test_raw_in_utf8", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3663017_jessevdk_cldoc.cldoc.fs_py.Virtual.open", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3709461_jupyter_jupyter_console.jupyter_console.tests.test_image_handler_py.ZMQTerminalInteractiveShellTestCase.test_handle_image_PIL", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._plugins.stateless.test_image_py.test_image_constructor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._runtime.test_capture_py.test_capture_both", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._runtime.test_capture_py.test_capture_stderr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._runtime.test_capture_py.test_capture_stdout"] | The function (getvalue) defined within the public class called CaptureStdout.The function start at line 496 and ends at 497. 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.captured.getvalue"], It has 11.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.yaml.__init___py.dump_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.yaml.__init___py.emit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.yaml.__init___py.serialize_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.contrib.client.requests_py.Client.request", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v2_0.test_io_py.ResponseTestCase.test_raw_in_utf8", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3663017_jessevdk_cldoc.cldoc.fs_py.Virtual.open", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3709461_jupyter_jupyter_console.jupyter_console.tests.test_image_handler_py.ZMQTerminalInteractiveShellTestCase.test_handle_image_PIL", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._plugins.stateless.test_image_py.test_image_constructor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._runtime.test_capture_py.test_capture_both", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._runtime.test_capture_py.test_capture_stderr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._runtime.test_capture_py.test_capture_stdout"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, test_app, status, headers, body, errors, total_time):self.test_app = test_appself.status = int(status.split()[0])self.full_status = statusself.headers = headersself.header_dict = HeaderDict.fromlist(self.headers)self.body = bodyself.errors = errorsself._normal_body = Noneself.time = total_timeself._forms_indexed = None | 1 | 12 | 7 | 84 | 0 | 509 | 520 | 509 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 509 and ends at 520. It contains 12 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [509.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | forms__get | def forms__get(self):"""Returns a dictionary of ``Form`` objects.Indexes are both inorder (from zero) and by form id (if the form is given an id)."""if self._forms_indexed is None:self._parse_forms()return self._forms_indexed | 2 | 4 | 1 | 22 | 0 | 522 | 529 | 522 | self | [] | Returns | {"Expr": 2, "If": 1, "Return": 1} | 1 | 8 | 1 | ["self._parse_forms"] | 0 | [] | The function (forms__get) defined within the public class called TestResponse.The function start at line 522 and ends at 529. It contains 4 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["self._parse_forms"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | form__get | def form__get(self):forms = self.formsif not forms:raise TypeError("You used response.form, but no forms exist")if 1 in forms:# There is more than one formraise TypeError("You used response.form, but more than one form exists")return forms[0] | 3 | 9 | 1 | 34 | 0 | 537 | 546 | 537 | self | [] | Returns | {"Assign": 1, "If": 2, "Return": 1} | 2 | 10 | 2 | ["TypeError", "TypeError"] | 0 | [] | The function (form__get) defined within the public class called TestResponse.The function start at line 537 and ends at 546. It contains 9 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 2.0 functions, and It has 2.0 functions called inside which are ["TypeError", "TypeError"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | _parse_forms | def _parse_forms(self):forms = self._forms_indexed = {}form_texts = []started = Nonebody = self.bodybody = body.decode('utf8', 'xmlcharrefreplace')for match in self._tag_re.finditer(body):end = match.group(1) == '/'tag = match.group(2).lower()if tag != 'form':continueif end:assert started, ("</form> unexpected at %s" % match.start())form_texts.append(body[started:match.end()])started = Noneelse:assert not started, ("Nested form tags at %s" % match.start())started = match.start()assert not started, ("Dangling form: %r" % body[started:])for i, text in enumerate(form_texts):form = Form(self, text)forms[i] = formif form.id:forms[form.id] = form | 6 | 27 | 1 | 180 | 0 | 558 | 584 | 558 | self | [] | None | {"Assign": 12, "Expr": 1, "For": 2, "If": 3} | 12 | 27 | 12 | ["body.decode", "self._tag_re.finditer", "match.group", "lower", "match.group", "match.start", "form_texts.append", "match.end", "match.start", "match.start", "enumerate", "Form"] | 0 | [] | The function (_parse_forms) defined within the public class called TestResponse.The function start at line 558 and ends at 584. It contains 27 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 12.0 functions, and It has 12.0 functions called inside which are ["body.decode", "self._tag_re.finditer", "match.group", "lower", "match.group", "match.start", "form_texts.append", "match.end", "match.start", "match.start", "enumerate", "Form"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | header | def header(self, name, default=NO_DEFAULT):"""Returns the named header; an error if there is not exactly onematching header (unless you give a default -- always an errorif there is more than one header)"""found = Nonefor cur_name, value in self.headers:if cur_name.lower() == name.lower():assert not found, ("Ambiguous header: %s matches %r and %r"% (name, found, value))found = valueif found is None:if default is NO_DEFAULT:raise KeyError("No header found: %r (from %s)"% (name, ', '.join([n for n, v in self.headers])))else:return defaultreturn found | 6 | 16 | 3 | 97 | 0 | 586 | 606 | 586 | self,name,default | [] | Returns | {"Assign": 2, "Expr": 1, "For": 1, "If": 3, "Return": 2} | 4 | 21 | 4 | ["cur_name.lower", "name.lower", "KeyError", "join"] | 2 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258536_basetenlabs_truss.truss.remote.baseten.service_py.BasetenService.authenticate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258536_basetenlabs_truss.truss_chains.truss_chains.deployment.deployment_client_py.BasetenChainService.run_remote"] | The function (header) defined within the public class called TestResponse.The function start at line 586 and ends at 606. It contains 16 lines of code and it has a cyclomatic complexity of 6. It takes 3 parameters, represented as [586.0], and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["cur_name.lower", "name.lower", "KeyError", "join"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258536_basetenlabs_truss.truss.remote.baseten.service_py.BasetenService.authenticate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258536_basetenlabs_truss.truss_chains.truss_chains.deployment.deployment_client_py.BasetenChainService.run_remote"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | all_headers | def all_headers(self, name):"""Gets all headers by the ``name``, returns as a list"""found = []for cur_name, value in self.headers:if cur_name.lower() == name.lower():found.append(value)return found | 3 | 6 | 2 | 42 | 0 | 608 | 616 | 608 | self,name | [] | Returns | {"Assign": 1, "Expr": 2, "For": 1, "If": 1, "Return": 1} | 3 | 9 | 3 | ["cur_name.lower", "name.lower", "found.append"] | 0 | [] | The function (all_headers) defined within the public class called TestResponse.The function start at line 608 and ends at 616. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [608.0], and this function return a value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["cur_name.lower", "name.lower", "found.append"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | follow | def follow(self, **kw):"""If this request is a redirect, follow that redirect.Itis an error if this is not a redirect response.Returnsanother response object."""assert self.status >= 300 and self.status < 400, ("You can only follow redirect responses (not %s)"% self.full_status)location = self.header('location')# @@: We should test that it's not a remote redirectreturn self.test_app.get(location, **kw) | 2 | 6 | 2 | 49 | 0 | 618 | 629 | 618 | self,**kw | [] | Returns | {"Assign": 1, "Expr": 1, "Return": 1} | 2 | 12 | 2 | ["self.header", "self.test_app.get"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.run"] | The function (follow) defined within the public class called TestResponse.The function start at line 618 and ends at 629. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [618.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.header", "self.test_app.get"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.run"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | click | def click(self, description=None, linkid=None, href=None,anchor=None, index=None, verbose=False):"""Click the link as described.Each of ``description``,``linkid``, and ``url`` are *patterns*, meaning that they areeither strings (regular expressions), compiled regularexpressions (objects with a ``search`` method), or callablesreturning true or false.All the given patterns are ANDed together:* ``description`` is a pattern that matches the contents of theanchor (HTML and all -- everything between ``<a...>`` and``</a>``)* ``linkid`` is a pattern that matches the ``id`` attribute ofthe anchor.It will receive the empty string if no id isgiven.* ``href`` is a pattern that matches the ``href`` of the anchor;the literal content of that attribute, not the fully qualifiedattribute.* ``anchor`` is a pattern that matches the entire anchor, withits contents.If more than one link matches, then the ``index`` link isfollowed.If ``index`` is not given and more than one linkmatches, or if no link matches, then ``IndexError`` will beraised.If you give ``verbose`` then messages will be printed abouteach link, and why it does or doesn't match.If you use``app.click(verbose=True)`` you'll see a list of all thelinks.You can use multiple criteria to essentially assert multipleaspects about the link, e.g., where the link's destination is."""__tracebackhide__ = Truefound_html, found_desc, found_attrs = self._find_element(tag='a', href_attr='href',href_extract=None,content=description,id=linkid,href_pattern=href,html_pattern=anchor,index=index, verbose=verbose)return self.goto(found_attrs['uri']) | 1 | 12 | 7 | 89 | 0 | 631 | 679 | 631 | self,description,linkid,href,anchor,index,verbose | [] | Returns | {"Assign": 2, "Expr": 1, "Return": 1} | 2 | 49 | 2 | ["self._find_element", "self.goto"] | 38 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tests.test_js_py.TestJS.test_encoding_widget_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.login", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.login_and_confirm", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.profile_poc_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.profile_tutor_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.workshop_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_add_org_member_flow_py.test_add_existing_member_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_add_org_member_flow_py.test_add_new_member_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_contact_page_py.test_contact_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_edit_profile_py.test_signup_college_poc_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_edit_profile_py.test_signup_tutor_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_forgot_password_flow_py.test_forgot_password_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_organsisation_flow_py.test_org_edit_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_organsisation_flow_py.test_organisation_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_partner_page_py.test_partner_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_regional_lead_flow_py.test_regional_lead_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_reports_py.test_report_home_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_reports_py.test_report_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_user_flow_py.test_signup_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.workshop.test_create_workshop_py.test_workshop_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.workshop.test_workshop_flow_py.test_workshop_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.workshop.test_workshop_flow_py.test_workshop_wrong_action", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.utils_py.create_user_verify_login", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918872_qubesos_qubes_app_linux_split_gpg.tests.test_thunderbird_py.configure_openpgp_account", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918872_qubesos_qubes_app_linux_split_gpg.tests.test_thunderbird_py.receive_message"] | The function (click) defined within the public class called TestResponse.The function start at line 631 and ends at 679. It contains 12 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [631.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self._find_element", "self.goto"], It has 38.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tests.test_js_py.TestJS.test_encoding_widget_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.login", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.login_and_confirm", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.profile_poc_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.profile_tutor_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.base_py.workshop_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_add_org_member_flow_py.test_add_existing_member_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_add_org_member_flow_py.test_add_new_member_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_contact_page_py.test_contact_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_edit_profile_py.test_signup_college_poc_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_edit_profile_py.test_signup_tutor_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_forgot_password_flow_py.test_forgot_password_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_organsisation_flow_py.test_org_edit_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_organsisation_flow_py.test_organisation_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_partner_page_py.test_partner_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_regional_lead_flow_py.test_regional_lead_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_reports_py.test_report_home_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_reports_py.test_report_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.test_user_flow_py.test_signup_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.workshop.test_create_workshop_py.test_workshop_create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.workshop.test_workshop_flow_py.test_workshop_flow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.functional.workshop.test_workshop_flow_py.test_workshop_wrong_action", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3694126_pythonindia_wye.tests.utils_py.create_user_verify_login", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918872_qubesos_qubes_app_linux_split_gpg.tests.test_thunderbird_py.configure_openpgp_account", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918872_qubesos_qubes_app_linux_split_gpg.tests.test_thunderbird_py.receive_message"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | clickbutton | def clickbutton(self, description=None, buttonid=None, href=None,button=None, index=None, verbose=False):"""Like ``.click()``, except looks for link-like buttons.This kind of button should look like``<button onclick="...location.href='url'...">``."""__tracebackhide__ = Truefound_html, found_desc, found_attrs = self._find_element(tag='button', href_attr='onclick',href_extract=re.compile(r"location\.href='(.*?)'"),content=description,id=buttonid,href_pattern=href,html_pattern=button,index=index, verbose=verbose)return self.goto(found_attrs['uri']) | 1 | 12 | 7 | 95 | 0 | 681 | 697 | 681 | self,description,buttonid,href,button,index,verbose | [] | Returns | {"Assign": 2, "Expr": 1, "Return": 1} | 3 | 17 | 3 | ["self._find_element", "re.compile", "self.goto"] | 0 | [] | The function (clickbutton) defined within the public class called TestResponse.The function start at line 681 and ends at 697. It contains 12 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [681.0], and this function return a value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["self._find_element", "re.compile", "self.goto"]. |
pasteorg_paste | public | public | 0 | 0 | _find_element.printlog | def printlog(s):if verbose:print(s) | 2 | 3 | 1 | 12 | 0 | 712 | 714 | 712 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (_find_element.printlog) defined within the public class called public.The function start at line 712 and ends at 714. 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.. |
pasteorg_paste | TestResponse | public | 0 | 0 | _find_element | def _find_element(self, tag, href_attr, href_extract,content, id,href_pattern,html_pattern,index, verbose):content_pat = _make_pattern(content)id_pat = _make_pattern(id)href_pat = _make_pattern(href_pattern)html_pat = _make_pattern(html_pattern)_tag_re = re.compile(r'<%s\s+(.*?)>(.*?)</%s>' % (tag, tag), re.I+re.S)def printlog(s):if verbose:print(s)found_links = []total_links = 0for match in _tag_re.finditer(self.body):el_html = match.group(0)el_attr = match.group(1)el_content = match.group(2)attrs = _parse_attrs(el_attr)if verbose:printlog('Element: %r' % el_html)if not attrs.get(href_attr):printlog('Skipped: no %s attribute' % href_attr)continueel_href = attrs[href_attr]if href_extract:m = href_extract.search(el_href)if not m:printlog("Skipped: doesn't match extract pattern")continueel_href = m.group(1)attrs['uri'] = el_hrefif el_href.startswith('#'):printlog('Skipped: only internal fragment href')continueif el_href.startswith('javascript:'):printlog('Skipped: cannot follow javascript:')continuetotal_links += 1if content_pat and not content_pat(el_content):printlog("Skipped: doesn't match description")continueif id_pat and not id_pat(attrs.get('id', '')):printlog("Skipped: doesn't match id")continueif href_pat and not href_pat(el_href):printlog("Skipped: doesn't match href")continueif html_pat and not html_pat(el_html):printlog("Skipped: doesn't match html")continueprintlog("Accepted")found_links.append((el_html, el_content, attrs))if not found_links:raise IndexError("No matching elements found (from %s possible)"% total_links)if index is None:if len(found_links) > 1:raise IndexError("Multiple links match: %s"% ', '.join([repr(anc) for anc, d, attr in found_links]))found_link = found_links[0]else:try:found_link = found_links[index]except IndexError:raise IndexError("Only %s (out of %s) links match; index %s out of range"% (len(found_links), total_links, index))return found_link | 21 | 71 | 10 | 380 | 0 | 699 | 774 | 699 | self,tag,href_attr,href_extract,content,id,href_pattern,html_pattern,index,verbose | [] | Returns | {"Assign": 17, "AugAssign": 1, "Expr": 12, "For": 1, "If": 14, "Return": 1, "Try": 1} | 39 | 76 | 39 | ["_make_pattern", "_make_pattern", "_make_pattern", "_make_pattern", "re.compile", "print", "_tag_re.finditer", "match.group", "match.group", "match.group", "_parse_attrs", "printlog", "attrs.get", "printlog", "href_extract.search", "printlog", "m.group", "el_href.startswith", "printlog", "el_href.startswith", "printlog", "content_pat", "printlog", "id_pat", "attrs.get", "printlog", "href_pat", "printlog", "html_pat", "printlog", "printlog", "found_links.append", "IndexError", "len", "IndexError", "join", "repr", "IndexError", "len"] | 0 | [] | The function (_find_element) defined within the public class called TestResponse.The function start at line 699 and ends at 774. It contains 71 lines of code and it has a cyclomatic complexity of 21. It takes 10 parameters, represented as [699.0], and this function return a value. It declares 39.0 functions, and It has 39.0 functions called inside which are ["_make_pattern", "_make_pattern", "_make_pattern", "_make_pattern", "re.compile", "print", "_tag_re.finditer", "match.group", "match.group", "match.group", "_parse_attrs", "printlog", "attrs.get", "printlog", "href_extract.search", "printlog", "m.group", "el_href.startswith", "printlog", "el_href.startswith", "printlog", "content_pat", "printlog", "id_pat", "attrs.get", "printlog", "href_pat", "printlog", "html_pat", "printlog", "printlog", "found_links.append", "IndexError", "len", "IndexError", "join", "repr", "IndexError", "len"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | goto | def goto(self, href, method='get', **args):"""Go to the (potentially relative) link ``href``, using thegiven method (``'get'`` or ``'post'``) and any extra argumentsyou want to pass to the ``app.get()`` or ``app.post()``methods.All hostnames and schemes will be ignored."""scheme, host, path, query, fragment = urlparse.urlsplit(href)# Wescheme = host = fragment = ''href = urlparse.urlunsplit((scheme, host, path, query, fragment))href = urlparse.urljoin(self.request.full_url, href)method = method.lower()assert method in ('get', 'post'), ('Only "get" or "post" are allowed for method (you gave %r)'% method)if method == 'get':method = self.test_app.getelse:method = self.test_app.postreturn method(href, **args) | 2 | 14 | 4 | 120 | 0 | 776 | 798 | 776 | self,href,method,**args | [] | Returns | {"Assign": 7, "Expr": 1, "If": 1, "Return": 1} | 5 | 23 | 5 | ["urlparse.urlsplit", "urlparse.urlunsplit", "urlparse.urljoin", "method.lower", "method"] | 0 | [] | The function (goto) defined within the public class called TestResponse.The function start at line 776 and ends at 798. It contains 14 lines of code and it has a cyclomatic complexity of 2. It takes 4 parameters, represented as [776.0], and this function return a value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["urlparse.urlsplit", "urlparse.urlunsplit", "urlparse.urljoin", "method.lower", "method"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | normal_body__get | def normal_body__get(self):if self._normal_body is None:self._normal_body = self._normal_body_regex.sub(b' ', self.body)return self._normal_body | 2 | 5 | 1 | 33 | 0 | 802 | 806 | 802 | self | [] | Returns | {"Assign": 1, "If": 1, "Return": 1} | 1 | 5 | 1 | ["self._normal_body_regex.sub"] | 0 | [] | The function (normal_body__get) defined within the public class called TestResponse.The function start at line 802 and ends at 806. It contains 5 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["self._normal_body_regex.sub"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __contains__ | def __contains__(self, s):"""A response 'contains' a string if it is present in the bodyof the response.Whitespace is normalized when searchingfor a string."""if not isinstance(s, (bytes, str)):s = str(s)if isinstance(s, str):## FIXME: we don't know that this response uses utf8:s = s.encode('utf8')return (self.body.find(s) != -1or self.normal_body.find(s) != -1) | 4 | 7 | 2 | 69 | 0 | 813 | 825 | 813 | self,s | [] | Returns | {"Assign": 2, "Expr": 1, "If": 2, "Return": 1} | 6 | 13 | 6 | ["isinstance", "str", "isinstance", "s.encode", "self.body.find", "self.normal_body.find"] | 10 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3627162_cinpla_exdir.exdir.core.exdir_file_py.File.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692721_yelp_bravado_core.bravado_core.util_py.AliasKeyDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.has_key", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Channels.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Players.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.covalent_ui.api.v1.data_layer.logs_dal_py.Logs.get_logs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.tests.covalent_tests.workflow.postprocessing_test_py.test_add_reconstruct_postprocess_node", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.AnnotationSet.__contains__"] | The function (__contains__) defined within the public class called TestResponse.The function start at line 813 and ends at 825. It contains 7 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [813.0], and this function return a value. It declares 6.0 functions, It has 6.0 functions called inside which are ["isinstance", "str", "isinstance", "s.encode", "self.body.find", "self.normal_body.find"], It has 10.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3627162_cinpla_exdir.exdir.core.exdir_file_py.File.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692721_yelp_bravado_core.bravado_core.util_py.AliasKeyDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.has_key", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Channels.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Players.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.covalent_ui.api.v1.data_layer.logs_dal_py.Logs.get_logs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.tests.covalent_tests.workflow.postprocessing_test_py.test_add_reconstruct_postprocess_node", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.AnnotationSet.__contains__"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | mustcontain | def mustcontain(self, *strings, **kw):"""Assert that the response contains all of the strings passedin as arguments.Equivalent to::assert string in res"""if 'no' in kw:no = kw['no']del kw['no']if isinstance(no, (bytes, str)):no = [no]else:no = []if kw:raise TypeError("The only keyword argument allowed is 'no'")for s in strings:if not s in self:print("Actual response (no %r):" % s, file=sys.stderr)print(self, file=sys.stderr)raise IndexError("Body does not contain string %r" % s)for no_s in no:if no_s in self:print("Actual response (has %r)" % no_s, file=sys.stderr)print(self, file=sys.stderr)raise IndexError("Body contains string %r" % no_s) | 8 | 23 | 3 | 138 | 0 | 827 | 857 | 827 | self,*strings,**kw | [] | None | {"Assign": 3, "Expr": 5, "For": 2, "If": 5} | 8 | 31 | 8 | ["isinstance", "TypeError", "print", "print", "IndexError", "print", "print", "IndexError"] | 0 | [] | The function (mustcontain) defined within the public class called TestResponse.The function start at line 827 and ends at 857. It contains 23 lines of code and it has a cyclomatic complexity of 8. It takes 3 parameters, represented as [827.0] and does not return any value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["isinstance", "TypeError", "print", "print", "IndexError", "print", "print", "IndexError"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __repr__ | def __repr__(self):body = self.bodybody = body.decode('utf8', 'xmlcharrefreplace')body = body[:20]return '<Response %s %r>' % (self.full_status, body) | 1 | 5 | 1 | 37 | 0 | 859 | 863 | 859 | self | [] | Returns | {"Assign": 3, "Return": 1} | 1 | 5 | 1 | ["body.decode"] | 29 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v1_2.test_app_py.AppTestCase.test_ref", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Object.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712456_stefanfoulis_django_phonenumber_field.phonenumber_field.phonenumber_py.PhoneNumber.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Number.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Reagent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953196_wangzheng0822_algo.python.28_heap.heap_py.Heap.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967182_asarnow_pyem.pyem.util.util_py.chimera_xform2str", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.cnf_py.Contraction.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.contingent_problem_py.ContingentProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.htn.hierarchical_problem_py.HierarchicalProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.score_py.Score.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.__init___py.BlitzObjectWrapper.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.util.concurrency_py.AtExitEvent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero_ext.path_py.path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.contracts.vyper.decoder_utils_py._Struct.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.abi_py.Address.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70391654_fkie_cad_logprep.logprep.processor.base.rule_py.Rule.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fd_models_py.test_model_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fit_py.test_fit_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.ObjectSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.session.session_py.SessionSet.__repr__"] | The function (__repr__) defined within the public class called TestResponse.The function start at line 859 and ends at 863. It contains 5 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 ["body.decode"], It has 29.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v1_2.test_app_py.AppTestCase.test_ref", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Object.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712456_stefanfoulis_django_phonenumber_field.phonenumber_field.phonenumber_py.PhoneNumber.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Number.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Reagent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953196_wangzheng0822_algo.python.28_heap.heap_py.Heap.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967182_asarnow_pyem.pyem.util.util_py.chimera_xform2str", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.cnf_py.Contraction.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.contingent_problem_py.ContingentProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.htn.hierarchical_problem_py.HierarchicalProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.score_py.Score.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.__init___py.BlitzObjectWrapper.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.util.concurrency_py.AtExitEvent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero_ext.path_py.path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.contracts.vyper.decoder_utils_py._Struct.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.abi_py.Address.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70391654_fkie_cad_logprep.logprep.processor.base.rule_py.Rule.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fd_models_py.test_model_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fit_py.test_fit_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.ObjectSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.session.session_py.SessionSet.__repr__"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __str__ | def __str__(self):simple_body = b'\n'.join([l for l in self.body.splitlines() if l.strip()])simple_body = simple_body.decode('utf8', 'xmlcharrefreplace')return 'Response: %s\n%s\n%s' % (self.status,'\n'.join(['%s: %s' % (n, v) for n, v in self.headers]),simple_body) | 4 | 8 | 1 | 75 | 0 | 865 | 872 | 865 | self | [] | Returns | {"Assign": 2, "Return": 1} | 5 | 8 | 5 | ["join", "self.body.splitlines", "l.strip", "simple_body.decode", "join"] | 64 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.ipam_py.Vlans.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.tm.session_py.DynectSession.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3698222_fgnt_pb_bss.pb_bss.evaluation.wrapper_py.VerboseKeyError.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.ir_py.Heat.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitChemicalType", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitLiteral", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTemperatureIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTimeIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitVariable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDetect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDispense", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMethodCall", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitSplit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFunctionDeclaration"] | The function (__str__) defined within the public class called TestResponse.The function start at line 865 and ends at 872. It contains 8 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters, and this function return a value. It declares 5.0 functions, It has 5.0 functions called inside which are ["join", "self.body.splitlines", "l.strip", "simple_body.decode", "join"], It has 64.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.ipam_py.Vlans.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.tm.session_py.DynectSession.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3698222_fgnt_pb_bss.pb_bss.evaluation.wrapper_py.VerboseKeyError.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.ir_py.Heat.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitChemicalType", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitLiteral", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTemperatureIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTimeIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitVariable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDetect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDispense", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMethodCall", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitSplit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFunctionDeclaration"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | showbrowser | def showbrowser(self):"""Show this response in a browser window (for debugging purposes,when it's hard to read the HTML)."""import webbrowserfn = tempnam_no_warning(None, 'paste-fixture') + '.html'f = open(fn, 'wb')f.write(self.body)f.close()url = 'file:' + fn.replace(os.sep, '/')webbrowser.open_new(url) | 1 | 8 | 1 | 59 | 0 | 874 | 885 | 874 | self | [] | None | {"Assign": 3, "Expr": 4} | 6 | 12 | 6 | ["tempnam_no_warning", "open", "f.write", "f.close", "fn.replace", "webbrowser.open_new"] | 0 | [] | The function (showbrowser) defined within the public class called TestResponse.The function start at line 874 and ends at 885. 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 ["tempnam_no_warning", "open", "f.write", "f.close", "fn.replace", "webbrowser.open_new"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, url, environ, expect_errors=False):if url.startswith('http://localhost'):url = url[len('http://localhost'):]self.url = urlself.environ = environif environ.get('QUERY_STRING'):self.full_url = url + '?' + environ['QUERY_STRING']else:self.full_url = urlself.expect_errors = expect_errors | 3 | 10 | 4 | 73 | 0 | 913 | 922 | 913 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 913 and ends at 922. It contains 10 lines of code and it has a cyclomatic complexity of 3. It takes 4 parameters, represented as [913.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, response, text):self.response = responseself.text = textself._parse_fields()self._parse_action() | 1 | 5 | 3 | 29 | 0 | 954 | 958 | 954 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 954 and ends at 958. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [954.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | Form | public | 0 | 0 | _parse_fields | def _parse_fields(self):in_select = Nonein_textarea = Nonefields = {}text = self.textfor match in self._tag_re.finditer(text):end = match.group(1) == b'/'tag = match.group(2).lower()if tag not in ('input', 'select', 'option', 'textarea', 'button'):continueif tag == 'select' and end:assert in_select, ('%r without starting select' % match.group(0))in_select = Nonecontinueif tag == 'textarea' and end:assert in_textarea, ("</textarea> with no <textarea> at %s" % match.start())in_textarea[0].value = html_unquote(self.text[in_textarea[1]:match.start()])in_textarea = Nonecontinueif end:continueattrs = _parse_attrs(match.group(3))if 'name' in attrs:name = attrs.pop('name')else:name = Noneif tag == 'option':in_select.options.append((attrs.get('value'),'selected' in attrs))continueif tag == 'input' and attrs.get('type') == 'radio':field = fields.get(name)if not field:field = Radio(self, tag, name, match.start(), **attrs)fields.setdefault(name, []).append(field)else:field = field[0]assert isinstance(field, Radio)field.options.append((attrs.get('value'),'checked' in attrs))continuetag_type = tagif tag == 'input':tag_type = attrs.get('type', 'text').lower()FieldClass = Field.classes.get(tag_type, Field)field = FieldClass(self, tag, name, match.start(), **attrs)if tag == 'textarea':assert not in_textarea, ("Nested textareas: %r and %r"% (in_textarea, match.group(0)))in_textarea = field, match.end()elif tag == 'select':assert not in_select, ("Nested selects: %r and %r"% (in_select, match.group(0)))in_select = fieldfields.setdefault(name, []).append(field)self.fields = fields | 16 | 61 | 1 | 426 | 0 | 960 | 1,020 | 960 | self | [] | None | {"Assign": 22, "Expr": 4, "For": 1, "If": 11} | 32 | 61 | 32 | ["self._tag_re.finditer", "match.group", "lower", "match.group", "match.group", "match.start", "html_unquote", "match.start", "_parse_attrs", "match.group", "attrs.pop", "in_select.options.append", "attrs.get", "attrs.get", "fields.get", "Radio", "match.start", "append", "fields.setdefault", "isinstance", "field.options.append", "attrs.get", "lower", "attrs.get", "Field.classes.get", "FieldClass", "match.start", "match.group", "match.end", "match.group", "append", "fields.setdefault"] | 0 | [] | The function (_parse_fields) defined within the public class called Form.The function start at line 960 and ends at 1020. It contains 61 lines of code and it has a cyclomatic complexity of 16. The function does not take any parameters and does not return any value. It declares 32.0 functions, and It has 32.0 functions called inside which are ["self._tag_re.finditer", "match.group", "lower", "match.group", "match.group", "match.start", "html_unquote", "match.start", "_parse_attrs", "match.group", "attrs.pop", "in_select.options.append", "attrs.get", "attrs.get", "fields.get", "Radio", "match.start", "append", "fields.setdefault", "isinstance", "field.options.append", "attrs.get", "lower", "attrs.get", "Field.classes.get", "FieldClass", "match.start", "match.group", "match.end", "match.group", "append", "fields.setdefault"]. |
pasteorg_paste | Form | public | 0 | 0 | _parse_action | def _parse_action(self):self.action = Nonetext = self.textfor match in self._tag_re.finditer(text):end = match.group(1) == '/'tag = match.group(2).lower()if tag != 'form':continueif end:breakattrs = _parse_attrs(match.group(3))self.action = attrs.get('action', '')self.method = attrs.get('method', 'GET')self.id = attrs.get('id')# @@: enctype?else:assert 0, "No </form> tag found"assert self.action is not None, ("No <form> tag found") | 4 | 18 | 1 | 121 | 0 | 1,022 | 1,040 | 1,022 | self | [] | None | {"Assign": 8, "For": 1, "If": 2} | 9 | 19 | 9 | ["self._tag_re.finditer", "match.group", "lower", "match.group", "_parse_attrs", "match.group", "attrs.get", "attrs.get", "attrs.get"] | 0 | [] | The function (_parse_action) defined within the public class called Form.The function start at line 1022 and ends at 1040. It contains 18 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 9.0 functions, and It has 9.0 functions called inside which are ["self._tag_re.finditer", "match.group", "lower", "match.group", "_parse_attrs", "match.group", "attrs.get", "attrs.get", "attrs.get"]. |
pasteorg_paste | Form | public | 0 | 0 | __setitem__ | def __setitem__(self, name, value):"""Set the value of the named field.If there is 0 or multiplefields by that name, it is an error.Setting the value of a ``<select>`` selects the given option(and confirms it is an option).Setting radio fields does thesame.Checkboxes get boolean values.You cannot set hiddenfields or buttons.Use ``.set()`` if there is any ambiguity and you must providean index."""fields = self.fields.get(name)assert fields is not None, ("No field by the name %r found (fields: %s)"% (name, ', '.join(map(repr, self.fields.keys()))))assert len(fields) == 1, ("Multiple fields match %r: %s"% (name, ', '.join(map(repr, fields))))fields[0].value = value | 1 | 9 | 3 | 86 | 0 | 1,042 | 1,062 | 1,042 | self,name,value | [] | None | {"Assign": 2, "Expr": 1} | 7 | 21 | 7 | ["self.fields.get", "join", "map", "self.fields.keys", "len", "join", "map"] | 33 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.mm.utils_py.APIDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.BaseForeignList.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.test.validate.test_validate_experiment_py.TestValidateExperiment.test_invalid_experiment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.test.validate.test_validate_experiment_py.TestValidateExperiment.test_valid_experiment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689643_etingof_pysnmp.pysnmp.smi.indices_py.OrderedDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.icollection_py.InstrumentedList.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.icollection_py.InstrumentedObj.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.resource_py._VolumeDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3929084_ralphbean_taskw.taskw.task_py.Task.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.meta.comp_mutable_dict_py.CompoundMutableDict.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.meta.comp_mutable_dict_py.CompoundMutableDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.models.compound.tasks.batch_by_py.BatchBy.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.models.compound.tasks.batch_by_py.BatchBy.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3984106_jupyter_nbformat.nbformat.notebooknode_py.NotebookNode.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.arborize.arborize.definitions_py.default_ions_dict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.arborize.arborize.definitions_py.mechdict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nmodl_glia.glia.assets_py._ModList.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfgdict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfglist.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.lex_py.LexerMetaDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.yacc_py.ParserMetaDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.lrudict_py.lrudict.__getitem__"] | The function (__setitem__) defined within the public class called Form.The function start at line 1042 and ends at 1062. It contains 9 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1042.0] and does not return any value. It declares 7.0 functions, It has 7.0 functions called inside which are ["self.fields.get", "join", "map", "self.fields.keys", "len", "join", "map"], It has 33.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.mm.utils_py.APIDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.BaseForeignList.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.test.validate.test_validate_experiment_py.TestValidateExperiment.test_invalid_experiment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.test.validate.test_validate_experiment_py.TestValidateExperiment.test_valid_experiment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689643_etingof_pysnmp.pysnmp.smi.indices_py.OrderedDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.icollection_py.InstrumentedList.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.icollection_py.InstrumentedObj.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.resource_py._VolumeDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3929084_ralphbean_taskw.taskw.task_py.Task.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.meta.comp_mutable_dict_py.CompoundMutableDict.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.meta.comp_mutable_dict_py.CompoundMutableDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.models.compound.tasks.batch_by_py.BatchBy.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930759_sbg_sevenbridges_python.sevenbridges.models.compound.tasks.batch_by_py.BatchBy.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3984106_jupyter_nbformat.nbformat.notebooknode_py.NotebookNode.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.arborize.arborize.definitions_py.default_ions_dict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.arborize.arborize.definitions_py.mechdict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nmodl_glia.glia.assets_py._ModList.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfgdict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfglist.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.lex_py.LexerMetaDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.yacc_py.ParserMetaDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__setitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.lrudict_py.lrudict.__getitem__"]. |
pasteorg_paste | Form | public | 0 | 0 | __getitem__ | def __getitem__(self, name):"""Get the named field object (ambiguity is an error)."""fields = self.fields.get(name)assert fields is not None, ("No field by the name %r found" % name)assert len(fields) == 1, ("Multiple fields match %r: %s"% (name, ', '.join(map(repr, fields))))return fields[0] | 1 | 8 | 2 | 61 | 0 | 1,064 | 1,074 | 1,064 | self,name | [] | Returns | {"Assign": 1, "Expr": 1, "Return": 1} | 4 | 11 | 4 | ["self.fields.get", "len", "join", "map"] | 28 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.AbstractForeignList.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.ForeignList.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3627162_cinpla_exdir.exdir.core.exdir_file_py.File.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.utils_py.ScopeDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3665918_alvinwan_neural_backed_decision_trees.nbdt.data.imagenet_py._TinyImagenet200Val.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692721_yelp_bravado_core.bravado_core.util_py.AliasKeyDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717445_kiminewt_pyshark.src.pyshark.capture.file_capture_py.FileCapture.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923947_luispedro_jug.jug.subcommands.__init___py.SubCommandDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967932_kayak_pypika.pypika.queries_py.QueryBuilder.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969403_atlassian_api_atlassian_python_api.atlassian.jira_py.Jira.get_project_issuekey_last", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.domains_py.BintType.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.domains_py.RealsType.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.arborize.arborize.definitions_py.mechdict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.voxels_py.VoxelData.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_neuron.bsb_neuron.adapter_py.NeuronPopulation.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.lex_py.LexerMetaDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.yacc_py.ParserMetaDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.requests_cache.backends.base_py.DictStorage.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.lrudict_py.lrudict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70474000_doronz88_rpc_project.src.rpcclient.rpcclient.clients.darwin.objective_c.objective_c_symbol_py.ObjectiveCSymbol.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.force_calibration.calibration_item_py.ForceCalibrationItem.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.managers_py.SubclassingQuerySet.__getitem__"] | The function (__getitem__) defined within the public class called Form.The function start at line 1064 and ends at 1074. It contains 8 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1064.0], and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["self.fields.get", "len", "join", "map"], It has 28.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.AbstractForeignList.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.ForeignList.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3627162_cinpla_exdir.exdir.core.exdir_file_py.File.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.utils_py.ScopeDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3665918_alvinwan_neural_backed_decision_trees.nbdt.data.imagenet_py._TinyImagenet200Val.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692721_yelp_bravado_core.bravado_core.util_py.AliasKeyDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717445_kiminewt_pyshark.src.pyshark.capture.file_capture_py.FileCapture.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923947_luispedro_jug.jug.subcommands.__init___py.SubCommandDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967932_kayak_pypika.pypika.queries_py.QueryBuilder.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969403_atlassian_api_atlassian_python_api.atlassian.jira_py.Jira.get_project_issuekey_last", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.domains_py.BintType.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.domains_py.RealsType.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.arborize.arborize.definitions_py.mechdict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.voxels_py.VoxelData.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_neuron.bsb_neuron.adapter_py.NeuronPopulation.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.lex_py.LexerMetaDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69333630_mindsdb_mindsdb_sql.sly.yacc_py.ParserMetaDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.requests_cache.backends.base_py.DictStorage.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.lrudict_py.lrudict.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70474000_doronz88_rpc_project.src.rpcclient.rpcclient.clients.darwin.objective_c.objective_c_symbol_py.ObjectiveCSymbol.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.force_calibration.calibration_item_py.ForceCalibrationItem.__getitem__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.managers_py.SubclassingQuerySet.__getitem__"]. |
pasteorg_paste | Form | public | 0 | 0 | set | def set(self, name, value, index=None):"""Set the given name, using ``index`` to disambiguate."""if index is None:self[name] = valueelse:fields = self.fields.get(name)assert fields is not None, ("No fields found matching %r" % name)field = fields[index]field.value = value | 2 | 9 | 4 | 59 | 0 | 1,076 | 1,087 | 1,076 | self,name,value,index | [] | None | {"Assign": 4, "Expr": 1, "If": 1} | 1 | 12 | 1 | ["self.fields.get"] | 4,532 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.build_dep_tree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.assigned_to", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.Record._diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.bodule_py.bodule", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3474748_nzjrs_gnome_tweak_tool.gtweak.tweaks.tweak_group_startup_py.AutostartListBoxTweakGroup._on_add_clicked", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3474748_nzjrs_gnome_tweak_tool.gtweak.tweaks.tweak_group_xkb_py.TypingTweakGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__and__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__or__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__rand__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__ror__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__rsub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__sub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__xor__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView._tmp_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__and__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__or__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__rand__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__ror__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__rsub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__sub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__xor__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_circular_imports_py._find_all_importables", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tools.upgrade_pythoncapi_py.Patcher.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tools.upgrade_pythoncapi_py.Patcher._get_operations"] | The function (set) defined within the public class called Form.The function start at line 1076 and ends at 1087. It contains 9 lines of code and it has a cyclomatic complexity of 2. It takes 4 parameters, represented as [1076.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.fields.get"], It has 4532.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.build_dep_tree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.assigned_to", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.Record._diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.bodule_py.bodule", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3474748_nzjrs_gnome_tweak_tool.gtweak.tweaks.tweak_group_startup_py.AutostartListBoxTweakGroup._on_add_clicked", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3474748_nzjrs_gnome_tweak_tool.gtweak.tweaks.tweak_group_xkb_py.TypingTweakGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__and__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__or__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__rand__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__ror__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__rsub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__sub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView.__xor__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._ItemsView._tmp_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__and__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__or__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__rand__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__ror__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__rsub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__sub__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._KeysView.__xor__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_circular_imports_py._find_all_importables", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tools.upgrade_pythoncapi_py.Patcher.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tools.upgrade_pythoncapi_py.Patcher._get_operations"]. |
pasteorg_paste | TestApp | public | 0 | 0 | get | def get(self, name, index=None, default=NO_DEFAULT):"""Get the named/indexed field object, or ``default`` if no fieldis found."""fields = self.fields.get(name)if fields is None and default is not NO_DEFAULT:return defaultif index is None:return self[name]else:fields = self.fields.get(name)assert fields is not None, ("No fields found matching %r" % name)field = fields[index]return field | 4 | 12 | 4 | 79 | 0 | 1,089 | 1,104 | 1,089 | self,url,params,headers,extra_environ,status,expect_errors | [] | Returns | {"Assign": 8, "AugAssign": 3, "Expr": 3, "If": 5, "Return": 1} | 9 | 53 | 9 | ["isinstance", "urlencode", "self._make_environ", "str", "url.split", "self._set_headers", "environ.update", "TestRequest", "self.do_request"] | 2,985 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.dependencies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.User.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.asset_py.AssetMixin.sign", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.RepeatInfo.from_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.fetch_invite", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.sign_assets", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.Forbidden.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.ImATeapot.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.App.config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.PluginsApp.installed_plugins", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.DetailEndpoint.list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint._validate_openapi_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.dcim_py.TraceableRecord.trace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.http_client_py.HTTPClient.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.duckhunt_py.ducks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.irc_py.irc", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.karma_py.karma", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.ree_py.ree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.seen_py.seen", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.tell_py.tell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.protocol.slack_py.SlackClient.get_channel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.cache_py.CacheLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.identity_py.IdentityLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.revision_py.RevisionLoggingPanel.process_response"] | The function (get) defined within the public class called TestApp.The function start at line 1089 and ends at 1104. It contains 12 lines of code and it has a cyclomatic complexity of 4. It takes 4 parameters, represented as [1089.0], and this function return a value. It declares 9.0 functions, It has 9.0 functions called inside which are ["isinstance", "urlencode", "self._make_environ", "str", "url.split", "self._set_headers", "environ.update", "TestRequest", "self.do_request"], It has 2985.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.dependencies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.User.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.asset_py.AssetMixin.sign", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.RepeatInfo.from_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.fetch_invite", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.client_py.Client.sign_assets", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.Forbidden.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.errors_py.ImATeapot.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.App.config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.app_py.PluginsApp.installed_plugins", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.DetailEndpoint.list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint._validate_openapi_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.dcim_py.TraceableRecord.trace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.http_client_py.HTTPClient.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.duckhunt_py.ducks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.irc_py.irc", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.karma_py.karma", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.ree_py.ree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.seen_py.seen", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.tell_py.tell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.protocol.slack_py.SlackClient.get_channel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.cache_py.CacheLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.identity_py.IdentityLoggingPanel.process_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470350_lincolnloop_django_debug_logging.debug_logging.panels.revision_py.RevisionLoggingPanel.process_response"]. |
pasteorg_paste | Form | public | 0 | 0 | select | def select(self, name, value, index=None):"""Like ``.set()``, except also confirms the target is a``<select>``."""field = self.get(name, index=index)assert isinstance(field, Select)field.value = value | 1 | 4 | 4 | 38 | 0 | 1,106 | 1,113 | 1,106 | self,name,value,index | [] | None | {"Assign": 2, "Expr": 1} | 2 | 8 | 2 | ["self.get", "isinstance"] | 886 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470342_bitprophet_ssh.ssh.agent_py.AgentProxyThread._communicate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677152_ckan_ckanext_showcase.ckanext.showcase.tests.test_plugin_py.TestDatasetView.test_dataset_showcase_page_lists_showcases_no_associations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677152_ckan_ckanext_showcase.ckanext.showcase.tests.test_plugin_py.TestDatasetView.test_dataset_showcase_page_lists_showcases_two_associations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.tests.test_form_py.TestJSONDatasetForm.test_dataset_form_includes_json_fields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.tests.test_form_py.TestSubfieldDatasetForm.test_dataset_form_includes_subfields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.tests.test_form_py._get_organization_form", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.gui.cloud_projects_dialog_py.CloudProjectsDialog.update_project_table_selection", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.addon.converter_py.JsonListItemConverter.select_video_for_quality", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.addon.utils_py.remove_default_quality", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.routes.edit_languages_py.route", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.routes.edit_sorting_py.route", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.bumble.android_py._handle_db", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_basic_orders", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_couldnt_determine_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_disabled_wrap_unsorted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_drop_exceptions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_drop_unsorted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_key_clash", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_no_recursive_unsortables", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_default_param", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_key_multi_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_key_unsortable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_value", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_raise_exceptions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_wrap_unsortable"] | The function (select) defined within the public class called Form.The function start at line 1106 and ends at 1113. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [1106.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.get", "isinstance"], It has 886.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3470342_bitprophet_ssh.ssh.agent_py.AgentProxyThread._communicate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677152_ckan_ckanext_showcase.ckanext.showcase.tests.test_plugin_py.TestDatasetView.test_dataset_showcase_page_lists_showcases_no_associations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677152_ckan_ckanext_showcase.ckanext.showcase.tests.test_plugin_py.TestDatasetView.test_dataset_showcase_page_lists_showcases_two_associations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.tests.test_form_py.TestJSONDatasetForm.test_dataset_form_includes_json_fields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.tests.test_form_py.TestSubfieldDatasetForm.test_dataset_form_includes_subfields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720376_ckan_ckanext_scheming.ckanext.scheming.tests.test_form_py._get_organization_form", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.gui.cloud_projects_dialog_py.CloudProjectsDialog.update_project_table_selection", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.addon.converter_py.JsonListItemConverter.select_video_for_quality", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.addon.utils_py.remove_default_quality", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.routes.edit_languages_py.route", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.routes.edit_sorting_py.route", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.bumble.android_py._handle_db", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_basic_orders", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_couldnt_determine_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_disabled_wrap_unsorted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_drop_exceptions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_drop_unsorted", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_key_clash", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_no_recursive_unsortables", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_default_param", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_key_multi_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_key_unsortable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_order_value", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_raise_exceptions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964649_karlicoss_hpi.src.my.core.query_py.test_wrap_unsortable"]. |
pasteorg_paste | Form | public | 0 | 0 | submit | def submit(self, name=None, index=None, **args):"""Submits the form.If ``name`` is given, then also select thatbutton (using ``index`` to disambiguate)``.Any extra keyword arguments are passed to the ``.get()`` or``.post()`` method.Returns a response object."""fields = self.submit_fields(name, index=index)return self.response.goto(self.action, method=self.method,params=fields, **args) | 1 | 4 | 4 | 53 | 0 | 1,115 | 1,127 | 1,115 | self,name,index,**args | [] | Returns | {"Assign": 1, "Expr": 1, "Return": 1} | 2 | 13 | 2 | ["self.submit_fields", "self.response.goto"] | 4 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957766_benchopt_benchopt.benchopt.utils.slurm_executor_py.run_on_slurm", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3958607_irods_python_irodsclient.irods.test.data_obj_test_py.TestDataObjOps.test_temporary_xml_mode_changes_have_desired_thread_limited_effect__issue_586", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.clients_py.BaseClient.submit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.fs_py.FsControl.rename"] | The function (submit) defined within the public class called Form.The function start at line 1115 and ends at 1127. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [1115.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.submit_fields", "self.response.goto"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957766_benchopt_benchopt.benchopt.utils.slurm_executor_py.run_on_slurm", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3958607_irods_python_irodsclient.irods.test.data_obj_test_py.TestDataObjOps.test_temporary_xml_mode_changes_have_desired_thread_limited_effect__issue_586", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.clients_py.BaseClient.submit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.fs_py.FsControl.rename"]. |
pasteorg_paste | Form | public | 0 | 0 | submit_fields | def submit_fields(self, name=None, index=None):"""Return a list of ``[(name, value), ...]`` for the currentstate of the form."""submit = []if name is not None:field = self.get(name, index=index)submit.append((field.name, field.value_if_submitted()))for name, fields in self.fields.items():if name is None:continuefor field in fields:value = field.valueif value is None:continuesubmit.append((name, value))return submit | 6 | 14 | 3 | 99 | 0 | 1,129 | 1,146 | 1,129 | self,name,index | [] | Returns | {"Assign": 3, "Expr": 3, "For": 2, "If": 3, "Return": 1} | 5 | 18 | 5 | ["self.get", "submit.append", "field.value_if_submitted", "self.fields.items", "submit.append"] | 0 | [] | The function (submit_fields) defined within the public class called Form.The function start at line 1129 and ends at 1146. It contains 14 lines of code and it has a cyclomatic complexity of 6. It takes 3 parameters, represented as [1129.0], and this function return a value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["self.get", "submit.append", "field.value_if_submitted", "self.fields.items", "submit.append"]. |
pasteorg_paste | public | public | 0 | 0 | _parse_attrs | def _parse_attrs(text):attrs = {}for match in _attr_re.finditer(text):attr_name = match.group(1).lower()attr_body = match.group(2) or match.group(3)attr_body = html_unquote(attr_body or '')attrs[attr_name] = attr_bodyreturn attrs | 4 | 8 | 1 | 62 | 3 | 1,151 | 1,158 | 1,151 | text | ['attr_body', 'attrs', 'attr_name'] | Returns | {"Assign": 5, "For": 1, "Return": 1} | 6 | 8 | 6 | ["_attr_re.finditer", "lower", "match.group", "match.group", "match.group", "html_unquote"] | 3 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.Form._parse_action", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.Form._parse_fields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.TestResponse._find_element"] | The function (_parse_attrs) defined within the public class called public.The function start at line 1151 and ends at 1158. It contains 8 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters, and this function return a value. It declares 6.0 functions, It has 6.0 functions called inside which are ["_attr_re.finditer", "lower", "match.group", "match.group", "match.group", "html_unquote"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.Form._parse_action", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.Form._parse_fields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.TestResponse._find_element"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, form, tag, name, pos, value=None, id=None, **attrs):self.form = formself.tag = tagself.name = nameself.pos = posself._value = valueself.id = idself.attrs = attrs | 1 | 9 | 8 | 59 | 0 | 1,171 | 1,179 | 1,171 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1171 and ends at 1179. It contains 9 lines of code and it has a cyclomatic complexity of 1. It takes 8 parameters, represented as [1171.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | Field | public | 0 | 0 | value__set | def value__set(self, value):if not self.settable:raise AttributeError("You cannot set the value of the <%s> field %r"% (self.tag, self.name))self._value = value | 2 | 6 | 2 | 33 | 0 | 1,181 | 1,186 | 1,181 | self,value | [] | None | {"Assign": 1, "If": 1} | 1 | 6 | 1 | ["AttributeError"] | 0 | [] | The function (value__set) defined within the public class called Field.The function start at line 1181 and ends at 1186. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1181.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["AttributeError"]. |
pasteorg_paste | Field | public | 0 | 0 | force_value | def force_value(self, value):"""Like setting a value, except forces it even for, say, hiddenfields."""self._value = value | 1 | 2 | 2 | 13 | 0 | 1,188 | 1,193 | 1,188 | self,value | [] | None | {"Assign": 1, "Expr": 1} | 0 | 6 | 0 | [] | 0 | [] | The function (force_value) defined within the public class called Field.The function start at line 1188 and ends at 1193. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1188.0] and does not return any value.. |
pasteorg_paste | Field | public | 0 | 0 | value__get | def value__get(self):return self._value | 1 | 2 | 1 | 9 | 0 | 1,195 | 1,196 | 1,195 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (value__get) defined within the public class called Field.The function start at line 1195 and ends at 1196. 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.. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, *args, **attrs):super(Select, self).__init__(*args, **attrs)self.options = []self.multiple = attrs.get('multiple')assert not self.multiple, ("<select multiple> not yet supported")# Undetermined yet:self.selectedIndex = None | 1 | 7 | 3 | 56 | 0 | 1,206 | 1,213 | 1,206 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1206 and ends at 1213. It contains 7 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1206.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | Field | public | 0 | 0 | value__set | def value__set(self, value):for i, (option, checked) in enumerate(self.options):if option == str(value):self.selectedIndex = ibreakelse:raise ValueError("Option %r not found (from %s)"% (value, ', '.join([repr(o) for o, c in self.options]))) | 4 | 10 | 2 | 68 | 0 | 1,215 | 1,224 | 1,215 | self,value | [] | None | {"Assign": 1, "If": 1} | 1 | 6 | 1 | ["AttributeError"] | 0 | [] | The function (value__set) defined within the public class called Field.The function start at line 1215 and ends at 1224. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [1215.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["AttributeError"]. |
pasteorg_paste | Field | public | 0 | 0 | value__get | def value__get(self):if self.selectedIndex is not None:return self.options[self.selectedIndex][0]else:for option, checked in self.options:if checked:return optionelse:if self.options:return self.options[0][0]else:return None | 5 | 12 | 1 | 62 | 0 | 1,226 | 1,237 | 1,226 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (value__get) defined within the public class called Field.The function start at line 1226 and ends at 1237. It contains 12 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters, and this function return a value.. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, *args, **attrs):super(Checkbox, self).__init__(*args, **attrs)self.checked = 'checked' in attrs | 1 | 3 | 3 | 33 | 0 | 1,257 | 1,259 | 1,257 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1257 and ends at 1259. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1257.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | Field | public | 0 | 0 | value__set | def value__set(self, value):self.checked = not not value | 1 | 2 | 2 | 14 | 0 | 1,261 | 1,262 | 1,261 | self,value | [] | None | {"Assign": 1, "If": 1} | 1 | 6 | 1 | ["AttributeError"] | 0 | [] | The function (value__set) defined within the public class called Field.The function start at line 1261 and ends at 1262. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1261.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["AttributeError"]. |
pasteorg_paste | Field | public | 0 | 0 | value__get | def value__get(self):if self.checked:if self._value is None:return 'on'else:return self._valueelse:return None | 3 | 8 | 1 | 29 | 0 | 1,264 | 1,271 | 1,264 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (value__get) defined within the public class called Field.The function start at line 1264 and ends at 1271. It contains 8 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value.. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, form, tag, name, pos, value='', id=None, **attrs):#text fields default to empty stringField.__init__(self, form, tag, name, pos, value=value, id=id, **attrs) | 1 | 4 | 8 | 49 | 0 | 1,281 | 1,285 | 1,281 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1281 and ends at 1285. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 8 parameters, represented as [1281.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | Field | public | 0 | 0 | value__get | def value__get(self):return None | 1 | 2 | 1 | 7 | 0 | 1,310 | 1,311 | 1,310 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (value__get) defined within the public class called Field.The function start at line 1310 and ends at 1311. 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.. |
pasteorg_paste | Submit | public | 0 | 1 | value_if_submitted | def value_if_submitted(self):return self._value | 1 | 2 | 1 | 9 | 0 | 1,315 | 1,316 | 1,315 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (value_if_submitted) defined within the public class called Submit, that inherit another class.The function start at line 1315 and ends at 1316. 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.. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, base_path, template_path=None, script_path=None, environ=None, cwd=None, start_clear=True, ignore_paths=None, ignore_hidden=True):"""Creates an environment.``base_path`` is used as the currentworking directory, and generally where changes are looked for.``template_path`` is the directory to look for *template*files, which are files you'll explicitly add to theenvironment.This is done with ``.writefile()``.``script_path`` is the PATH for finding executables.Usuallygrabbed from ``$PATH``.``environ`` is the operating system environment,``os.environ`` if not given.``cwd`` is the working directory, ``base_path`` by default.If ``start_clear`` is true (default) then the ``base_path``will be cleared (all files deleted) when an instance iscreated.You can also use ``.clear()`` to clear the files.``ignore_paths`` is a set of specific filenames that should beignored when created in the environment.``ignore_hidden``means, if true (default) that filenames and directoriesstarting with ``'.'`` will be ignored."""self.base_path = base_pathself.template_path = template_pathif environ is None:environ = os.environ.copy()self.environ = environif script_path is None:if sys.platform == 'win32':script_path = environ.get('PATH', '').split(';')else:script_path = environ.get('PATH', '').split(':')self.script_path = script_pathif cwd is None:cwd = base_pathself.cwd = cwdif start_clear:self.clear()elif not os.path.exists(base_path):os.makedirs(base_path)self.ignore_paths = ignore_paths or []self.ignore_hidden = ignore_hidden | 8 | 24 | 9 | 165 | 0 | 1,338 | 1,386 | 1,338 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1338 and ends at 1386. It contains 24 lines of code and it has a cyclomatic complexity of 8. It takes 9 parameters, represented as [1338.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | run | def run(self, script, *args, **kw):"""Run the command, with the given arguments.The ``script``argument can have space-separated arguments, or you can usethe positional arguments.Keywords allowed are:``expect_error``: (default False)Don't raise an exception in case of errors``expect_stderr``: (default ``expect_error``)Don't raise an exception if anything is printed to stderr``stdin``: (default ``""``)Input to the script``printresult``: (default True)Print the result after running``cwd``: (default ``self.cwd``)The working directory to run inReturns a `ProcResponse<class-paste.fixture.ProcResponse.html>`_ object."""__tracebackhide__ = Trueexpect_error = _popget(kw, 'expect_error', False)expect_stderr = _popget(kw, 'expect_stderr', expect_error)cwd = _popget(kw, 'cwd', self.cwd)stdin = _popget(kw, 'stdin', None)printresult = _popget(kw, 'printresult', True)args = list(map(str, args))assert not kw, ("Arguments not expected: %s" % ', '.join(kw.keys()))if ' ' in script:assert not args, ("You cannot give a multi-argument script (%r) ""and arguments (%s)" % (script, args))script, args = script.split(None, 1)args = shlex.split(args)script = self._find_exe(script)all = [script] + argsfiles_before = self._find_files()proc = subprocess.Popen(all, stdin=subprocess.PIPE,stderr=subprocess.PIPE,stdout=subprocess.PIPE,cwd=cwd,env=self.environ)stdout, stderr = proc.communicate(stdin)files_after = self._find_files()result = ProcResult(self, all, stdin, stdout, stderr,returncode=proc.returncode,files_before=files_before,files_after=files_after)if printresult:print(result)print('-'*40)if not expect_error:result.assert_no_error()if not expect_stderr:result.assert_no_stderr()return result | 5 | 39 | 4 | 273 | 0 | 1,388 | 1,447 | 1,388 | self,script,*args,**kw | [] | Returns | {"Assign": 16, "Expr": 5, "If": 4, "Return": 1} | 21 | 60 | 21 | ["_popget", "_popget", "_popget", "_popget", "_popget", "list", "map", "join", "kw.keys", "script.split", "shlex.split", "self._find_exe", "self._find_files", "subprocess.Popen", "proc.communicate", "self._find_files", "ProcResult", "print", "print", "result.assert_no_error", "result.assert_no_stderr"] | 506 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514474_ntfreedom_neverendshadowsocks.shadowsocks.manager_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_bools_are_treated_as_strings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_bytea_field_support_in_output", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_conn", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_copy_from_local_csv", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_functions_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_invalid_column_name", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_invalid_syntax", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_large_numbers_render_directly", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_multiple_queries_same_line", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_multiple_queries_same_line_syntaxerror", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_multiple_queries_with_special_command_same_line", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_schemata_table_views_and_columns_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_special_command_align_mode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_special_command_help", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_special_command_hide_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_unicode_support_in_output", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_unicode_support_in_unknown_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_nomatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_none", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_specific", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_specific_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_wildcard"] | The function (run) defined within the public class called TestFileEnvironment.The function start at line 1388 and ends at 1447. It contains 39 lines of code and it has a cyclomatic complexity of 5. It takes 4 parameters, represented as [1388.0], and this function return a value. It declares 21.0 functions, It has 21.0 functions called inside which are ["_popget", "_popget", "_popget", "_popget", "_popget", "list", "map", "join", "kw.keys", "script.split", "shlex.split", "self._find_exe", "self._find_files", "subprocess.Popen", "proc.communicate", "self._find_files", "ProcResult", "print", "print", "result.assert_no_error", "result.assert_no_stderr"], It has 506.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514474_ntfreedom_neverendshadowsocks.shadowsocks.manager_py.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_bools_are_treated_as_strings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_bytea_field_support_in_output", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_conn", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_copy_from_local_csv", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_functions_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_invalid_column_name", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_invalid_syntax", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_large_numbers_render_directly", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_multiple_queries_same_line", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_multiple_queries_same_line_syntaxerror", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_multiple_queries_with_special_command_same_line", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_schemata_table_views_and_columns_query", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_special_command_align_mode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_special_command_help", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_special_command_hide_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_unicode_support_in_output", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.tests.test_vexecute_py.test_unicode_support_in_unknown_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_nomatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_none", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_specific", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_specific_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.test_excludes_py.test_wildcard"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | _find_exe | def _find_exe(self, script_name):if self.script_path is None:script_name = os.path.join(self.cwd, script_name)if not os.path.exists(script_name):raise OSError("Script %s does not exist" % script_name)return script_namefor path in self.script_path:fn = os.path.join(path, script_name)if os.path.exists(fn):return fnraise OSError("Script %s could not be found in %s"% (script_name, ':'.join(self.script_path))) | 5 | 14 | 2 | 97 | 0 | 1,449 | 1,462 | 1,449 | self,script_name | [] | Returns | {"Assign": 2, "For": 1, "If": 3, "Return": 2} | 7 | 14 | 7 | ["os.path.join", "os.path.exists", "OSError", "os.path.join", "os.path.exists", "OSError", "join"] | 0 | [] | The function (_find_exe) defined within the public class called TestFileEnvironment.The function start at line 1449 and ends at 1462. It contains 14 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [1449.0], and this function return a value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["os.path.join", "os.path.exists", "OSError", "os.path.join", "os.path.exists", "OSError", "join"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | _find_files | def _find_files(self):result = {}for fn in os.listdir(self.base_path):if self._ignore_file(fn):continueself._find_traverse(fn, result)return result | 3 | 7 | 1 | 40 | 0 | 1,464 | 1,470 | 1,464 | self | [] | Returns | {"Assign": 1, "Expr": 1, "For": 1, "If": 1, "Return": 1} | 3 | 7 | 3 | ["os.listdir", "self._ignore_file", "self._find_traverse"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.loader_directory_py._find_tool_files"] | The function (_find_files) defined within the public class called TestFileEnvironment.The function start at line 1464 and ends at 1470. 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 3.0 functions, It has 3.0 functions called inside which are ["os.listdir", "self._ignore_file", "self._find_traverse"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.loader_directory_py._find_tool_files"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | _ignore_file | def _ignore_file(self, fn):if fn in self.ignore_paths:return Trueif self.ignore_hidden and os.path.basename(fn).startswith('.'):return Truereturn False | 4 | 6 | 2 | 39 | 0 | 1,472 | 1,477 | 1,472 | self,fn | [] | Returns | {"If": 2, "Return": 3} | 2 | 6 | 2 | ["startswith", "os.path.basename"] | 0 | [] | The function (_ignore_file) defined within the public class called TestFileEnvironment.The function start at line 1472 and ends at 1477. It contains 6 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [1472.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["startswith", "os.path.basename"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | _find_traverse | def _find_traverse(self, path, result):full = os.path.join(self.base_path, path)if os.path.isdir(full):result[path] = FoundDir(self.base_path, path)for fn in os.listdir(full):fn = os.path.join(path, fn)if self._ignore_file(fn):continueself._find_traverse(fn, result)else:result[path] = FoundFile(self.base_path, path) | 4 | 11 | 3 | 100 | 0 | 1,479 | 1,489 | 1,479 | self,path,result | [] | None | {"Assign": 4, "Expr": 1, "For": 1, "If": 2} | 8 | 11 | 8 | ["os.path.join", "os.path.isdir", "FoundDir", "os.listdir", "os.path.join", "self._ignore_file", "self._find_traverse", "FoundFile"] | 0 | [] | The function (_find_traverse) defined within the public class called TestFileEnvironment.The function start at line 1479 and ends at 1489. It contains 11 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [1479.0] and does not return any value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["os.path.join", "os.path.isdir", "FoundDir", "os.listdir", "os.path.join", "self._ignore_file", "self._find_traverse", "FoundFile"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | clear | def clear(self):"""Delete all the files in the base directory."""if os.path.exists(self.base_path):shutil.rmtree(self.base_path)os.mkdir(self.base_path) | 2 | 4 | 1 | 34 | 0 | 1,491 | 1,497 | 1,491 | self | [] | None | {"Expr": 3, "If": 1} | 3 | 7 | 3 | ["os.path.exists", "shutil.rmtree", "os.mkdir"] | 54 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsWrapLines.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.test_runner_py.ViewTestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.test_runner_py.__docblockr_test_replace_cursor_position.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3668393_python_trio_trio_asyncio.tests.test_aio_subprocess_py.run_subprocess_interactive", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tw2.core.middleware_py.TwMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689643_etingof_pysnmp.pysnmp.smi.indices_py.OrderedDict.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696527_singnet_snet_cli.snet.cli.metadata.service_py.MPEServiceMetadata.remove_all_media", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.icollection_py.InstrumentedObj.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3702990_etingof_pyasn1.tests.type.test_univ_py.SequenceWithoutSchema.testUpdate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3702990_etingof_pyasn1.tests.type.test_univ_py.Set.testGetTagMap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707933_aiortc_aioquic.examples.httpx_client_py.H3Transport._wait_for_http_event", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.tests.test_export_py.OfflineConverterTest.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV._import", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.examples.minipyro_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.altmarker.altmarker_py.AltMarker.remove_alt", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.stickymember.stickymember_py.StickyMember.red_delete_data_for_user", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.bot_py.reQueueTransactions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.cell_types_py.CellType.clear_placement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfgdict.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfglist.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.test.examples.realistic_py.get_example_problems", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.test.examples.testing_variants_py.get_example_problems", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.test.test_sequential_simulator_py.TestSimulator.simulate_on_hierarchical_blocks_world", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.up_test_cases.builtin.multiagent.depot_py.get_test_cases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69649459_evil0ctal_douyin_tiktok_download_api.app.web.views.EasterEgg_py.a"] | The function (clear) defined within the public class called TestFileEnvironment.The function start at line 1491 and ends at 1497. 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 3.0 functions, It has 3.0 functions called inside which are ["os.path.exists", "shutil.rmtree", "os.mkdir"], It has 54.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsWrapLines.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.test_runner_py.ViewTestCase.tearDown", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.test_runner_py.__docblockr_test_replace_cursor_position.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3668393_python_trio_trio_asyncio.tests.test_aio_subprocess_py.run_subprocess_interactive", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tw2.core.middleware_py.TwMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689643_etingof_pysnmp.pysnmp.smi.indices_py.OrderedDict.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696527_singnet_snet_cli.snet.cli.metadata.service_py.MPEServiceMetadata.remove_all_media", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.icollection_py.InstrumentedObj.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3702990_etingof_pyasn1.tests.type.test_univ_py.SequenceWithoutSchema.testUpdate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3702990_etingof_pyasn1.tests.type.test_univ_py.Set.testGetTagMap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707933_aiortc_aioquic.examples.httpx_client_py.H3Transport._wait_for_http_event", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.tests.test_export_py.OfflineConverterTest.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV._import", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.examples.minipyro_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.altmarker.altmarker_py.AltMarker.remove_alt", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.stickymember.stickymember_py.StickyMember.red_delete_data_for_user", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3985760_bbedward_graham_discord_bot.bot_py.reQueueTransactions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.cell_types_py.CellType.clear_placement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfgdict.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config._attrs_py.cfglist.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.test.examples.realistic_py.get_example_problems", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.test.examples.testing_variants_py.get_example_problems", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.test.test_sequential_simulator_py.TestSimulator.simulate_on_hierarchical_blocks_world", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.up_test_cases.builtin.multiagent.depot_py.get_test_cases", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69649459_evil0ctal_douyin_tiktok_download_api.app.web.views.EasterEgg_py.a"]. |
pasteorg_paste | TestFileEnvironment | public | 0 | 0 | writefile | def writefile(self, path, content=None,frompath=None):"""Write a file to the given path.If ``content`` is given thenthat text is written, otherwise the file in ``frompath`` isused.``frompath`` is relative to ``self.template_path``"""full = os.path.join(self.base_path, path)if not os.path.exists(os.path.dirname(full)):os.makedirs(os.path.dirname(full))f = open(full, 'wb')if content is not None:f.write(content)if frompath is not None:if self.template_path:frompath = os.path.join(self.template_path, frompath)f2 = open(frompath, 'rb')f.write(f2.read())f2.close()f.close()return FoundFile(self.base_path, path) | 5 | 16 | 4 | 143 | 0 | 1,499 | 1,519 | 1,499 | self,path,content,frompath | [] | Returns | {"Assign": 4, "Expr": 6, "If": 4, "Return": 1} | 14 | 21 | 14 | ["os.path.join", "os.path.exists", "os.path.dirname", "os.makedirs", "os.path.dirname", "open", "f.write", "os.path.join", "open", "f.write", "f2.read", "f2.close", "f.close", "FoundFile"] | 0 | [] | The function (writefile) defined within the public class called TestFileEnvironment.The function start at line 1499 and ends at 1519. It contains 16 lines of code and it has a cyclomatic complexity of 5. It takes 4 parameters, represented as [1499.0], and this function return a value. It declares 14.0 functions, and It has 14.0 functions called inside which are ["os.path.join", "os.path.exists", "os.path.dirname", "os.makedirs", "os.path.dirname", "open", "f.write", "os.path.join", "open", "f.write", "f2.read", "f2.close", "f.close", "FoundFile"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, test_env, args, stdin, stdout, stderr, returncode, files_before, files_after):self.test_env = test_envself.args = argsself.stdin = stdinself.stdout = stdoutself.stderr = stderrself.returncode = returncodeself.files_before = files_beforeself.files_after = files_afterself.files_deleted = {}self.files_updated = {}self.files_created = files_after.copy()for path, f in files_before.items():if path not in files_after:self.files_deleted[path] = fcontinuedel self.files_created[path]if f.mtime < files_after[path].mtime:self.files_updated[path] = files_after[path] | 4 | 20 | 9 | 138 | 0 | 1,539 | 1,558 | 1,539 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1539 and ends at 1558. It contains 20 lines of code and it has a cyclomatic complexity of 4. It takes 9 parameters, represented as [1539.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | ProcResult | public | 0 | 0 | assert_no_error | def assert_no_error(self):__tracebackhide__ = Trueassert self.returncode == 0, ("Script returned code: %s" % self.returncode) | 1 | 4 | 1 | 22 | 0 | 1,560 | 1,563 | 1,560 | self | [] | None | {"Assign": 1} | 0 | 4 | 0 | [] | 0 | [] | The function (assert_no_error) defined within the public class called ProcResult.The function start at line 1560 and ends at 1563. 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.. |
pasteorg_paste | ProcResult | public | 0 | 0 | assert_no_stderr | def assert_no_stderr(self):__tracebackhide__ = Trueif self.stderr:print('Error output:')print(self.stderr)raise AssertionError("stderr output not expected") | 2 | 6 | 1 | 28 | 0 | 1,565 | 1,570 | 1,565 | self | [] | None | {"Assign": 1, "Expr": 2, "If": 1} | 3 | 6 | 3 | ["print", "print", "AssertionError"] | 0 | [] | The function (assert_no_stderr) defined within the public class called ProcResult.The function start at line 1565 and ends at 1570. 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 3.0 functions, and It has 3.0 functions called inside which are ["print", "print", "AssertionError"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __str__ | def __str__(self):s = ['Script result: %s' % ' '.join(self.args)]if self.returncode:s.append('return code: %s' % self.returncode)if self.stderr:s.append('-- stderr: --------------------')s.append(self.stderr)if self.stdout:s.append('-- stdout: --------------------')s.append(self.stdout)for name, files, show_size in [('created', self.files_created, True),('deleted', self.files_deleted, True),('updated', self.files_updated, True)]:if files:s.append('-- %s: -------------------' % name)files = files.items()files.sort()last = ''for path, f in files:t = '%s' % _space_prefix(last, path, indent=4, include_sep=False)last = pathif show_size and f.size != 'N/A':t += '(%s bytes)' % f.sizes.append(t)return '\n'.join(s) | 9 | 27 | 1 | 194 | 0 | 1,572 | 1,598 | 1,572 | self | [] | Returns | {"Assign": 2, "Return": 1} | 5 | 8 | 5 | ["join", "self.body.splitlines", "l.strip", "simple_body.decode", "join"] | 64 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.ipam_py.Vlans.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.tm.session_py.DynectSession.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3698222_fgnt_pb_bss.pb_bss.evaluation.wrapper_py.VerboseKeyError.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.ir_py.Heat.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitChemicalType", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitLiteral", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTemperatureIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTimeIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitVariable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDetect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDispense", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMethodCall", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitSplit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFunctionDeclaration"] | The function (__str__) defined within the public class called TestResponse.The function start at line 1572 and ends at 1598. It contains 27 lines of code and it has a cyclomatic complexity of 9. The function does not take any parameters, and this function return a value. It declares 5.0 functions, It has 5.0 functions called inside which are ["join", "self.body.splitlines", "l.strip", "simple_body.decode", "join"], It has 64.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.models.ipam_py.Vlans.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.tm.session_py.DynectSession.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3698222_fgnt_pb_bss.pb_bss.evaluation.wrapper_py.VerboseKeyError.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.ir_py.Heat.__str__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitChemicalType", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitLiteral", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTemperatureIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitTimeIdentifier", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.bs_base_visitor_py.BSBaseVisitor.visitVariable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.header_visitor_py.HeaderVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDetect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitDispense", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitFunctionDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitManifestDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMethodCall", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitMix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitModuleDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitSplit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.ir_visitor_py.IRVisitor.visitStationaryDeclaration", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFormalParameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.semantics.method_visitor_py.MethodVisitor.visitFunctionDeclaration"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, base_path, path):self.base_path = base_pathself.path = pathself.full = os.path.join(base_path, path)self.stat = os.stat(self.full)self.mtime = self.stat.st_mtimeself.size = self.stat.st_sizeself._bytes = None | 1 | 8 | 3 | 68 | 0 | 1,627 | 1,634 | 1,627 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1627 and ends at 1634. It contains 8 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1627.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | FoundFile | public | 0 | 0 | bytes__get | def bytes__get(self):if self._bytes is None:f = open(self.full, 'rb')self._bytes = f.read()f.close()return self._bytes | 2 | 6 | 1 | 40 | 0 | 1,636 | 1,641 | 1,636 | self | [] | Returns | {"Assign": 2, "Expr": 1, "If": 1, "Return": 1} | 3 | 6 | 3 | ["open", "f.read", "f.close"] | 0 | [] | The function (bytes__get) defined within the public class called FoundFile.The function start at line 1636 and ends at 1641. It contains 6 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["open", "f.read", "f.close"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __contains__ | def __contains__(self, s):return s in self.bytes | 1 | 2 | 2 | 13 | 0 | 1,644 | 1,645 | 1,644 | self,s | [] | Returns | {"Assign": 2, "Expr": 1, "If": 2, "Return": 1} | 6 | 13 | 6 | ["isinstance", "str", "isinstance", "s.encode", "self.body.find", "self.normal_body.find"] | 10 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3627162_cinpla_exdir.exdir.core.exdir_file_py.File.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692721_yelp_bravado_core.bravado_core.util_py.AliasKeyDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.has_key", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Channels.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Players.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.covalent_ui.api.v1.data_layer.logs_dal_py.Logs.get_logs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.tests.covalent_tests.workflow.postprocessing_test_py.test_add_reconstruct_postprocess_node", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.AnnotationSet.__contains__"] | The function (__contains__) defined within the public class called TestResponse.The function start at line 1644 and ends at 1645. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [1644.0], and this function return a value. It declares 6.0 functions, It has 6.0 functions called inside which are ["isinstance", "str", "isinstance", "s.encode", "self.body.find", "self.normal_body.find"], It has 10.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3627162_cinpla_exdir.exdir.core.exdir_file_py.File.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692721_yelp_bravado_core.bravado_core.util_py.AliasKeyDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.case_insensitive_dict_py.CIDict.has_key", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Channels.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Players.__contains__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.covalent_ui.api.v1.data_layer.logs_dal_py.Logs.get_logs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.tests.covalent_tests.workflow.postprocessing_test_py.test_add_reconstruct_postprocess_node", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.AnnotationSet.__contains__"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | mustcontain | def mustcontain(self, s):__tracebackhide__ = Truebytes_ = self.bytesif s not in bytes_:print('Could not find %r in:' % s)print(bytes_)assert s in bytes_ | 2 | 7 | 2 | 35 | 0 | 1,647 | 1,653 | 1,647 | self,*strings,**kw | [] | None | {"Assign": 3, "Expr": 5, "For": 2, "If": 5} | 8 | 31 | 8 | ["isinstance", "TypeError", "print", "print", "IndexError", "print", "print", "IndexError"] | 0 | [] | The function (mustcontain) defined within the public class called TestResponse.The function start at line 1647 and ends at 1653. It contains 7 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [1647.0] and does not return any value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["isinstance", "TypeError", "print", "print", "IndexError", "print", "print", "IndexError"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __repr__ | def __repr__(self):return '<%s %s:%s>' % (self.__class__.__name__,self.base_path, self.path) | 1 | 4 | 1 | 23 | 0 | 1,655 | 1,658 | 1,655 | self | [] | Returns | {"Assign": 3, "Return": 1} | 1 | 5 | 1 | ["body.decode"] | 29 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v1_2.test_app_py.AppTestCase.test_ref", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Object.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712456_stefanfoulis_django_phonenumber_field.phonenumber_field.phonenumber_py.PhoneNumber.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Number.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Reagent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953196_wangzheng0822_algo.python.28_heap.heap_py.Heap.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967182_asarnow_pyem.pyem.util.util_py.chimera_xform2str", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.cnf_py.Contraction.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.contingent_problem_py.ContingentProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.htn.hierarchical_problem_py.HierarchicalProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.score_py.Score.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.__init___py.BlitzObjectWrapper.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.util.concurrency_py.AtExitEvent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero_ext.path_py.path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.contracts.vyper.decoder_utils_py._Struct.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.abi_py.Address.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70391654_fkie_cad_logprep.logprep.processor.base.rule_py.Rule.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fd_models_py.test_model_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fit_py.test_fit_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.ObjectSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.session.session_py.SessionSet.__repr__"] | The function (__repr__) defined within the public class called TestResponse.The function start at line 1655 and ends at 1658. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["body.decode"], It has 29.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v1_2.test_app_py.AppTestCase.test_ref", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Object.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712456_stefanfoulis_django_phonenumber_field.phonenumber_field.phonenumber_py.PhoneNumber.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Number.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Reagent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953196_wangzheng0822_algo.python.28_heap.heap_py.Heap.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967182_asarnow_pyem.pyem.util.util_py.chimera_xform2str", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.cnf_py.Contraction.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.contingent_problem_py.ContingentProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.htn.hierarchical_problem_py.HierarchicalProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.score_py.Score.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.__init___py.BlitzObjectWrapper.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.util.concurrency_py.AtExitEvent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero_ext.path_py.path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.contracts.vyper.decoder_utils_py._Struct.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.abi_py.Address.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70391654_fkie_cad_logprep.logprep.processor.base.rule_py.Rule.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fd_models_py.test_model_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fit_py.test_fit_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.ObjectSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.session.session_py.SessionSet.__repr__"]. |
pasteorg_paste | Dummy_smtplib | public | 0 | 0 | __init__ | def __init__(self, base_path, path):self.base_path = base_pathself.path = pathself.full = os.path.join(base_path, path)self.size = 'N/A'self.mtime = 'N/A' | 1 | 6 | 3 | 43 | 0 | 1,669 | 1,674 | 1,669 | self,server | [] | None | {"Assign": 3, "Expr": 1} | 1 | 11 | 1 | ["warnings.warn"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called Dummy_smtplib.The function start at line 1669 and ends at 1674. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [1669.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["warnings.warn"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | TestResponse | public | 0 | 0 | __repr__ | def __repr__(self):return '<%s %s:%s>' % (self.__class__.__name__,self.base_path, self.path) | 1 | 4 | 1 | 23 | 0 | 1,676 | 1,679 | 1,655 | self | [] | Returns | {"Assign": 3, "Return": 1} | 1 | 5 | 1 | ["body.decode"] | 29 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v1_2.test_app_py.AppTestCase.test_ref", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Object.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712456_stefanfoulis_django_phonenumber_field.phonenumber_field.phonenumber_py.PhoneNumber.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Number.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Reagent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953196_wangzheng0822_algo.python.28_heap.heap_py.Heap.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967182_asarnow_pyem.pyem.util.util_py.chimera_xform2str", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.cnf_py.Contraction.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.contingent_problem_py.ContingentProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.htn.hierarchical_problem_py.HierarchicalProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.score_py.Score.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.__init___py.BlitzObjectWrapper.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.util.concurrency_py.AtExitEvent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero_ext.path_py.path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.contracts.vyper.decoder_utils_py._Struct.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.abi_py.Address.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70391654_fkie_cad_logprep.logprep.processor.base.rule_py.Rule.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fd_models_py.test_model_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fit_py.test_fit_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.ObjectSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.session.session_py.SessionSet.__repr__"] | The function (__repr__) defined within the public class called TestResponse.The function start at line 1676 and ends at 1679. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["body.decode"], It has 29.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.tests.v1_2.test_app_py.AppTestCase.test_ref", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Object.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712456_stefanfoulis_django_phonenumber_field.phonenumber_field.phonenumber_py.PhoneNumber.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Number.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3917268_lilott8_bioscript.compiler.data_structures.variable_py.Reagent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953196_wangzheng0822_algo.python.28_heap.heap_py.Heap.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967182_asarnow_pyem.pyem.util.util_py.chimera_xform2str", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.cnf_py.Contraction.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.contingent_problem_py.ContingentProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68272342_aiplan4eu_unified_planning.unified_planning.model.htn.hierarchical_problem_py.HierarchicalProblem.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.score_py.Score.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.__init___py.BlitzObjectWrapper.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.gateway.utils_py.ServiceOptsDict.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.util.concurrency_py.AtExitEvent.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero_ext.path_py.path.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.contracts.vyper.decoder_utils_py._Struct.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70179132_vyperlang_titanoboa.boa.util.abi_py.Address.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70391654_fkie_cad_logprep.logprep.processor.base.rule_py.Rule.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fd_models_py.test_model_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70618802_lumicks_pylake.lumicks.pylake.fitting.tests.test_fit_py.test_fit_reprs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.individual_py.ObjectSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__repr__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.session.session_py.SessionSet.__repr__"]. |
pasteorg_paste | public | public | 0 | 0 | _popget | def _popget(d, key, default=None):"""Pop the key if found (else return default)"""if key in d:return d.pop(key)return default | 2 | 4 | 3 | 26 | 0 | 1,681 | 1,687 | 1,681 | d,key,default | [] | Returns | {"Expr": 1, "If": 1, "Return": 2} | 1 | 7 | 1 | ["d.pop"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.TestFileEnvironment.run"] | The function (_popget) defined within the public class called public.The function start at line 1681 and ends at 1687. It contains 4 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [1681.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["d.pop"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.TestFileEnvironment.run"]. |
pasteorg_paste | public | public | 0 | 0 | _space_prefix | def _space_prefix(pref, full, sep=None, indent=None, include_sep=True):"""Anything shared by pref and full will be replaced with spacesin full, and full returned."""if sep is None:sep = os.path.seppref = pref.split(sep)full = full.split(sep)padding = []while pref and full and pref[0] == full[0]:if indent is None:padding.append(' ' * (len(full[0]) + len(sep)))else:padding.append(' ' * indent)full.pop(0)pref.pop(0)if padding:if include_sep:return ''.join(padding) + sep + sep.join(full)else:return ''.join(padding) + sep.join(full)else:return sep.join(full) | 8 | 20 | 5 | 162 | 4 | 1,689 | 1,712 | 1,689 | pref,full,sep,indent,include_sep | ['padding', 'full', 'sep', 'pref'] | Returns | {"Assign": 4, "Expr": 5, "If": 4, "Return": 3, "While": 1} | 13 | 24 | 13 | ["pref.split", "full.split", "padding.append", "len", "len", "padding.append", "full.pop", "pref.pop", "join", "sep.join", "join", "sep.join", "sep.join"] | 3 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.debug.fsdiff_py.Diff.report", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.debug.fsdiff_py.report_expected_diffs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.ProcResult.__str__"] | The function (_space_prefix) defined within the public class called public.The function start at line 1689 and ends at 1712. It contains 20 lines of code and it has a cyclomatic complexity of 8. It takes 5 parameters, represented as [1689.0], and this function return a value. It declares 13.0 functions, It has 13.0 functions called inside which are ["pref.split", "full.split", "padding.append", "len", "len", "padding.append", "full.pop", "pref.pop", "join", "sep.join", "join", "sep.join", "sep.join"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.debug.fsdiff_py.Diff.report", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.debug.fsdiff_py.report_expected_diffs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.ProcResult.__str__"]. |
pasteorg_paste | public | public | 0 | 0 | _make_pattern | def _make_pattern(pat):if pat is None:return Noneif isinstance(pat, (bytes, str)):pat = re.compile(pat)if hasattr(pat, 'search'):return pat.searchif callable(pat):return patassert 0, ("Cannot make callable pattern object out of %r" % pat) | 5 | 11 | 1 | 60 | 1 | 1,714 | 1,724 | 1,714 | pat | ['pat'] | Returns | {"Assign": 1, "If": 4, "Return": 3} | 4 | 11 | 4 | ["isinstance", "re.compile", "hasattr", "callable"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.TestResponse._find_element"] | The function (_make_pattern) defined within the public class called public.The function start at line 1714 and ends at 1724. It contains 11 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters, and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["isinstance", "re.compile", "hasattr", "callable"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.TestResponse._find_element"]. |
pasteorg_paste | public | public | 0 | 0 | setup_module | def setup_module(module=None):"""This is used by pytest if it is in the module, so you canimport this directly.Use like::from paste.fixture import setup_module"""# Deprecated June 2008import warningswarnings.warn('setup_module is deprecated',DeprecationWarning, 2)if module is None:# The module we were called from must be the module...module = sys._getframe().f_back.f_globals['__name__']if isinstance(module, (bytes, str)):module = sys.modules[module]if hasattr(module, 'reset_state'):module.reset_state() | 4 | 11 | 1 | 72 | 1 | 1,727 | 1,747 | 1,727 | module | ['module'] | None | {"Assign": 2, "Expr": 3, "If": 3} | 5 | 21 | 5 | ["warnings.warn", "sys._getframe", "isinstance", "hasattr", "module.reset_state"] | 0 | [] | The function (setup_module) defined within the public class called public.The function start at line 1727 and ends at 1747. It contains 11 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 5.0 functions, and It has 5.0 functions called inside which are ["warnings.warn", "sys._getframe", "isinstance", "hasattr", "module.reset_state"]. |
pasteorg_paste | public | public | 0 | 0 | html_unquote | def html_unquote(v):"""Unquote (some) entities in HTML.(incomplete)"""for ent, repl in [(' ', ' '), ('>', '>'),('<', '<'), ('"', '"'),('&', '&')]:v = v.replace(ent, repl)return v | 2 | 6 | 1 | 55 | 1 | 1,749 | 1,757 | 1,749 | v | ['v'] | Returns | {"Assign": 1, "Expr": 1, "For": 1, "Return": 1} | 1 | 9 | 1 | ["v.replace"] | 3 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.Form._parse_fields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py._parse_attrs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.quoting_py.strip_html"] | The function (html_unquote) defined within the public class called public.The function start at line 1749 and ends at 1757. It contains 6 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["v.replace"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py.Form._parse_fields", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fixture_py._parse_attrs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.quoting_py.strip_html"]. |
pasteorg_paste | SessionMiddleware | public | 0 | 0 | __init__ | def __init__(self, app, global_conf=None, session_type=NO_DEFAULT, cookie_name=NO_DEFAULT, **store_config ):self.application = appif session_type is NO_DEFAULT:session_type = global_conf.get('session_type', 'disk')self.session_type = session_typetry:self.store_class, self.store_args = self.session_classes[self.session_type]except KeyError:raise KeyError("The session_type %s is unknown (I know about %s)"% (self.session_type, ', '.join(self.session_classes.keys())))kw = {}for config_name, kw_name, coercer, default in self.store_args:value = coercer(store_config.get(config_name, default))kw[kw_name] = valueself.store = self.store_class(**kw)if cookie_name is NO_DEFAULT:cookie_name = global_conf.get('session_cookie', '_SID_')self.cookie_name = cookie_name | 5 | 25 | 6 | 159 | 0 | 45 | 69 | 45 | self,app,global_conf,session_type,cookie_name,**store_config | [] | None | {"Assign": 10, "For": 1, "If": 2, "Try": 1} | 8 | 25 | 8 | ["global_conf.get", "KeyError", "join", "self.session_classes.keys", "coercer", "store_config.get", "self.store_class", "global_conf.get"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called SessionMiddleware.The function start at line 45 and ends at 69. It contains 25 lines of code and it has a cyclomatic complexity of 5. It takes 6 parameters, represented as [45.0] and does not return any value. It declares 8.0 functions, It has 8.0 functions called inside which are ["global_conf.get", "KeyError", "join", "self.session_classes.keys", "coercer", "store_config.get", "self.store_class", "global_conf.get"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | public | public | 0 | 0 | __call__.cookie_start_response | def cookie_start_response(status, headers, exc_info=None):service.addCookie(headers)return start_response(status, headers, exc_info) | 1 | 3 | 3 | 26 | 0 | 77 | 79 | 77 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (__call__.cookie_start_response) defined within the public class called public.The function start at line 77 and ends at 79. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [77.0] and does not return any value.. |
pasteorg_paste | SessionMiddleware | public | 0 | 0 | __call__ | def __call__(self, environ, start_response):service = flup_session.SessionService(self.store, environ, cookieName=self.cookie_name,fieldName=self.cookie_name)environ['paste.flup_session_service'] = servicedef cookie_start_response(status, headers, exc_info=None):service.addCookie(headers)return start_response(status, headers, exc_info)try:app_iter = self.application(environ, cookie_start_response)except httpexceptions.HTTPException as e:headers = (e.headers or {}).items()service.addCookie(headers)e.headers = dict(headers)service.close()raiseexcept Exception:service.close()raisereturn wsgilib.add_close(app_iter, service.close) | 4 | 18 | 3 | 114 | 0 | 71 | 93 | 71 | self,environ,start_response | [] | Returns | {"Assign": 5, "Expr": 4, "Return": 2, "Try": 1} | 10 | 23 | 10 | ["flup_session.SessionService", "service.addCookie", "start_response", "self.application", "items", "service.addCookie", "dict", "service.close", "service.close", "wsgilib.add_close"] | 43 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.renderers_py.GeoJSON.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.PermissionValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.core_py._Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.validators.__init___py.URLValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657361_openstack_archive_syntribos.syntribos.utils.file_utils_py.ContentType.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.sigopt.objects_py.DeprecatedField.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.src.scout_apm.async_.api_py.AsyncDecoratorMixin.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707931_jonashaag_klaus.klaus.utils_py.ProxyFix.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915596_conan_io_conan_package_tools.cpt.packager_py.ConanOutputRunner.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.util.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964585_django_channels.channels.auth_py.AuthMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966276_appimagecrafters_appimage_builder.appimagebuilder.recipe.roamer_py.Roamer.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.constant_py.ConstantMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.delta_py.DeltaMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.distribution_py.DistributionMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3984945_c4urself_bump2version.bumpversion.utils_py.DiscardDefaultIfSpecifiedAppendAction.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Section.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.class_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.function_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_neuron.bsb_neuron.cell_py.ArborizeModelTypeHandler.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69649459_evil0ctal_douyin_tiktok_download_api.crawlers.utils.logger_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69862126_timmccool_scratchattach.scratchattach.editor.commons_py.SingletonMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70617371_bluebrain_neurom.neurom.core.types_py._ArgsIntsOrTuples.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.76291634_whitemagic_joystickgremlin.gremlin.common_py.SingletonMetaclass.__call__"] | The function (__call__) defined within the public class called SessionMiddleware.The function start at line 71 and ends at 93. It contains 18 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [71.0], and this function return a value. It declares 10.0 functions, It has 10.0 functions called inside which are ["flup_session.SessionService", "service.addCookie", "start_response", "self.application", "items", "service.addCookie", "dict", "service.close", "service.close", "wsgilib.add_close"], It has 43.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.renderers_py.GeoJSON.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.PermissionValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.core_py._Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.validators.__init___py.URLValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657361_openstack_archive_syntribos.syntribos.utils.file_utils_py.ContentType.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.sigopt.objects_py.DeprecatedField.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.src.scout_apm.async_.api_py.AsyncDecoratorMixin.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707931_jonashaag_klaus.klaus.utils_py.ProxyFix.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915596_conan_io_conan_package_tools.cpt.packager_py.ConanOutputRunner.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.util.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964585_django_channels.channels.auth_py.AuthMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966276_appimagecrafters_appimage_builder.appimagebuilder.recipe.roamer_py.Roamer.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.constant_py.ConstantMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.delta_py.DeltaMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.distribution_py.DistributionMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3984945_c4urself_bump2version.bumpversion.utils_py.DiscardDefaultIfSpecifiedAppendAction.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Section.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.class_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.function_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_neuron.bsb_neuron.cell_py.ArborizeModelTypeHandler.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69649459_evil0ctal_douyin_tiktok_download_api.crawlers.utils.logger_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69862126_timmccool_scratchattach.scratchattach.editor.commons_py.SingletonMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70617371_bluebrain_neurom.neurom.core.types_py._ArgsIntsOrTuples.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.76291634_whitemagic_joystickgremlin.gremlin.common_py.SingletonMetaclass.__call__"]. |
pasteorg_paste | public | public | 0 | 0 | make_session_middleware | def make_session_middleware(app, global_conf,session_type=NO_DEFAULT,cookie_name=NO_DEFAULT,**store_config):"""Wraps the application in a session-managing middleware.The session service can then be found in``environ['paste.flup_session_service']``"""return SessionMiddleware(app, global_conf=global_conf,session_type=session_type, cookie_name=cookie_name,**store_config) | 1 | 8 | 5 | 39 | 0 | 95 | 107 | 95 | app,global_conf,session_type,cookie_name,**store_config | [] | Returns | {"Expr": 1, "Return": 1} | 1 | 13 | 1 | ["SessionMiddleware"] | 0 | [] | The function (make_session_middleware) defined within the public class called public.The function start at line 95 and ends at 107. It contains 8 lines of code and it has a cyclomatic complexity of 1. It takes 5 parameters, represented as [95.0], and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["SessionMiddleware"]. |
pasteorg_paste | middleware | public | 0 | 0 | __init__ | def __init__(self, application, compress_level=6):self.application = applicationself.compress_level = int(compress_level) | 1 | 3 | 3 | 24 | 0 | 24 | 26 | 24 | self,application,compress_level | [] | None | {"Assign": 2} | 1 | 3 | 1 | ["int"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called middleware.The function start at line 24 and ends at 26. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [24.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["int"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | middleware | public | 0 | 0 | __call__ | def __call__(self, environ, start_response):if 'gzip' not in environ.get('HTTP_ACCEPT_ENCODING', '') \ or environ['REQUEST_METHOD'] == 'HEAD':# nothing for us to do, so this middleware will# be a no-op (there's no body expected in the HEAD case,# and if we open a GzipFile we would produce an erroneous# 20-byte header and trailer):return self.application(environ, start_response)response = GzipResponse(start_response, self.compress_level)app_iter = self.application(environ,response.gzip_start_response)if app_iter is not None:response.finish_response(app_iter)return response.write() | 4 | 10 | 3 | 79 | 0 | 28 | 42 | 28 | self,environ,start_response | [] | Returns | {"Assign": 2, "Expr": 1, "If": 2, "Return": 2} | 6 | 15 | 6 | ["environ.get", "self.application", "GzipResponse", "self.application", "response.finish_response", "response.write"] | 43 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.renderers_py.GeoJSON.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.PermissionValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.core_py._Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.validators.__init___py.URLValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657361_openstack_archive_syntribos.syntribos.utils.file_utils_py.ContentType.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.sigopt.objects_py.DeprecatedField.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.src.scout_apm.async_.api_py.AsyncDecoratorMixin.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707931_jonashaag_klaus.klaus.utils_py.ProxyFix.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915596_conan_io_conan_package_tools.cpt.packager_py.ConanOutputRunner.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.util.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964585_django_channels.channels.auth_py.AuthMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966276_appimagecrafters_appimage_builder.appimagebuilder.recipe.roamer_py.Roamer.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.constant_py.ConstantMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.delta_py.DeltaMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.distribution_py.DistributionMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3984945_c4urself_bump2version.bumpversion.utils_py.DiscardDefaultIfSpecifiedAppendAction.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Section.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.class_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.function_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_neuron.bsb_neuron.cell_py.ArborizeModelTypeHandler.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69649459_evil0ctal_douyin_tiktok_download_api.crawlers.utils.logger_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69862126_timmccool_scratchattach.scratchattach.editor.commons_py.SingletonMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70617371_bluebrain_neurom.neurom.core.types_py._ArgsIntsOrTuples.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.76291634_whitemagic_joystickgremlin.gremlin.common_py.SingletonMetaclass.__call__"] | The function (__call__) defined within the public class called middleware.The function start at line 28 and ends at 42. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [28.0], and this function return a value. It declares 6.0 functions, It has 6.0 functions called inside which are ["environ.get", "self.application", "GzipResponse", "self.application", "response.finish_response", "response.write"], It has 43.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.renderers_py.GeoJSON.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.PermissionValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3609375_dyninc_dyn_python.dyn.core_py._Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.validators.__init___py.URLValidator.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657361_openstack_archive_syntribos.syntribos.utils.file_utils_py.ContentType.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664992_sigopt_sigopt_python.sigopt.objects_py.DeprecatedField.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.src.scout_apm.async_.api_py.AsyncDecoratorMixin.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707931_jonashaag_klaus.klaus.utils_py.ProxyFix.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915596_conan_io_conan_package_tools.cpt.packager_py.ConanOutputRunner.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.utility.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960094_jhao104_proxy_pool.util.singleton_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964585_django_channels.channels.auth_py.AuthMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966276_appimagecrafters_appimage_builder.appimagebuilder.recipe.roamer_py.Roamer.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.constant_py.ConstantMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.delta_py.DeltaMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969490_pyro_ppl_funsor.funsor.distribution_py.DistributionMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3984945_c4urself_bump2version.bumpversion.utils_py.DiscardDefaultIfSpecifiedAppendAction.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Section.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.class_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_core.bsb.config.types_py.function_.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.packages.bsb_neuron.bsb_neuron.cell_py.ArborizeModelTypeHandler.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69649459_evil0ctal_douyin_tiktok_download_api.crawlers.utils.logger_py.Singleton.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69862126_timmccool_scratchattach.scratchattach.editor.commons_py.SingletonMeta.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70617371_bluebrain_neurom.neurom.core.types_py._ArgsIntsOrTuples.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.76291634_whitemagic_joystickgremlin.gremlin.common_py.SingletonMetaclass.__call__"]. |
pasteorg_paste | middleware | public | 0 | 0 | __init__ | def __init__(self, start_response, compress_level):self.start_response = start_responseself.compress_level = compress_levelself.buffer = io.BytesIO()self.compressible = Falseself.content_length = None | 1 | 6 | 3 | 38 | 0 | 46 | 51 | 46 | self,application,compress_level | [] | None | {"Assign": 2} | 1 | 3 | 1 | ["int"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called middleware.The function start at line 46 and ends at 51. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [46.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["int"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
pasteorg_paste | GzipResponse | public | 0 | 0 | gzip_start_response | def gzip_start_response(self, status, headers, exc_info=None):self.headers = headersct = header_value(headers,'content-type')ce = header_value(headers,'content-encoding')self.compressible = Falseif ct and (ct.startswith('text/') or ct.startswith('application/')) \and 'zip' not in ct:self.compressible = Trueif ce:self.compressible = Falseif self.compressible:headers.append(('content-encoding', 'gzip'))remove_header(headers, 'content-length')self.headers = headersself.status = statusreturn self.buffer.write | 7 | 16 | 4 | 114 | 0 | 53 | 68 | 53 | self,status,headers,exc_info | [] | Returns | {"Assign": 8, "Expr": 2, "If": 3, "Return": 1} | 6 | 16 | 6 | ["header_value", "header_value", "ct.startswith", "ct.startswith", "headers.append", "remove_header"] | 0 | [] | The function (gzip_start_response) defined within the public class called GzipResponse.The function start at line 53 and ends at 68. It contains 16 lines of code and it has a cyclomatic complexity of 7. It takes 4 parameters, represented as [53.0], and this function return a value. It declares 6.0 functions, and It has 6.0 functions called inside which are ["header_value", "header_value", "ct.startswith", "ct.startswith", "headers.append", "remove_header"]. |
pasteorg_paste | GzipResponse | public | 0 | 0 | write | def write(self):out = self.bufferout.seek(0)s = out.getvalue()out.close()return [s] | 1 | 6 | 1 | 32 | 0 | 70 | 75 | 70 | self | [] | Returns | {"Assign": 2, "Expr": 2, "Return": 1} | 3 | 6 | 3 | ["out.seek", "out.getvalue", "out.close"] | 501 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.gen_pickles_py.generate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.examples.crawler_py.write_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsCommand.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsReparse.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsWrapLines.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3605399_futapi_fut.fut.log_py.logger", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.spec.config_py.setup", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.unit.config_py.DescribeFromApp.it_merges_parent_Configs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_override_requirements_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_timestamps_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.testing.__init___py.requirements", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.io_py.Request._prepare_files", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.tests.importers.test_base_importer_py.test_import_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.toolbox.integrated_panel_py.ManagesIntegratedToolPanelMixin._write_integrated_tool_panel_config_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682952_cisagov_trustymail.src.trustymail.cli_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_is_backwards_compatible", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_project", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717445_kiminewt_pyshark.src.pyshark.ek_field_mapping_py._EkFieldMapping.load_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.gui.synchronize_dialog_py.SynchronizeDialog.start_synchronization", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.pngsuite_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_L2", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_LA", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923090_astropy_sphinx_automodapi.sphinx_automodapi.tests.__init___py.cython_testpackage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923947_luispedro_jug.jug.backends.encode_py.encode_to", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3952372_thebjorn_pydeps.tests.filemaker_py.Filemaker.make_file"] | The function (write) defined within the public class called GzipResponse.The function start at line 70 and ends at 75. It contains 6 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 3.0 functions, It has 3.0 functions called inside which are ["out.seek", "out.getvalue", "out.close"], It has 501.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.gen_pickles_py.generate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.examples.crawler_py.write_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsCommand.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsReparse.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567333_spadgos_sublime_jsdocs.jsdocs_py.JsdocsWrapLines.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3605399_futapi_fut.fut.log_py.logger", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.spec.config_py.setup", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.unit.config_py.DescribeFromApp.it_merges_parent_Configs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_override_requirements_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.functional.simple_test_py.test_timestamps_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3645277_yelp_venv_update.tests.testing.__init___py.requirements", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.io_py.Request._prepare_files", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.tests.importers.test_base_importer_py.test_import_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.toolbox.integrated_panel_py.ManagesIntegratedToolPanelMixin._write_integrated_tool_panel_config_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682952_cisagov_trustymail.src.trustymail.cli_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_is_backwards_compatible", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3715078_transifex_transifex_client.tests.test_commands_py.TestConfigCommand.test_auto_remote_project", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717445_kiminewt_pyshark.src.pyshark.ek_field_mapping_py._EkFieldMapping.load_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914659_opengisch_qfieldsync.qfieldsync.gui.synchronize_dialog_py.SynchronizeDialog.start_synchronization", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.pngsuite_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_L2", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921765_drj11_pypng.code.test_png_py.Test.test_from_array_LA", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923090_astropy_sphinx_automodapi.sphinx_automodapi.tests.__init___py.cython_testpackage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3923947_luispedro_jug.jug.backends.encode_py.encode_to", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3952372_thebjorn_pydeps.tests.filemaker_py.Filemaker.make_file"]. |
pasteorg_paste | GzipResponse | public | 0 | 0 | finish_response | def finish_response(self, app_iter):if self.compressible:output = gzip.GzipFile(mode='wb', compresslevel=self.compress_level,fileobj=self.buffer)else:output = self.buffertry:for s in app_iter:output.write(s)if self.compressible:output.close()finally:if hasattr(app_iter, 'close'):app_iter.close()content_length = self.buffer.tell()CONTENT_LENGTH.update(self.headers, content_length)self.start_response(self.status, self.headers) | 6 | 17 | 2 | 110 | 0 | 77 | 93 | 77 | self,app_iter | [] | None | {"Assign": 3, "Expr": 5, "For": 1, "If": 3, "Try": 1} | 8 | 17 | 8 | ["gzip.GzipFile", "output.write", "output.close", "hasattr", "app_iter.close", "self.buffer.tell", "CONTENT_LENGTH.update", "self.start_response"] | 0 | [] | The function (finish_response) defined within the public class called GzipResponse.The function start at line 77 and ends at 93. It contains 17 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [77.0] and does not return any value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["gzip.GzipFile", "output.write", "output.close", "hasattr", "app_iter.close", "self.buffer.tell", "CONTENT_LENGTH.update", "self.start_response"]. |
pasteorg_paste | public | public | 0 | 0 | filter_factory.filter | def filter(application):return middleware(application) | 1 | 2 | 1 | 10 | 0 | 100 | 101 | 100 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (filter_factory.filter) defined within the public class called public.The function start at line 100 and ends at 101. 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.. |
pasteorg_paste | public | public | 0 | 0 | filter_factory | def filter_factory(application, **conf):import warningswarnings.warn('This function is deprecated; use make_gzip_middleware instead',DeprecationWarning, 2)def filter(application):return middleware(application)return filter | 1 | 7 | 2 | 24 | 0 | 95 | 102 | 95 | application,**conf | [] | Returns | {"Expr": 1, "Return": 2} | 2 | 8 | 2 | ["warnings.warn", "middleware"] | 0 | [] | The function (filter_factory) defined within the public class called public.The function start at line 95 and ends at 102. It contains 7 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [95.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["warnings.warn", "middleware"]. |
pasteorg_paste | public | public | 0 | 0 | make_gzip_middleware | def make_gzip_middleware(app, global_conf, compress_level=6):"""Wrap the middleware, so that it applies gzipping to a responsewhen it is supported by the browser and the content is oftype ``text/*`` or ``application/*``"""compress_level = int(compress_level)return middleware(app, compress_level=compress_level) | 1 | 3 | 3 | 27 | 1 | 104 | 111 | 104 | app,global_conf,compress_level | ['compress_level'] | Returns | {"Assign": 1, "Expr": 1, "Return": 1} | 2 | 8 | 2 | ["int", "middleware"] | 0 | [] | The function (make_gzip_middleware) defined within the public class called public.The function start at line 104 and ends at 111. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [104.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["int", "middleware"]. |
pasteorg_paste | HTTPException | public | 0 | 1 | __init__ | def __init__(self, detail=None, headers=None, comment=None):assert self.code, "Do not directly instantiate abstract exceptions."assert isinstance(headers, (type(None), list)), ("headers must be None or a list: %r"% headers)assert isinstance(detail, (type(None), bytes, str)), ("detail must be None or a string: %r" % detail)assert isinstance(comment, (type(None), bytes, str)), ("comment must be None or a string: %r" % comment)self.headers = headers or tuple()for req in self.required_headers:assert headers and has_header(headers, req), ("Exception %s must be passed the header %r ""(got headers: %r)"% (self.__class__.__name__, req, headers))if detail is not None:self.detail = detailif comment is not None:self.comment = commentException.__init__(self,"%s %s\n%s\n%s\n" % (self.code, self.title, self.explanation, self.detail)) | 6 | 21 | 4 | 177 | 0 | 175 | 195 | 175 | self,detail,headers,comment | [] | None | {"Assign": 3, "Expr": 1, "For": 1, "If": 2} | 9 | 21 | 9 | ["isinstance", "type", "isinstance", "type", "isinstance", "type", "tuple", "has_header", "Exception.__init__"] | 6,814 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"] | The function (__init__) defined within the public class called HTTPException, that inherit another class.The function start at line 175 and ends at 195. It contains 21 lines of code and it has a cyclomatic complexity of 6. It takes 4 parameters, represented as [175.0] and does not return any value. It declares 9.0 functions, It has 9.0 functions called inside which are ["isinstance", "type", "isinstance", "type", "isinstance", "type", "tuple", "has_header", "Exception.__init__"], It has 6814.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Autotools.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.CMake.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Meson.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.11907713_pydrocsid_morpheushelper.bot.cogs.custom.bot_info.cog_py.CustomBotInfoCog.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.abc_py.Reply.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Announcement.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.AnnouncementChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEvent.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.CalendarEventRSVP.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ChatChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DMChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Doc.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.DocsChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ForumTopic.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItem.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.ListItemNote.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Media.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.MediaChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.SchedulingChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.StreamChannel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.Thread.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.channel_py.VoiceChannel.__init__"]. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.