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
HTTPException
public
0
1
make_body
def make_body(self, environ, template, escfunc, comment_escfunc=None):comment_escfunc = comment_escfunc or escfuncargs = {'explanation': escfunc(self.explanation),'detail': escfunc(self.detail),'comment': comment_escfunc(self.comment)}if HTTPException.template != self.template:for (k, v) in environ.items():args[k] = escfunc(v)if self.headers:for (k, v) in self.headers:args[k.lower()] = escfunc(v)return template % args
6
12
5
114
0
197
208
197
self,environ,template,escfunc,comment_escfunc
[]
Returns
{"Assign": 4, "For": 2, "If": 2, "Return": 1}
7
12
7
["escfunc", "escfunc", "comment_escfunc", "environ.items", "escfunc", "k.lower", "escfunc"]
0
[]
The function (make_body) defined within the public class called HTTPException, that inherit another class.The function start at line 197 and ends at 208. It contains 12 lines of code and it has a cyclomatic complexity of 6. It takes 5 parameters, represented as [197.0], and this function return a value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["escfunc", "escfunc", "comment_escfunc", "environ.items", "escfunc", "k.lower", "escfunc"].
pasteorg_paste
HTTPException
public
0
1
plain
def plain(self, environ):""" text/plain representation of the exception """body = self.make_body(environ, strip_html(self.template), no_quote, comment_quote)return ('%s %s\r\n%s\r\n' % (self.code, self.title, body))
1
3
2
43
0
210
213
210
self,environ
[]
Returns
{"Assign": 1, "Expr": 1, "Return": 1}
2
4
2
["self.make_body", "strip_html"]
0
[]
The function (plain) defined within the public class called HTTPException, that inherit another class.The function start at line 210 and ends at 213. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [210.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.make_body", "strip_html"].
pasteorg_paste
HTTPException
public
0
1
html
def html(self, environ):""" text/html representation of the exception """body = self.make_body(environ, self.template, html_quote, comment_quote)return TEMPLATE % { 'title': self.title, 'code': self.code, 'server': SERVER_NAME, 'body': body }
1
7
2
48
0
215
222
215
self,environ
[]
Returns
{"Assign": 1, "Expr": 1, "Return": 1}
1
8
1
["self.make_body"]
9
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.text", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.val", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_S_this_inside_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_parameterless_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestHTMLParser.test_replaceWith_with_function", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_html_replacement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.template_py.attr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_util.test_cgitb_hook_py.test_html"]
The function (html) defined within the public class called HTTPException, that inherit another class.The function start at line 215 and ends at 222. It contains 7 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [215.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.make_body"], It has 9.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.text", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.val", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_S_this_inside_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_parameterless_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestHTMLParser.test_replaceWith_with_function", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_html_replacement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.template_py.attr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_util.test_cgitb_hook_py.test_html"].
pasteorg_paste
HTTPException
public
0
1
prepare_content
def prepare_content(self, environ):if self.headers:headers = list(self.headers)else:headers = []if 'html' in environ.get('HTTP_ACCEPT','') or \'*/*' in environ.get('HTTP_ACCEPT',''):replace_header(headers, 'content-type', 'text/html')content = self.html(environ)else:replace_header(headers, 'content-type', 'text/plain')content = self.plain(environ)if isinstance(content, str):content = content.encode('utf8')cur_content_type = (header_value(headers, 'content-type')or 'text/html')replace_header(headers, 'content-type',cur_content_type + '; charset=utf8')return headers, content
6
21
2
126
0
224
244
224
self,environ
[]
Returns
{"Assign": 6, "Expr": 3, "If": 3, "Return": 1}
11
21
11
["list", "environ.get", "environ.get", "replace_header", "self.html", "replace_header", "self.plain", "isinstance", "content.encode", "header_value", "replace_header"]
0
[]
The function (prepare_content) defined within the public class called HTTPException, that inherit another class.The function start at line 224 and ends at 244. It contains 21 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [224.0], and this function return a value. It declares 11.0 functions, and It has 11.0 functions called inside which are ["list", "environ.get", "environ.get", "replace_header", "self.html", "replace_header", "self.plain", "isinstance", "content.encode", "header_value", "replace_header"].
pasteorg_paste
HTTPException
public
0
1
response
def response(self, environ):from paste.wsgiwrappers import WSGIResponseheaders, content = self.prepare_content(environ)resp = WSGIResponse(code=self.code, content=content)resp.headers = resp.headers.fromlist(headers)return resp
1
6
2
51
0
246
251
246
self,environ
[]
Returns
{"Assign": 3, "Return": 1}
3
6
3
["self.prepare_content", "WSGIResponse", "resp.headers.fromlist"]
20
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.docker_registry.toolkit_py.api_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.apps_py.application", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_delete_failed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_delete_failed_pre_v080", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_deleted_pre_v080", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_is_deleting", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_is_analyzing", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_not_yet_analyzed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_success_headers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_success_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69442944_skalenetwork_skale_admin.core.schains.dkg.utils_py.check_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._mcp.server.main_py.setup_mcp_server", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._server.api.middleware_py.ProxyMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._server.api.middleware_py.SkewProtectionMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._server.asgi_py.DynamicDirectoryMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_middleware_py.target_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.diracx_client.src.diracx.client._generated._serialization_py.Deserializer._instantiate_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.diracx_client.src.diracx.client._generated._utils.serialization_py.Deserializer._instantiate_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.extensions.gubbins.gubbins_client.src.gubbins.client._generated._serialization_py.Deserializer._instantiate_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.extensions.gubbins.gubbins_client.src.gubbins.client._generated._utils.serialization_py.Deserializer._instantiate_model"]
The function (response) defined within the public class called HTTPException, that inherit another class.The function start at line 246 and ends at 251. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [246.0], and this function return a value. It declares 3.0 functions, It has 3.0 functions called inside which are ["self.prepare_content", "WSGIResponse", "resp.headers.fromlist"], It has 20.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.docker_registry.toolkit_py.api_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.apps_py.application", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_delete_failed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_delete_failed_pre_v080", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_deleted_pre_v080", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestDeleteImage.test_is_deleting", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_is_analyzing", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_not_yet_analyzed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_success_headers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3969997_anchore_anchore_cli.tests.unit.cli.test_image_py.TestQueryVuln.test_success_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69442944_skalenetwork_skale_admin.core.schains.dkg.utils_py.check_response", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._mcp.server.main_py.setup_mcp_server", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._server.api.middleware_py.ProxyMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._server.api.middleware_py.SkewProtectionMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.marimo._server.asgi_py.DynamicDirectoryMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_middleware_py.target_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.diracx_client.src.diracx.client._generated._serialization_py.Deserializer._instantiate_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.diracx_client.src.diracx.client._generated._utils.serialization_py.Deserializer._instantiate_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.extensions.gubbins.gubbins_client.src.gubbins.client._generated._serialization_py.Deserializer._instantiate_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95255939_DIRACGrid_diracx.extensions.gubbins.gubbins_client.src.gubbins.client._generated._utils.serialization_py.Deserializer._instantiate_model"].
pasteorg_paste
HTTPException
public
0
1
wsgi_application
def wsgi_application(self, environ, start_response, exc_info=None):"""This exception as a WSGI application"""headers, content = self.prepare_content(environ)start_response('%s %s' % (self.code, self.title), headers, exc_info)return [content]
1
6
4
46
0
253
261
253
self,environ,start_response,exc_info
[]
Returns
{"Assign": 1, "Expr": 2, "Return": 1}
2
9
2
["self.prepare_content", "start_response"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fileapp_py.DataApp.get"]
The function (wsgi_application) defined within the public class called HTTPException, that inherit another class.The function start at line 253 and ends at 261. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [253.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.prepare_content", "start_response"], 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.fileapp_py.DataApp.get"].
pasteorg_paste
HTTPException
public
0
1
__repr__
def __repr__(self):return '<%s %s; code=%s>' % (self.__class__.__name__, self.title, self.code)
1
3
1
23
0
265
267
265
self
[]
Returns
{"Return": 1}
0
3
0
[]
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 HTTPException, that inherit another class.The function start at line 265 and ends at 267. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It 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
HTTPException
public
0
1
__init__
def __init__(self, detail=None, headers=None, comment=None):assert isinstance(headers, (type(None), list))headers = headers or []location = header_value(headers,'location')if not location:location = detaildetail = ''headers.append(('location', location))assert location, ("HTTPRedirection specified neither a ""location in the headers nor did it ""provide a detail argument.")HTTPRedirection.__init__(self, location, headers, comment)if detail is not None:self.detail = detail
4
14
4
96
0
317
330
317
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 317 and ends at 330. It contains 14 lines of code and it has a cyclomatic complexity of 4. It takes 4 parameters, represented as [317.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__"].
pasteorg_paste
_HTTPMove
protected
0
1
relative_redirect
def relative_redirect(cls, dest_uri, environ, detail=None, headers=None, comment=None):"""Create a redirect object with the dest_uri, which may be relative,considering it relative to the uri implied by the given environ."""location = resolve_relative_url(dest_uri, environ)headers = headers or []headers.append(('Location', location))return cls(detail=detail, headers=headers, comment=comment)
2
5
6
61
0
332
340
332
cls,dest_uri,environ,detail,headers,comment
[]
Returns
{"Assign": 2, "Expr": 2, "Return": 1}
3
9
3
["resolve_relative_url", "headers.append", "cls"]
0
[]
The function (relative_redirect) defined within the protected class called _HTTPMove, that inherit another class.The function start at line 332 and ends at 340. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 6 parameters, represented as [332.0], and this function return a value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["resolve_relative_url", "headers.append", "cls"].
pasteorg_paste
_HTTPMove
protected
0
1
location
def location(self):for name, value in self.headers:if name.lower() == 'location':return valueelse:raise KeyError("No location set for %s" % self)
3
6
1
34
0
344
349
344
self
[]
Returns
{"For": 1, "If": 1, "Return": 1}
2
6
2
["name.lower", "KeyError"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.planet.reconstitute_py.reconstitute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77599168_scrapy_plugins_scrapy_zyte_api.tests.test_sessions_py.test_session_config_location"]
The function (location) defined within the protected class called _HTTPMove, that inherit another class.The function start at line 344 and ends at 349. It contains 6 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, It has 2.0 functions called inside which are ["name.lower", "KeyError"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.planet.reconstitute_py.reconstitute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77599168_scrapy_plugins_scrapy_zyte_api.tests.test_sessions_py.test_session_config_location"].
pasteorg_paste
HTTPException
public
0
1
plain
def plain(self, environ):return ''
1
2
2
9
0
379
380
379
self,environ
[]
Returns
{"Assign": 1, "Expr": 1, "Return": 1}
2
4
2
["self.make_body", "strip_html"]
0
[]
The function (plain) defined within the public class called HTTPException, that inherit another class.The function start at line 379 and ends at 380. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [379.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.make_body", "strip_html"].
pasteorg_paste
HTTPException
public
0
1
html
def html(self, environ):""" text/html representation of the exception """return ''
1
2
2
10
0
381
383
381
self,environ
[]
Returns
{"Assign": 1, "Expr": 1, "Return": 1}
1
8
1
["self.make_body"]
9
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.text", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.val", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_S_this_inside_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_parameterless_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestHTMLParser.test_replaceWith_with_function", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_html_replacement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.template_py.attr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_util.test_cgitb_hook_py.test_html"]
The function (html) defined within the public class called HTTPException, that inherit another class.The function start at line 381 and ends at 383. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [381.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.make_body"], It has 9.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.text", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.pyquery.pyquery_py.PyQuery.val", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_S_this_inside_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestCallback.test_parameterless_callback", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestHTMLParser.test_replaceWith_with_function", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_html_replacement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3718286_gawel_pyquery.tests.test_pyquery_py.TestManipulating.test_remove", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.template_py.attr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_util.test_cgitb_hook_py.test_html"].
pasteorg_paste
public
public
0
0
get_exception
def get_exception(code):return _exceptions[code]
1
2
1
10
0
599
600
599
code
[]
Returns
{"Return": 1}
0
2
0
[]
19
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_cert_gen_ssh_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_py.delete_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_py.get_all_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.delete_address_from_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.get_all_address_group_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.register_ip_to_tag_map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_import_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_interface_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_object_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.add_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.delete_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.get_all_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3913189_sensipeeps_skyleebot.skylee.modules.cust_filters_py.reply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.53698295_animekaizoku_enterprisealrobot.tg_bot.modules.cust_filters_py.reply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.modules.cust_filters_py.reply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_httpexceptions_py.test_misc"]
The function (get_exception) defined within the public class called public.The function start at line 599 and ends at 600. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 19.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_cert_gen_ssh_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_py.delete_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_py.get_all_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.delete_address_from_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.get_all_address_group_mapping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_dag_tags_py.register_ip_to_tag_map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_import_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_interface_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_object_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.add_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.delete_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.get_all_address_group", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704605_paloaltonetworks_ansible_pan.library.panos_sag_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3913189_sensipeeps_skyleebot.skylee.modules.cust_filters_py.reply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.53698295_animekaizoku_enterprisealrobot.tg_bot.modules.cust_filters_py.reply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69334692_aryazakaria01_natsunagi_nagisa.Natsunagi.modules.cust_filters_py.reply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_exceptions.test_httpexceptions_py.test_misc"].
pasteorg_paste
HTTPException
public
0
1
__init__
def __init__(self, application, warning_level=None):assert not warning_level or ( warning_level > 99 andwarning_level < 600)if warning_level is not None:import warningswarnings.warn('The warning_level parameter is not used or supported',DeprecationWarning, 2)self.warning_level = warning_level or 500self.application = application
5
9
3
54
0
620
628
620
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 620 and ends at 628. It contains 9 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [620.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__"].
pasteorg_paste
HTTPExceptionHandler
public
0
0
__call__
def __call__(self, environ, start_response):environ['paste.httpexceptions'] = selfenviron.setdefault('paste.expected_exceptions', []).append(HTTPException)try:return self.application(environ, start_response)except HTTPException as exc:return exc(environ, start_response)
2
8
3
52
0
630
637
630
self,environ,start_response
[]
Returns
{"Assign": 1, "Expr": 1, "Return": 2, "Try": 1}
4
8
4
["append", "environ.setdefault", "self.application", "exc"]
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 HTTPExceptionHandler.The function start at line 630 and ends at 637. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [630.0], and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["append", "environ.setdefault", "self.application", "exc"], 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
middleware
def middleware(*args, **kw):import warnings# deprecated 13 dec 2005warnings.warn('httpexceptions.middleware is deprecated; use ''make_middleware or HTTPExceptionHandler instead',DeprecationWarning, 2)return make_middleware(*args, **kw)
1
6
2
31
0
639
645
639
*args,**kw
[]
Returns
{"Expr": 1, "Return": 1}
2
7
2
["warnings.warn", "make_middleware"]
15
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712479_corvia_django_tenant_users.tests.test_tenants.test_middleware_py.TestTenantAccessMiddleware.test_authenticated_user_no_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712479_corvia_django_tenant_users.tests.test_tenants.test_middleware_py.TestTenantAccessMiddleware.test_custom_error_message", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.90362135_qdrant_qdrant_client.qdrant_client.http.api_client_py.ApiClient.add_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.90362135_qdrant_qdrant_client.qdrant_client.http.api_client_py.AsyncApiClient.add_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_auth_middleware_preserves_user", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_auth_middleware_without_user", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_session_middleware_call", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_session_middleware_call_with_port", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_middleware_py.TestProxyMiddleware.test_proxy_middleware_websocket_protocol", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94714917_reagento_dishka.tests.integrations.aiogram.test_aiogram_py.test_autoinject_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.gzipper_py.filter_factory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.gzipper_py.make_gzip_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.lint_py.make_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.recursive_py.RecursiveMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.lib.logging.middleware.test_traceback_logger_py.TestLogTracebackMiddleware.test_log_traceback_middleware"]
The function (middleware) defined within the public class called public.The function start at line 639 and ends at 645. It contains 6 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [639.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["warnings.warn", "make_middleware"], It has 15.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712479_corvia_django_tenant_users.tests.test_tenants.test_middleware_py.TestTenantAccessMiddleware.test_authenticated_user_no_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712479_corvia_django_tenant_users.tests.test_tenants.test_middleware_py.TestTenantAccessMiddleware.test_custom_error_message", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.90362135_qdrant_qdrant_client.qdrant_client.http.api_client_py.ApiClient.add_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.90362135_qdrant_qdrant_client.qdrant_client.http.api_client_py.AsyncApiClient.add_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_auth_middleware_preserves_user", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_auth_middleware_without_user", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_session_middleware_call", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_auth_py.test_custom_session_middleware_call_with_port", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.tests._server.api.test_middleware_py.TestProxyMiddleware.test_proxy_middleware_websocket_protocol", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94714917_reagento_dishka.tests.integrations.aiogram.test_aiogram_py.test_autoinject_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.gzipper_py.filter_factory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.gzipper_py.make_gzip_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.lint_py.make_middleware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.recursive_py.RecursiveMiddleware.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.lib.logging.middleware.test_traceback_logger_py.TestLogTracebackMiddleware.test_log_traceback_middleware"].
pasteorg_paste
public
public
0
0
make_middleware
def make_middleware(app, global_conf=None, warning_level=None):"""``httpexceptions`` middleware; this catches any``paste.httpexceptions.HTTPException`` exceptions (exceptions like``HTTPNotFound``, ``HTTPMovedPermanently``, etc) and turns theminto proper HTTP responses.``warning_level`` can be an integer corresponding to an HTTP code.Any code over that value will be passed 'up' the chain, potentiallyreported on by another piece of middleware."""if warning_level:warning_level = int(warning_level)return HTTPExceptionHandler(app, warning_level=warning_level)
2
4
3
32
1
647
660
647
app,global_conf,warning_level
['warning_level']
Returns
{"Assign": 1, "Expr": 1, "If": 1, "Return": 1}
2
14
2
["int", "HTTPExceptionHandler"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tests.test_middleware_py.TestMiddleware.testMakeMiddelware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tests.test_validation_py.TestValidationError.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tw2.core.middleware_py.make_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpexceptions_py.middleware"]
The function (make_middleware) defined within the public class called public.The function start at line 647 and ends at 660. It contains 4 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [647.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["int", "HTTPExceptionHandler"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tests.test_middleware_py.TestMiddleware.testMakeMiddelware", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tests.test_validation_py.TestValidationError.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tw2.core.middleware_py.make_app", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpexceptions_py.middleware"].
pasteorg_paste
EnvironVariable
public
0
1
__call__
def __call__(self, environ):return environ.get(self,'')
1
2
2
16
0
154
155
154
self,environ
[]
Returns
{"Return": 1}
1
2
1
["environ.get"]
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 EnvironVariable, that inherit another class.The function start at line 154 and ends at 155. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [154.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["environ.get"], 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
EnvironVariable
public
0
1
__repr__
def __repr__(self):return '<EnvironVariable %s>' % self
1
2
1
9
0
156
157
156
self
[]
Returns
{"Return": 1}
0
2
0
[]
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 EnvironVariable, that inherit another class.The function start at line 156 and ends at 157. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 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
EnvironVariable
public
0
1
update
def update(self, environ, value):environ[self] = value
1
2
3
15
0
158
159
158
self,environ,value
[]
None
{"Assign": 1}
0
2
0
[]
403
["_.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.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.put_record", "_.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_updated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.BuildBadgeViewTests.test_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.CoverageBadgeViewTests.test_coverage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.argparse_py._ArgumentGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.package_loader_py.inherit_stages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.profile_py.load_and_inherit_profile", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_neighbors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_environment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_interfaces_counters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos.nxos_py.NXOSDriver.get_interfaces_ip", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.bgp_summary_parser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.frontend.puppet_py.Manifest.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.decrement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.increment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3566443_centurylinkcloud_clc_ansible_module.clc_inv_py._add_windows_hostvars", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._update_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_events_py.TestSOASerialUpdate.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.commit_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.pipeline.base_pipeline_item_py.BasePipelineItem.update_metadata"]
The function (update) defined within the public class called EnvironVariable, that inherit another class.The function start at line 158 and ends at 159. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [158.0] and does not return any value. It has 403.0 functions calling this function which are ["_.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.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.put_record", "_.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_updated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.BuildBadgeViewTests.test_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.CoverageBadgeViewTests.test_coverage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.argparse_py._ArgumentGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.package_loader_py.inherit_stages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.profile_py.load_and_inherit_profile", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_neighbors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_environment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_interfaces_counters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos.nxos_py.NXOSDriver.get_interfaces_ip", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.bgp_summary_parser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.frontend.puppet_py.Manifest.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.decrement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.increment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3566443_centurylinkcloud_clc_ansible_module.clc_inv_py._add_windows_hostvars", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._update_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_events_py.TestSOASerialUpdate.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.commit_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.pipeline.base_pipeline_item_py.BasePipelineItem.update_metadata"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, **kwargs):"""build header value from keyword argumentsThis method is used to build the corresponding header value whenkeyword arguments (or no arguments) were provided.The resultshould be a sequence of values.For example, the ``Expires``header takes a keyword argument ``time`` (e.g. time.time()) fromwhich it returns a the corresponding date."""raise NotImplementedError()
1
2
2
13
0
273
283
273
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 273 and ends at 283. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [273.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
HTTPHeader
public
0
0
parse
def parse(self, *args, **kwargs):"""convert raw header value into more usable formThis method invokes ``values()`` with the arguments provided,parses the header results, and then returns a header-specificdata structure corresponding to the header.For example, the``Expires`` header returns seconds (as returned by time.time())"""raise NotImplementedError()
1
2
3
16
0
285
294
285
self,*args,**kwargs
[]
None
{"Expr": 1}
1
10
1
["NotImplementedError"]
177
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"]
The function (parse) defined within the public class called HTTPHeader.The function start at line 285 and ends at 294. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [285.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 177.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"].
pasteorg_paste
HTTPHeader
public
0
0
apply
def apply(self, collection, **kwargs):"""update the collection /w header value (may have side effects)This method is similar to ``update`` only that usage may resultin other headers being changed as recommended by the correspondingspecification.The return value is defined by the particularsub-class. For example, the ``_CacheControl.apply()`` sets the``Expires`` header in addition to its normal behavior."""self.update(collection, **kwargs)
1
2
3
20
0
296
306
296
self,collection,**kwargs
[]
None
{"Expr": 2}
1
11
1
["self.update"]
122
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.test_verify_py.TestVerify.test_result_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.get_elapsed_time", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.core_py.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.crossover_moving_averages_py.CrossoversMovingAverages.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.simple_moving_average_py.SimpleMovingAverage.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Collection.__find_and_modify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Database._handle_mapreduce", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_hello_eager", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_no_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.mark.mark_expander_py.MarkedFunctionExpander.expand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.creator_py.ImageCreator.configure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete_ignore_manual", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_with_custom_naming_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_yearly_apply"]
The function (apply) defined within the public class called HTTPHeader.The function start at line 296 and ends at 306. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [296.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.update"], It has 122.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.test_verify_py.TestVerify.test_result_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.get_elapsed_time", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.core_py.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.crossover_moving_averages_py.CrossoversMovingAverages.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.simple_moving_average_py.SimpleMovingAverage.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Collection.__find_and_modify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Database._handle_mapreduce", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_hello_eager", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_no_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.mark.mark_expander_py.MarkedFunctionExpander.expand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.creator_py.ImageCreator.configure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete_ignore_manual", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_with_custom_naming_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_yearly_apply"].
pasteorg_paste
HTTPHeader
public
0
0
__new__
def __new__(cls, name, category=None, reference=None, version=None):"""construct a new ``HTTPHeader`` instanceWe use the ``__new__`` operator to ensure that only one``HTTPHeader`` instance exists for each field-name, and toregister the header so that it can be found/enumerated."""self = get_header(name, raiseError=False)if self:# Allow the registration to happen again, but assert# that everything is identical.assert self.name == name, \"duplicate registration with different capitalization"assert self.category == category, \"duplicate registration with different category"assert cls == self.__class__, \"duplicate registration with different class"return selfself = object.__new__(cls)self.name = nameassert isinstance(self.name, str)self.category = category or self.categoryself.version= version or self.versionself.reference = reference or self.reference_headers[self.name.lower()] = selfself.sort_order = {'general': 1, 'request': 2, 'response': 3, 'entity': 4 }[self.category]self._environ_name = getattr(self, '_environ_name','HTTP_'+ self.name.upper().replace("-","_"))self._headers_name = getattr(self, '_headers_name', self.name.lower())assert self.version in ('1.1', '1.0', '0.9')return self
5
25
5
208
0
311
345
311
cls,name,category,reference,version
[]
Returns
{"Assign": 10, "Expr": 1, "If": 1, "Return": 2}
9
35
9
["get_header", "object.__new__", "isinstance", "self.name.lower", "getattr", "replace", "self.name.upper", "getattr", "self.name.lower"]
113
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.enums_py.EnumMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.diffoscope.comparators.elf_py.ReadelfDebugDump.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.diffoscope.comparators.utils.archive_py.Archive.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.diffoscope.comparators.utils.container_py.Container.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3551881_astrofrog_wcsaxes.ez_setup_py.ContextualZipFile.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.storage.base_py.StorageMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.testing.norm_py.Normalized.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657361_openstack_archive_syntribos.syntribos.tests.base_py.TestType.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3663017_jessevdk_cldoc.cldoc.utf8_py.utf8.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tw2.core.widgets_py.WidgetMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706154_collective_buildout_python.src.scripts.ez_setup_latest_py.ContextualZipFile.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.locator_py.SmartLocator.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.utils_py.Widgetable.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.widget.base_py.Widget.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.widget.base_py.WidgetMetaclass.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3711326_django_mptt_django_mptt.mptt.models_py.MPTTModelBase.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720440_openstack_oslo_policy.oslo_policy._parser_py.ParseStateMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.addon.player_py.TwitchPlayer.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915596_conan_io_conan_package_tools.cpt.builds_generator_py.BuildConf.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.translator_py.FieldsAggregationMetaClass.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921441_updatehub_uhu.uhu.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.tracer_py.TracerType.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.wizard_py.UnstorableType.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.psqlextra.models.partitioned_py.PostgresPartitionedModelMeta.__new__"]
The function (__new__) defined within the public class called HTTPHeader.The function start at line 311 and ends at 345. It contains 25 lines of code and it has a cyclomatic complexity of 5. It takes 5 parameters, represented as [311.0], and this function return a value. It declares 9.0 functions, It has 9.0 functions called inside which are ["get_header", "object.__new__", "isinstance", "self.name.lower", "getattr", "replace", "self.name.upper", "getattr", "self.name.lower"], It has 113.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15217004_shayypy_guilded_py.guilded.enums_py.EnumMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.diffoscope.comparators.elf_py.ReadelfDebugDump.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.diffoscope.comparators.utils.archive_py.Archive.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.diffoscope.comparators.utils.container_py.Container.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3551881_astrofrog_wcsaxes.ez_setup_py.ContextualZipFile.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.storage.base_py.StorageMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.tests.testing.norm_py.Normalized.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3657361_openstack_archive_syntribos.syntribos.tests.base_py.TestType.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3663017_jessevdk_cldoc.cldoc.utf8_py.utf8.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3687462_toscawidgets_tw2_core.tw2.core.widgets_py.WidgetMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706154_collective_buildout_python.src.scripts.ez_setup_latest_py.ContextualZipFile.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.locator_py.SmartLocator.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.utils_py.Widgetable.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.widget.base_py.Widget.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3708743_redhatqe_widgetastic_core.src.widgetastic.widget.base_py.WidgetMetaclass.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3711326_django_mptt_django_mptt.mptt.models_py.MPTTModelBase.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3720440_openstack_oslo_policy.oslo_policy._parser_py.ParseStateMeta.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915525_anxdpanic_twitch_on_kodi.resources.lib.twitch_addon.addon.player_py.TwitchPlayer.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3915596_conan_io_conan_package_tools.cpt.builds_generator_py.BuildConf.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.translator_py.FieldsAggregationMetaClass.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3921441_updatehub_uhu.uhu.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.tracer_py.TracerType.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.wizard_py.UnstorableType.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.psqlextra.models.partitioned_py.PostgresPartitionedModelMeta.__new__"].
pasteorg_paste
HTTPHeader
public
0
0
__str__
def __str__(self):return self.name
1
2
1
9
0
347
348
347
self
[]
Returns
{"Return": 1}
0
2
0
[]
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 HTTPHeader.The function start at line 347 and ends at 348. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 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
HTTPHeader
public
0
0
__lt__
def __lt__(self, other):"""sort header instances as specified by RFC 2616Re-define sorting so that general headers are first, followedby request/response headers, and then entity headers.Thelist.sort() methods use the less-than operator for this purpose."""if isinstance(other, HTTPHeader):if self.sort_order != other.sort_order:return self.sort_order < other.sort_orderreturn self.name < other.namereturn False
3
6
2
43
0
350
362
350
self,other
[]
Returns
{"Expr": 1, "If": 2, "Return": 3}
1
13
1
["isinstance"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.version_py.NeuronVersion.__lt__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69695072_nexb_univers.src.univers.version_constraint_py.VersionConstraint.__lt__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__lt__"]
The function (__lt__) defined within the public class called HTTPHeader.The function start at line 350 and ends at 362. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [350.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["isinstance"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.version_py.NeuronVersion.__lt__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69695072_nexb_univers.src.univers.version_constraint_py.VersionConstraint.__lt__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.72771145_simphony_simphony_osp.simphony_osp.ontology.utils_py.DataStructureSet.__lt__"].
pasteorg_paste
EnvironVariable
public
0
1
__repr__
def __repr__(self):ref = self.reference and (' (%s)' % self.reference) or ''return '<%s %s%s>' % (self.__class__.__name__, self.name, ref)
3
3
1
36
0
364
366
364
self
[]
Returns
{"Return": 1}
0
2
0
[]
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 EnvironVariable, that inherit another class.The function start at line 364 and ends at 366. It contains 3 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 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
HTTPHeader
public
0
0
values
def values(self, *args, **kwargs):"""find/construct field-value(s) for the given headerResolution is done according to the following arguments:- If only keyword arguments are given, then this is equivalentto ``compose(**kwargs)``.- If the first (and only) argument is a dict, it is assumedto be a WSGI ``environ`` and the result of the corresponding``HTTP_`` entry is returned.- If the first (and only) argument is a list, it is assumedto be a WSGI ``response_headers`` and the field-value(s)for this header are collected and returned.- In all other cases, the arguments are collected, checked thatthey are string values, possibly verified by the header'slogic, and returned.At this time it is an error to provide keyword arguments if argsis present (this might change).It is an error to provide botha WSGI object and also string arguments.If no arguments areprovided, then ``compose()`` is called to provide a defaultvalue for the header; if there is not default it is an error."""if not args:return self.compose(**kwargs)if list == type(args[0]):assert 1 == len(args)result = []name = self.name.lower()for value in [value for header, value in args[0] if header.lower() == name]:result.append(value)return resultif dict == type(args[0]):assert 1 == len(args) and 'wsgi.version' in args[0]value = args[0].get(self._environ_name)if not value:return ()return (value,)for item in args:assert not type(item) in (dict, list)return args
10
20
3
156
0
368
413
368
self,*args,**kwargs
[]
Returns
{"Assign": 3, "Expr": 2, "For": 2, "If": 4, "Return": 5}
10
46
10
["self.compose", "type", "len", "self.name.lower", "header.lower", "result.append", "type", "len", "get", "type"]
338
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.__get_raw_records", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3519472_california_civic_data_coalition_django_calaccess_campaign_browser.calaccess_campaign_browser.management.commands.scrapecalaccesscampaigncandidates_py.Command.process_results", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.frigg.stats.views_py.overview", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3531556_cloudnull_turbolift.turbolift.clouderator.utils_py.unique_list_dicts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.debug_embed_params_py.run_embed_params", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.api.openstack.manage_py.OpenstackManage.set_son_emu_chain_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.commands.validate_py._validate_cycle_free", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.commands.validate_py._validate_spec_names", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.compiler.compose.__init___py.get_compose_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.compiler.spec_assembler_py._get_referenced_libs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.compiler.spec_assembler_py._get_referenced_services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.schemas.base_schema_class_py.DustySpecs.get_apps_and_libs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.schemas.base_schema_class_py.DustySpecs.get_apps_and_services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.schemas.base_schema_class_py.DustySpecs.get_apps_libs_and_services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.systems.docker.__init___py.get_dusty_images", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.reports.session_py.generate_session_report", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.tools.vision.app_py_py.network", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675065_rouxrc_gazouilleur.gazouilleur.lib.stats_py.Stats.print_last", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_build_py.conda_versions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.close_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.flush_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700218_mesosphere_dcos_jenkins_service.testing.sdk_diag_py._dump_diagnostics_bundle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3702839_xiph_rd_tool.rd_server_py.scheduler_tick", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706529_openlightingproject_rdm_app.dump_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707931_jonashaag_klaus.klaus.repo_py.FancyRepo.get_last_updated_at"]
The function (values) defined within the public class called HTTPHeader.The function start at line 368 and ends at 413. It contains 20 lines of code and it has a cyclomatic complexity of 10. It takes 3 parameters, represented as [368.0], and this function return a value. It declares 10.0 functions, It has 10.0 functions called inside which are ["self.compose", "type", "len", "self.name.lower", "header.lower", "result.append", "type", "len", "get", "type"], It has 338.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.__get_raw_records", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3519472_california_civic_data_coalition_django_calaccess_campaign_browser.calaccess_campaign_browser.management.commands.scrapecalaccesscampaigncandidates_py.Command.process_results", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.frigg.stats.views_py.overview", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3531556_cloudnull_turbolift.turbolift.clouderator.utils_py.unique_list_dicts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.debug_embed_params_py.run_embed_params", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636863_sonata_nfv_son_emu.src.emuvim.api.openstack.manage_py.OpenstackManage.set_son_emu_chain_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.commands.validate_py._validate_cycle_free", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.commands.validate_py._validate_spec_names", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.compiler.compose.__init___py.get_compose_dict", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.compiler.spec_assembler_py._get_referenced_libs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.compiler.spec_assembler_py._get_referenced_services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.schemas.base_schema_class_py.DustySpecs.get_apps_and_libs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.schemas.base_schema_class_py.DustySpecs.get_apps_and_services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.schemas.base_schema_class_py.DustySpecs.get_apps_libs_and_services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3641147_gamechanger_dusty.dusty.systems.docker.__init___py.get_dusty_images", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.reports.session_py.generate_session_report", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.tools.vision.app_py_py.network", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675065_rouxrc_gazouilleur.gazouilleur.lib.stats_py.Stats.print_last", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_build_py.conda_versions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.close_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.odm.odmsession_py.ContextualODMSession.flush_all", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700218_mesosphere_dcos_jenkins_service.testing.sdk_diag_py._dump_diagnostics_bundle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3702839_xiph_rd_tool.rd_server_py.scheduler_tick", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706529_openlightingproject_rdm_app.dump_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707931_jonashaag_klaus.klaus.repo_py.FancyRepo.get_last_updated_at"].
pasteorg_paste
EnvironVariable
public
0
1
__call__
def __call__(self, *args, **kwargs):"""converts ``values()`` into a string valueThis method converts the results of ``values()`` into a stringvalue for common usage.By default, it is asserted that onlyone value exists; if you need to access all values then eithercall ``values()`` directly, or inherit ``_MultiValueHeader``which overrides this method to return a comma separated list ofvalues as described by section 4.2 of RFC 2616."""values = self.values(*args, **kwargs)assert isinstance(values, (tuple, list))if not values:return ''assert len(values) == 1, "more than one value: %s" % repr(values)return str(values[0]).strip()
2
7
3
67
0
415
431
415
self,environ
[]
Returns
{"Return": 1}
1
2
1
["environ.get"]
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 EnvironVariable, that inherit another class.The function start at line 415 and ends at 431. It contains 7 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [415.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["environ.get"], 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
HTTPHeader
public
0
0
delete
def delete(self, collection):"""removes all occurances of the header from the collection provided"""if type(collection) == dict:if self._environ_name in collection:del collection[self._environ_name]return selfassert list == type(collection)i = 0while i < len(collection):if collection[i][0].lower() == self._headers_name:del collection[i]continuei += 1
5
12
2
76
0
433
447
433
self,collection
[]
Returns
{"Assign": 1, "AugAssign": 1, "Expr": 1, "If": 3, "Return": 1, "While": 1}
4
15
4
["type", "type", "len", "lower"]
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 HTTPHeader.The function start at line 433 and ends at 447. It contains 12 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [433.0], and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["type", "type", "len", "lower"], 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
EnvironVariable
public
0
1
update
def update(self, collection, *args, **kwargs):"""updates the collection with the provided header valueThis method replaces (in-place when possible) all occurrences ofthe given header with the provided value.If no value isprovided, this is the same as ``remove`` (note that this casecan only occur if the target is a collection w/o a correspondingheader value). The return value is the new header value (whichcould be a list for ``_MultiEntryHeader`` instances)."""value = self.__call__(*args, **kwargs)if not value:self.delete(collection)returnif type(collection) == dict:collection[self._environ_name] = valuereturnassert list == type(collection)i = 0found = Falsewhile i < len(collection):if collection[i][0].lower() == self._headers_name:if found:del collection[i]continuecollection[i] = (self.name, value)found = Truei += 1if not found:collection.append((self.name, value))
7
21
4
135
0
449
479
449
self,environ,value
[]
None
{"Assign": 1}
0
2
0
[]
403
["_.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.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.put_record", "_.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_updated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.BuildBadgeViewTests.test_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.CoverageBadgeViewTests.test_coverage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.argparse_py._ArgumentGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.package_loader_py.inherit_stages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.profile_py.load_and_inherit_profile", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_neighbors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_environment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_interfaces_counters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos.nxos_py.NXOSDriver.get_interfaces_ip", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.bgp_summary_parser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.frontend.puppet_py.Manifest.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.decrement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.increment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3566443_centurylinkcloud_clc_ansible_module.clc_inv_py._add_windows_hostvars", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._update_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_events_py.TestSOASerialUpdate.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.commit_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.pipeline.base_pipeline_item_py.BasePipelineItem.update_metadata"]
The function (update) defined within the public class called EnvironVariable, that inherit another class.The function start at line 449 and ends at 479. It contains 21 lines of code and it has a cyclomatic complexity of 7. It takes 4 parameters, represented as [449.0] and does not return any value. It has 403.0 functions calling this function which are ["_.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.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.put_record", "_.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_updated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.BuildBadgeViewTests.test_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.CoverageBadgeViewTests.test_coverage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.argparse_py._ArgumentGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.package_loader_py.inherit_stages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.profile_py.load_and_inherit_profile", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_neighbors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_environment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_interfaces_counters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos.nxos_py.NXOSDriver.get_interfaces_ip", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.bgp_summary_parser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.frontend.puppet_py.Manifest.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.decrement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.increment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3566443_centurylinkcloud_clc_ansible_module.clc_inv_py._add_windows_hostvars", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._update_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_events_py.TestSOASerialUpdate.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.commit_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.pipeline.base_pipeline_item_py.BasePipelineItem.update_metadata"].
pasteorg_paste
HTTPHeader
public
0
0
tuples
def tuples(self, *args, **kwargs):value = self.__call__(*args, **kwargs)if not value:return ()return [(self.name, value)]
2
5
3
40
0
481
485
481
self,*args,**kwargs
[]
Returns
{"Assign": 1, "If": 1, "Return": 2}
1
5
1
["self.__call__"]
12
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_biosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_technosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.compat_py.prepare_lca_inputs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ActivityParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.recalculate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_activity_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_database_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_project_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ProjectParameter.static"]
The function (tuples) defined within the public class called HTTPHeader.The function start at line 481 and ends at 485. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [481.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.__call__"], It has 12.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_biosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_technosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.compat_py.prepare_lca_inputs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ActivityParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.recalculate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_activity_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_database_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_project_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ProjectParameter.static"].
pasteorg_paste
EnvironVariable
public
0
1
__call__
def __call__(self, *args, **kwargs):results = self.values(*args, **kwargs)if not results:return ''return ", ".join([str(v).strip() for v in results])
3
5
3
49
0
506
510
506
self,environ
[]
Returns
{"Return": 1}
1
2
1
["environ.get"]
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 EnvironVariable, that inherit another class.The function start at line 506 and ends at 510. It contains 5 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [506.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["environ.get"], 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
HTTPHeader
public
0
0
parse
def parse(self, *args, **kwargs):value = self.__call__(*args, **kwargs)values = value.split(',')return [v.strip() for v in valuesif v.strip()]
3
6
3
49
0
512
517
512
self,*args,**kwargs
[]
None
{"Expr": 1}
1
10
1
["NotImplementedError"]
177
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"]
The function (parse) defined within the public class called HTTPHeader.The function start at line 512 and ends at 517. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [512.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 177.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"].
pasteorg_paste
EnvironVariable
public
0
1
update
def update(self, collection, *args, **kwargs):assert list == type(collection), "``environ`` may not be updated"self.delete(collection)collection.extend(self.tuples(*args, **kwargs))
1
4
4
43
0
529
532
529
self,environ,value
[]
None
{"Assign": 1}
0
2
0
[]
403
["_.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.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.put_record", "_.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_updated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.BuildBadgeViewTests.test_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.CoverageBadgeViewTests.test_coverage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.argparse_py._ArgumentGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.package_loader_py.inherit_stages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.profile_py.load_and_inherit_profile", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_neighbors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_environment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_interfaces_counters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos.nxos_py.NXOSDriver.get_interfaces_ip", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.bgp_summary_parser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.frontend.puppet_py.Manifest.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.decrement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.increment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3566443_centurylinkcloud_clc_ansible_module.clc_inv_py._add_windows_hostvars", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._update_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_events_py.TestSOASerialUpdate.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.commit_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.pipeline.base_pipeline_item_py.BasePipelineItem.update_metadata"]
The function (update) defined within the public class called EnvironVariable, that inherit another class.The function start at line 529 and ends at 532. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [529.0] and does not return any value. It has 403.0 functions calling this function which are ["_.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.3508200_spiral_project_daybed.daybed.backends.memory.__init___py.MemoryBackend.put_record", "_.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_updated", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.BuildBadgeViewTests.test_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527343_frigg_frigg_hq.tests.projects.test_views_py.CoverageBadgeViewTests.test_coverage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.argparse_py._ArgumentGroup.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.package_loader_py.inherit_stages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.spec.profile_py.load_and_inherit_profile", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_config", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_bgp_neighbors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_environment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.get_interfaces_counters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3550893_napalm_automation_napalm_eos.napalm_eos.eos_py.EOSDriver.ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos.nxos_py.NXOSDriver.get_interfaces_ip", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.bgp_summary_parser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.frontend.puppet_py.Manifest.add", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.decrement", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.statsd_py.increment", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3566443_centurylinkcloud_clc_ansible_module.clc_inv_py._add_windows_hostvars", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.Config.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.dnsaas.api.v2.views_py.IPRecordView._update_record", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3623769_allegro_django_powerdns_dnssec.powerdns.tests.test_events_py.TestSOASerialUpdate.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.persistence.alchemy_persistence_py.BaseAlchemyPersistence.commit_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625475_scrapinghub_exporters.exporters.pipeline.base_pipeline_item_py.BasePipelineItem.update_metadata"].
pasteorg_paste
HTTPHeader
public
0
0
tuples
def tuples(self, *args, **kwargs):values = self.values(*args, **kwargs)if not values:return ()return [(self.name, value.strip()) for value in values]
3
5
3
48
0
534
538
534
self,*args,**kwargs
[]
Returns
{"Assign": 1, "If": 1, "Return": 2}
1
5
1
["self.__call__"]
12
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_biosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_technosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.compat_py.prepare_lca_inputs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ActivityParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.recalculate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_activity_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_database_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_project_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ProjectParameter.static"]
The function (tuples) defined within the public class called HTTPHeader.The function start at line 534 and ends at 538. It contains 5 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [534.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.__call__"], It has 12.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.SQLiteBackend.process", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_biosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.backends.base_py.get_technosphere_qs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.compat_py.prepare_lca_inputs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ActivityParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.recalculate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.DatabaseParameter.static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_activity_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_database_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ParameterManager.new_project_parameters", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95201518_brightway_lca_brightway2_data.bw2data.parameters_py.ProjectParameter.static"].
pasteorg_paste
public
public
0
0
get_header
def get_header(name, raiseError=True):"""find the given ``HTTPHeader`` instanceThis function finds the corresponding ``HTTPHeader`` for the``name`` provided.So that python-style names can be used,underscores are converted to dashes before the lookup."""retval = _headers.get(str(name).strip().lower().replace("_","-"))if not retval and raiseError:raise AssertionError("'%s' is an unknown header" % name)return retval
3
5
2
51
1
540
551
540
name,raiseError
['retval']
Returns
{"Assign": 1, "Expr": 1, "If": 1, "Return": 1}
6
12
6
["_headers.get", "replace", "lower", "strip", "str", "AssertionError"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fileapp_py.DataApp.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpheaders_py.HTTPHeader.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpheaders_py.normalize_headers"]
The function (get_header) defined within the public class called public.The function start at line 540 and ends at 551. It contains 5 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [540.0], and this function return a value. It declares 6.0 functions, It has 6.0 functions called inside which are ["_headers.get", "replace", "lower", "strip", "str", "AssertionError"], 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.fileapp_py.DataApp.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpheaders_py.HTTPHeader.__new__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpheaders_py.normalize_headers"].
pasteorg_paste
public
public
0
0
list_headers
def list_headers(general=None, request=None, response=None, entity=None):" list all headers for a given category "if not (general or request or response or entity):general = request = response = entity = Truesearch = []for (bool, strval) in ((general, 'general'), (request, 'request'), (response, 'response'), (entity, 'entity')):if bool:search.append(strval)return [head for head in _headers.values() if head.category in search]
9
10
4
105
5
553
562
553
general,request,response,entity
['general', 'entity', 'request', 'search', 'response']
Returns
{"Assign": 2, "Expr": 2, "For": 1, "If": 2, "Return": 1}
2
10
2
["search.append", "_headers.values"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.fileapp_py.DataApp.get"]
The function (list_headers) defined within the public class called public.The function start at line 553 and ends at 562. It contains 10 lines of code and it has a cyclomatic complexity of 9. It takes 4 parameters, represented as [553.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["search.append", "_headers.values"], 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.fileapp_py.DataApp.get"].
pasteorg_paste
public
public
0
0
normalize_headers.key_func
def key_func(item):value = item[0]return (category[value], value)
1
3
1
20
0
585
587
585
null
[]
None
null
0
0
0
null
0
null
The function (normalize_headers.key_func) defined within the public class called public.The function start at line 585 and ends at 587. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value..
pasteorg_paste
public
public
0
0
normalize_headers
def normalize_headers(response_headers, strict=True):"""sort headers as suggested byRFC 2616This alters the underlying response_headers to use the commonname for each header; as well as sorting them with generalheaders first, followed by request/response headers, thenentity headers, and unknown headers last."""category = {}for idx in range(len(response_headers)):(key, val) = response_headers[idx]head = get_header(key, strict)if not head:newhead = '-'.join([x.capitalize() for x inkey.replace("_","-").split("-")])response_headers[idx] = (newhead, val)category[newhead] = 4continueresponse_headers[idx] = (str(head), val)category[str(head)] = head.sort_orderdef key_func(item):value = item[0]return (category[value], value)response_headers.sort(key=key_func)
4
15
2
128
4
564
588
564
response_headers,strict
['head', 'value', 'newhead', 'category']
Returns
{"Assign": 9, "Expr": 2, "For": 1, "If": 1, "Return": 1}
10
25
10
["range", "len", "get_header", "join", "x.capitalize", "split", "key.replace", "str", "str", "response_headers.sort"]
8
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.requests_cache.cache_keys_py.normalize_request", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.requests_cache.policy.actions_py._log_vary_diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__multiple_header_values_as_bytes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__multiple_header_values_as_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__single_header_value_as_bytes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__single_header_value_as_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_httpheaders_py.test_normalize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_httpheaders_py.test_response_headers"]
The function (normalize_headers) defined within the public class called public.The function start at line 564 and ends at 588. It contains 15 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [564.0], and this function return a value. It declares 10.0 functions, It has 10.0 functions called inside which are ["range", "len", "get_header", "join", "x.capitalize", "split", "key.replace", "str", "str", "response_headers.sort"], It has 8.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.requests_cache.cache_keys_py.normalize_request", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.requests_cache.policy.actions_py._log_vary_diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__multiple_header_values_as_bytes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__multiple_header_values_as_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__single_header_value_as_bytes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_cache_keys_py.test_normalize_headers__single_header_value_as_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_httpheaders_py.test_normalize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.tests.test_httpheaders_py.test_response_headers"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, time=None, delta=None):time = time or now()if delta:assert type(delta) == inttime += deltareturn (formatdate(time),)
3
6
3
41
0
604
609
604
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 604 and ends at 609. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [604.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
HTTPHeader
public
0
0
parse
def parse(self, *args, **kwargs):""" return the time value (in seconds since 1970) """value = self.__call__(*args, **kwargs)if value:try:return mktime_tz(parsedate_tz(value))except (TypeError, OverflowError):raise HTTPBadRequest(("Received an ill-formed timestamp for %s: %s\r\n") %(self.name, value))
3
9
3
59
0
611
620
611
self,*args,**kwargs
[]
None
{"Expr": 1}
1
10
1
["NotImplementedError"]
177
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"]
The function (parse) defined within the public class called HTTPHeader.The function start at line 611 and ends at 620. It contains 9 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [611.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 177.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"].
pasteorg_paste
_CacheControl
protected
0
1
_compose
def _compose(self, public=None, private=None, no_cache=None, no_store=False, max_age=None, s_maxage=None, no_transform=False, **extensions):assert isinstance(max_age, (type(None), int))assert isinstance(s_maxage, (type(None), int))expires = 0result = []if private is True:assert not public and not no_cache and not s_maxageresult.append('private')elif no_cache is True:assert not public and not private and not max_ageresult.append('no-cache')else:assert public is None or public is Trueassert not private and not no_cacheexpires = max_ageresult.append('public')if no_store:result.append('no-store')if no_transform:result.append('no-transform')if max_age is not None:result.append('max-age=%d' % max_age)if s_maxage is not None:result.append('s-maxage=%d' % s_maxage)for (k, v) in extensions.items():if k not in self.extensions:raise AssertionError("unexpected extension used: '%s'" % k)result.append('%s="%s"' % (k.replace("_", "-"), v))return (result, expires)
15
31
9
235
0
707
737
707
self,public,private,no_cache,no_store,max_age,s_maxage,no_transform,**extensions
[]
Returns
{"Assign": 3, "Expr": 8, "For": 1, "If": 7, "Return": 1}
15
31
15
["isinstance", "type", "isinstance", "type", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "extensions.items", "AssertionError", "result.append", "k.replace"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py.Aggregate._schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py._compose"]
The function (_compose) defined within the protected class called _CacheControl, that inherit another class.The function start at line 707 and ends at 737. It contains 31 lines of code and it has a cyclomatic complexity of 15. It takes 9 parameters, represented as [707.0], and this function return a value. It declares 15.0 functions, It has 15.0 functions called inside which are ["isinstance", "type", "isinstance", "type", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "extensions.items", "AssertionError", "result.append", "k.replace"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py.Aggregate._schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py._compose"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, **kwargs):(result, expires) = self._compose(**kwargs)return result
1
3
2
23
0
739
741
739
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 739 and ends at 741. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [739.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
HTTPHeader
public
0
0
apply
def apply(self, collection, **kwargs):""" returns the offset expiration in seconds """(result, expires) = self._compose(**kwargs)if expires is not None:EXPIRES.update(collection, delta=expires)self.update(collection, *result)return expires
2
6
3
51
0
743
749
743
self,collection,**kwargs
[]
None
{"Expr": 2}
1
11
1
["self.update"]
122
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.test_verify_py.TestVerify.test_result_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.get_elapsed_time", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.core_py.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.crossover_moving_averages_py.CrossoversMovingAverages.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.simple_moving_average_py.SimpleMovingAverage.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Collection.__find_and_modify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Database._handle_mapreduce", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_hello_eager", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_no_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.mark.mark_expander_py.MarkedFunctionExpander.expand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.creator_py.ImageCreator.configure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete_ignore_manual", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_with_custom_naming_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_yearly_apply"]
The function (apply) defined within the public class called HTTPHeader.The function start at line 743 and ends at 749. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [743.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.update"], It has 122.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.test_verify_py.TestVerify.test_result_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.get_elapsed_time", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.core_py.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.crossover_moving_averages_py.CrossoversMovingAverages.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.simple_moving_average_py.SimpleMovingAverage.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Collection.__find_and_modify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Database._handle_mapreduce", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_hello_eager", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_no_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.mark.mark_expander_py.MarkedFunctionExpander.expand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.creator_py.ImageCreator.configure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete_ignore_manual", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_with_custom_naming_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_yearly_apply"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, major=None, minor=None, charset=None):if not major:if minor in ('plain', 'html', 'xml'):major = 'text'else:assert not minor and not charsetreturn (self.UNKNOWN,)if not minor:minor = "*"result = "%s/%s" % (major, minor)if charset:result += "; charset=%s" % charsetreturn (result,)
6
13
4
79
0
768
780
768
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 768 and ends at 780. It contains 13 lines of code and it has a cyclomatic complexity of 6. It takes 4 parameters, represented as [768.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
_CacheControl
protected
0
1
_compose
def _compose(self, attachment=None, inline=None, filename=None):result = []if inline is True:assert not attachmentresult.append('inline')else:assert not inlineresult.append('attachment')if filename:assert '"' not in filenamefilename = filename.split("/")[-1]filename = filename.split("\\")[-1]result.append('filename="%s"' % filename)return (("; ".join(result),), filename)
3
14
4
100
0
831
844
831
self,public,private,no_cache,no_store,max_age,s_maxage,no_transform,**extensions
[]
Returns
{"Assign": 3, "Expr": 8, "For": 1, "If": 7, "Return": 1}
15
31
15
["isinstance", "type", "isinstance", "type", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "extensions.items", "AssertionError", "result.append", "k.replace"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py.Aggregate._schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py._compose"]
The function (_compose) defined within the protected class called _CacheControl, that inherit another class.The function start at line 831 and ends at 844. It contains 14 lines of code and it has a cyclomatic complexity of 3. It takes 4 parameters, represented as [831.0], and this function return a value. It declares 15.0 functions, It has 15.0 functions called inside which are ["isinstance", "type", "isinstance", "type", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "result.append", "extensions.items", "AssertionError", "result.append", "k.replace"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py.Aggregate._schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.scanner.v2_0.aggt_py._compose"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, **kwargs):(result, expires) = self._compose(**kwargs)return result
1
3
2
23
0
846
848
739
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 846 and ends at 848. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [739.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
HTTPHeader
public
0
0
apply
def apply(self, collection, **kwargs):""" return the new Content-Type side-effect value """(result, filename) = self._compose(**kwargs)mimetype = CONTENT_TYPE(collection)if filename and (not mimetype or CONTENT_TYPE.UNKNOWN == mimetype):mimetype, _ = mimetypes.guess_type(filename)if mimetype and CONTENT_TYPE.UNKNOWN != mimetype:CONTENT_TYPE.update(collection, mimetype)self.update(collection, *result)return mimetype
6
9
3
82
0
850
859
850
self,collection,**kwargs
[]
None
{"Expr": 2}
1
11
1
["self.update"]
122
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.test_verify_py.TestVerify.test_result_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.get_elapsed_time", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.core_py.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.crossover_moving_averages_py.CrossoversMovingAverages.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.simple_moving_average_py.SimpleMovingAverage.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Collection.__find_and_modify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Database._handle_mapreduce", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_hello_eager", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_no_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.mark.mark_expander_py.MarkedFunctionExpander.expand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.creator_py.ImageCreator.configure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete_ignore_manual", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_with_custom_naming_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_yearly_apply"]
The function (apply) defined within the public class called HTTPHeader.The function start at line 850 and ends at 859. It contains 9 lines of code and it has a cyclomatic complexity of 6. It takes 3 parameters, represented as [850.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.update"], It has 122.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3568546_onnxbot_onnx_fb_universe.test.test_verify_py.TestVerify.test_result_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.manager_py.PipelineManager.get_elapsed_time", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.core_py.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.crossover_moving_averages_py.CrossoversMovingAverages.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3673576_tribler_dollynator.plebnet.agent.strategies.simple_moving_average_py.SimpleMovingAverage.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Collection.__find_and_modify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Database._handle_mapreduce", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_error_task_error_monitor_exception", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_hello_eager", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3703461_scoutapp_scout_apm_python.tests.integration.test_celery_py.test_no_monitor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.mark.mark_expander_py.MarkedFunctionExpander.expand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.creator_py.ImageCreator.configure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_daily_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_delete_ignore_manual", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_monthly_with_custom_naming_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_multiple", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_weekly_apply_insert", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.tests.test_partitioning_time_py.test_partitioning_time_yearly_apply"].
pasteorg_paste
EnvironVariable
public
0
1
__call__
def __call__(self, *args, **kwargs):"""Split the value on ';' incase the header includes extra attributes. E.g.IE 6 is known to send:If-Modified-Since: Sun, 25 Jun 2006 20:36:35 GMT; length=1506"""return _DateHeader.__call__(self, *args, **kwargs).split(';', 1)[0]
1
2
3
35
0
869
875
869
self,environ
[]
Returns
{"Return": 1}
1
2
1
["environ.get"]
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 EnvironVariable, that inherit another class.The function start at line 869 and ends at 875. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [869.0], and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["environ.get"], 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
HTTPHeader
public
0
0
parse
def parse(self, *args, **kwargs):value = self.__call__(*args, **kwargs)values = value.split(',')return [v.strip() for v in valuesif v.strip()]
3
8
3
49
0
877
884
512
self,*args,**kwargs
[]
None
{"Expr": 1}
1
10
1
["NotImplementedError"]
177
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"]
The function (parse) defined within the public class called HTTPHeader.The function start at line 877 and ends at 884. It contains 8 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [512.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 177.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"].
pasteorg_paste
HTTPHeader
public
0
0
parse
def parse(self, *args, **kwargs):"""Returns a tuple (units, list), where list is a sequence of(begin, end) tuples; and end is None if it was not provided."""value = self.__call__(*args, **kwargs)if not value:return Noneranges = []last_end = -1try:(units, range) = value.split("=", 1)units = units.strip().lower()for item in range.split(","):(begin, end) = item.split("-")if not begin.strip():begin = 0else:begin = int(begin)if begin <= last_end:raise ValueError()if not end.strip():end = Noneelse:end = int(end)last_end = endranges.append((begin, end))except ValueError:# In this case where the Range header is malformed,# section 14.16 says to treat the request as if the# Range header was not present.How do I log this?return Nonereturn (units, ranges)
7
26
3
158
0
902
934
902
self,*args,**kwargs
[]
None
{"Expr": 1}
1
10
1
["NotImplementedError"]
177
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"]
The function (parse) defined within the public class called HTTPHeader.The function start at line 902 and ends at 934. It contains 26 lines of code and it has a cyclomatic complexity of 7. It takes 3 parameters, represented as [902.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 177.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"].
pasteorg_paste
HTTPHeader
public
0
0
parse
def parse(self, *args, **kwargs):"""Return a list of language tags sorted by their "q" values.For example,"en-us,en;q=0.5" should return ``["en-us", "en"]``.If there is no``Accept-Language`` header present, default to ``[]``."""header = self.__call__(*args, **kwargs)if header is None:return []langs = [v for v in header.split(",") if v]qs = []for lang in langs:pieces = lang.split(";")lang, params = pieces[0].strip().lower(), pieces[1:]q = 1for param in params:if '=' not in param:# Malformed request; probably a bot, we'll ignorecontinuelvalue, rvalue = param.split("=")lvalue = lvalue.strip().lower()rvalue = rvalue.strip()if lvalue == "q":q = float(rvalue)qs.append((lang, q))qs.sort(key=lambda query: query[1], reverse=True)return [lang for (lang, q) in qs]
9
21
3
181
0
942
968
942
self,*args,**kwargs
[]
None
{"Expr": 1}
1
10
1
["NotImplementedError"]
177
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"]
The function (parse) defined within the public class called HTTPHeader.The function start at line 942 and ends at 968. It contains 21 lines of code and it has a cyclomatic complexity of 9. It takes 3 parameters, represented as [942.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 177.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.post_py.process_postlist", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.pipeline.schedule_py.Schedule.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client.base_py.BaseQuery.get_page", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.server.tests.test_resource_py.AlternativeWireFormatQueryAPI.get_call_arguments", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.service_py.AWSServiceEndpoint._parse_uri", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3643700_yelp_pgctl.pgctl.daemontools_py.svstat_parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646986_mapbox_mapbox_sdk_py.mapbox.services.maps_py.Maps._validate_timestamp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3653223_gsand_mark2.mk2.properties_py.Properties.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3659669_pyopenapi_pyswagger.pyswagger.spec.v1_2.parser_py.ResourceListContext.parse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.conda_compat_py.raw_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.deps.mulled.mulled_search_py.QuaySearch.search_repository", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_all_funding_offers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.cancel_order_multi", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.claim_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.get_deposit_address", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.increase_position", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_close", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_funding_offer", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_order", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.submit_wallet_withdrawal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_auto_renew", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.toggle_keep_funding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692001_bitfinexcom_bitfinex_api_py.bfxapi.rest._interfaces.rest_auth_endpoints_py.RestAuthEndpoints.transfer_between_wallets"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, none=None, bytes=None):if bytes:return ('bytes',)return ('none',)
2
4
3
26
0
975
978
975
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 975 and ends at 978. It contains 4 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [975.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, first_byte=None, last_byte=None, total_length=None):retval = "bytes %d-%d/%d" % (first_byte, last_byte, total_length)assert last_byte == -1 or first_byte <= last_byteassert last_byte< total_lengthreturn (retval,)
2
5
4
46
0
985
989
985
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 985 and ends at 989. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 4 parameters, represented as [985.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
public
public
0
0
compose.full_url
def full_url(self):return path
1
2
1
7
0
1,013
1,014
1,013
null
[]
None
null
0
0
0
null
0
null
The function (compose.full_url) defined within the public class called public.The function start at line 1013 and ends at 1014. 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
compose.data
def data(self):return None
1
2
1
7
0
1,019
1,020
1,019
null
[]
None
null
0
0
0
null
0
null
The function (compose.data) defined within the public class called public.The function start at line 1019 and ends at 1020. 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
compose.get_method
def get_method(self):return method or "GET"
2
2
1
9
0
1,022
1,023
1,022
null
[]
None
null
0
0
0
null
0
null
The function (compose.get_method) defined within the public class called public.The function start at line 1022 and ends at 1023. It contains 2 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value..
pasteorg_paste
HTTPHeader
public
0
0
compose
def compose(self, digest=None, basic=None, username=None, password=None,challenge=None, path=None, method=None):assert username and passwordif basic or not challenge:assert not digestuserpass = "%s:%s" % (username.strip(), password.strip())return "Basic %s" % userpass.encode('base64').strip()assert challenge and not basicpath = path or "/"(_, realm) = challenge.split('realm="')(realm, _) = realm.split('"', 1)auth = AbstractDigestAuthHandler()auth.add_password(realm, path, username, password)(token, challenge) = challenge.split(' ', 1)chal = parse_keqv_list(parse_http_list(challenge))class FakeRequest:@propertydef full_url(self):return pathselector = full_url@propertydef data(self):return Nonedef get_method(self):return method or "GET"retval = "Digest %s" % auth.get_authorization(FakeRequest(), chal)return (retval,)
6
24
8
187
0
996
1,026
996
self,**kwargs
[]
None
{"Expr": 1}
1
11
1
["NotImplementedError"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"]
The function (compose) defined within the public class called HTTPHeader.The function start at line 996 and ends at 1026. It contains 24 lines of code and it has a cyclomatic complexity of 6. It takes 8 parameters, represented as [996.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["NotImplementedError"], It has 4.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.masks_py.compound", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_comp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_implies", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.77529374_cjdrake_pyeda.pyeda.boolalg.test.test_expr_py.test_ite"].
pasteorg_paste
public
public
0
0
_get_headers
def _get_headers(headers, k):"""Private function for abstracting differences in getting HTTP requestheaders on Python 2 vs. Python 3"""if hasattr(headers, 'get_all'):return headers.get_all(k) # Python 3 - email.message.Messageelse:return headers.getheaders(k)# Python 2 - mimetools.Message
2
5
2
32
0
45
54
45
headers,k
[]
Returns
{"Expr": 1, "If": 1, "Return": 2}
3
10
3
["hasattr", "headers.get_all", "headers.getheaders"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.httpserver_py.WSGIHandlerMixin.wsgi_setup"]
The function (_get_headers) defined within the public class called public.The function start at line 45 and ends at 54. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [45.0], and this function return a value. It declares 3.0 functions, It has 3.0 functions called inside which are ["hasattr", "headers.get_all", "headers.getheaders"], 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.httpserver_py.WSGIHandlerMixin.wsgi_setup"].
pasteorg_paste
ContinueHook
public
0
0
__init__
def __init__(self, rfile, write):self._ContinueFile_rfile = rfileself._ContinueFile_write = writefor attr in ('close', 'closed', 'fileno', 'flush', 'mode', 'bufsize', 'softspace'):if hasattr(rfile, attr):setattr(self, attr, getattr(rfile, attr))for attr in ('read', 'readline', 'readlines'):if hasattr(rfile, attr):setattr(self, attr, getattr(self, '_ContinueFile_' + attr))
5
10
3
93
0
71
80
71
self,rfile,write
[]
None
{"Assign": 2, "Expr": 2, "For": 2, "If": 2}
6
10
6
["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"]
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 ContinueHook.The function start at line 71 and ends at 80. It contains 10 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [71.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions called inside which are ["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"], 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
ContinueHook
public
0
0
_ContinueFile_send
def _ContinueFile_send(self):self._ContinueFile_write("HTTP/1.1 100 Continue\r\n\r\n".encode('utf-8'))rfile = self._ContinueFile_rfilefor attr in ('read', 'readline', 'readlines'):if hasattr(rfile, attr):setattr(self, attr, getattr(rfile, attr))
3
6
1
53
0
82
87
82
self
[]
None
{"Assign": 1, "Expr": 2, "For": 1, "If": 1}
5
6
5
["self._ContinueFile_write", "encode", "hasattr", "setattr", "getattr"]
0
[]
The function (_ContinueFile_send) defined within the public class called ContinueHook.The function start at line 82 and ends at 87. It contains 6 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["self._ContinueFile_write", "encode", "hasattr", "setattr", "getattr"].
pasteorg_paste
ContinueHook
public
0
0
_ContinueFile_read
def _ContinueFile_read(self, size=-1):self._ContinueFile_send()return self._ContinueFile_rfile.read(size)
1
3
2
24
0
89
91
89
self,size
[]
Returns
{"Expr": 1, "Return": 1}
2
3
2
["self._ContinueFile_send", "self._ContinueFile_rfile.read"]
0
[]
The function (_ContinueFile_read) defined within the public class called ContinueHook.The function start at line 89 and ends at 91. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [89.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self._ContinueFile_send", "self._ContinueFile_rfile.read"].
pasteorg_paste
ContinueHook
public
0
0
_ContinueFile_readline
def _ContinueFile_readline(self, size=-1):self._ContinueFile_send()return self._ContinueFile_rfile.readline(size)
1
3
2
24
0
93
95
93
self,size
[]
Returns
{"Expr": 1, "Return": 1}
2
3
2
["self._ContinueFile_send", "self._ContinueFile_rfile.readline"]
0
[]
The function (_ContinueFile_readline) defined within the public class called ContinueHook.The function start at line 93 and ends at 95. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [93.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self._ContinueFile_send", "self._ContinueFile_rfile.readline"].
pasteorg_paste
ContinueHook
public
0
0
_ContinueFile_readlines
def _ContinueFile_readlines(self, sizehint=0):self._ContinueFile_send()return self._ContinueFile_rfile.readlines(sizehint)
1
3
2
23
0
97
99
97
self,sizehint
[]
Returns
{"Expr": 1, "Return": 1}
2
3
2
["self._ContinueFile_send", "self._ContinueFile_rfile.readlines"]
0
[]
The function (_ContinueFile_readlines) defined within the public class called ContinueHook.The function start at line 97 and ends at 99. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [97.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self._ContinueFile_send", "self._ContinueFile_rfile.readlines"].
pasteorg_paste
WSGIHandlerMixin
public
0
0
log_request
def log_request(self, *args, **kwargs):""" disable success request loggingLogging transactions should not be part of a WSGI server,if you want logging; look at paste.translogger"""pass
1
2
3
13
0
111
117
111
self,*args,**kwargs
[]
None
{"Expr": 1}
0
7
0
[]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69749999_dondebonair_slack_machine.tests.handlers.test_logging_py.test_request_logger_handler"]
The function (log_request) defined within the public class called WSGIHandlerMixin.The function start at line 111 and ends at 117. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [111.0] and does not return any value. It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69749999_dondebonair_slack_machine.tests.handlers.test_logging_py.test_request_logger_handler"].
pasteorg_paste
WSGIHandlerMixin
public
0
0
log_message
def log_message(self, *args, **kwargs):""" disable error message loggingLogging transactions should not be part of a WSGI server,if you want logging; look at paste.translogger"""pass
1
2
3
13
0
119
125
119
self,*args,**kwargs
[]
None
{"Expr": 1}
0
7
0
[]
0
[]
The function (log_message) defined within the public class called WSGIHandlerMixin.The function start at line 119 and ends at 125. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [119.0] and does not return any value..
pasteorg_paste
WSGIHandlerMixin
public
0
0
version_string
def version_string(self):""" behavior that BaseHTTPServer should have had """if not self.sys_version:return self.server_versionelse:return self.server_version + ' ' + self.sys_version
2
5
1
28
0
127
132
127
self
[]
Returns
{"Expr": 1, "If": 1, "Return": 2}
0
6
0
[]
0
[]
The function (version_string) defined within the public class called WSGIHandlerMixin.The function start at line 127 and ends at 132. 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..
pasteorg_paste
WSGIHandlerMixin
public
0
0
wsgi_write_chunk
def wsgi_write_chunk(self, chunk):"""Write a chunk of the output stream; send headers if theyhave not already been sent."""if not self.wsgi_headers_sent and not self.wsgi_curr_headers:raise RuntimeError("Content returned before start_response called")if not self.wsgi_headers_sent:self.wsgi_headers_sent = True(status, headers) = self.wsgi_curr_headerscode, message = status.split(" ", 1)self.send_response(int(code), message)## HTTP/1.1 compliance; either send Content-Length or# signal that the connection is being closed.#send_close = Truefor (k, v) inheaders:lk = k.lower()if 'content-length' == lk:send_close = Falseif 'connection' == lk:if 'close' == v.lower():self.close_connection = 1send_close = Falseself.send_header(k, v)if send_close:self.close_connection = 1self.send_header('Connection', 'close')self.end_headers()self.wfile.write(chunk)
9
24
2
153
0
134
166
134
self,chunk
[]
None
{"Assign": 9, "Expr": 6, "For": 1, "If": 6}
10
33
10
["RuntimeError", "status.split", "self.send_response", "int", "k.lower", "v.lower", "self.send_header", "self.send_header", "self.end_headers", "self.wfile.write"]
0
[]
The function (wsgi_write_chunk) defined within the public class called WSGIHandlerMixin.The function start at line 134 and ends at 166. It contains 24 lines of code and it has a cyclomatic complexity of 9. It takes 2 parameters, represented as [134.0] and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["RuntimeError", "status.split", "self.send_response", "int", "k.lower", "v.lower", "self.send_header", "self.send_header", "self.end_headers", "self.wfile.write"].
pasteorg_paste
WSGIHandlerMixin
public
0
0
wsgi_start_response
def wsgi_start_response(self, status, response_headers, exc_info=None):if exc_info:try:if self.wsgi_headers_sent:raise exc_infoelse:# In this case, we're going to assume that the# higher-level code is currently handling the# issue and returning a resonable response.# self.log_error(repr(exc_info))passfinally:exc_info = Noneelif self.wsgi_curr_headers:assert 0, "Attempt to set headers a second time w/o an exc_info"self.wsgi_curr_headers = (status, response_headers)return self.wsgi_write_chunk
5
13
4
55
0
168
184
168
self,status,response_headers,exc_info
[]
Returns
{"Assign": 2, "If": 3, "Return": 1, "Try": 1}
0
17
0
[]
0
[]
The function (wsgi_start_response) defined within the public class called WSGIHandlerMixin.The function start at line 168 and ends at 184. It contains 13 lines of code and it has a cyclomatic complexity of 5. It takes 4 parameters, represented as [168.0], and this function return a value..
pasteorg_paste
WSGIHandlerMixin
public
0
0
wsgi_setup
def wsgi_setup(self, environ=None):"""Setup the member variables used by this WSGI mixin, includingthe ``environ`` and status member variables.After the basic environment is created; the optional ``environ``argument can be used to override any settings."""dummy_url = 'http://dummy%s' % (self.path,)(scheme, netloc, path, query, fragment) = urlsplit(dummy_url)path = unquote(path)endslash = path.endswith('/')path = posixpath.normpath(path)if endslash and path != '/':# Put the slash back...path += '/'(server_name, server_port) = self.server.server_address[:2]rfile = self.rfile# We can put in the protection to keep from over-reading the# filetry:content_length = int(self.headers.get('Content-Length', '0'))except ValueError:content_length = 0if '100-continue' == self.headers.get('Expect','').lower():rfile = LimitedLengthFile(ContinueHook(rfile, self.wfile.write), content_length)else:if not hasattr(self.connection, 'get_context'):# @@: LimitedLengthFile is currently broken in connection# with SSL (sporatic errors that are diffcult to trace, but# ones that go away when you don't use LimitedLengthFile)rfile = LimitedLengthFile(rfile, content_length)remote_address = self.client_address[0]self.wsgi_environ = {'wsgi.version': (1,0) ,'wsgi.url_scheme': 'http' ,'wsgi.input': rfile ,'wsgi.errors': sys.stderr ,'wsgi.multithread': True ,'wsgi.multiprocess': False ,'wsgi.run_once': False # CGI variables required by PEP-333 ,'REQUEST_METHOD': self.command ,'SCRIPT_NAME': '' # application is root of server ,'PATH_INFO': path ,'QUERY_STRING': query ,'CONTENT_TYPE': self.headers.get('Content-Type', '') ,'CONTENT_LENGTH': self.headers.get('Content-Length', '0') ,'SERVER_NAME': server_name ,'SERVER_PORT': str(server_port) ,'SERVER_PROTOCOL': self.request_version # CGI not required by PEP-333 ,'REMOTE_ADDR': remote_address }if scheme:self.wsgi_environ['paste.httpserver.proxy.scheme'] = schemeif netloc:self.wsgi_environ['paste.httpserver.proxy.host'] = netlocif self.lookup_addresses:# @@: make lookup_addreses actually work, at this point# it has been address_string() is overriden down in# file and hence is a noopif remote_address.startswith("192.168.") \or remote_address.startswith("10.") \or remote_address.startswith("172.16."):passelse:address_string = None # self.address_string()if address_string:self.wsgi_environ['REMOTE_HOST'] = address_stringif hasattr(self.server, 'thread_pool'):# Now that we know what the request was for, we should# tell the thread pool what its worker is working onself.server.thread_pool.worker_tracker[_thread.get_ident()][1] = self.wsgi_environself.wsgi_environ['paste.httpserver.thread_pool'] = self.server.thread_poolfor k, v in self.headers.items():key = 'HTTP_' + k.replace("-","_").upper()if key in ('HTTP_CONTENT_TYPE','HTTP_CONTENT_LENGTH'):continueself.wsgi_environ[key] = ','.join(_get_headers(self.headers, k))if hasattr(self.connection,'get_context'):self.wsgi_environ['wsgi.url_scheme'] = 'https'# @@: extract other SSL parameters from pyOpenSSL at...# http://www.modssl.org/docs/2.8/ssl_reference.html#ToC25if environ:assert isinstance(environ, dict)self.wsgi_environ.update(environ)if 'on' == environ.get('HTTPS'):self.wsgi_environ['wsgi.url_scheme'] = 'https'self.wsgi_curr_headers = Noneself.wsgi_headers_sent = False
19
69
2
513
0
186
285
186
self,environ
[]
None
{"Assign": 25, "AugAssign": 1, "Expr": 2, "For": 1, "If": 13, "Try": 1}
29
100
29
["urlsplit", "unquote", "path.endswith", "posixpath.normpath", "int", "self.headers.get", "lower", "self.headers.get", "LimitedLengthFile", "ContinueHook", "hasattr", "LimitedLengthFile", "self.headers.get", "self.headers.get", "str", "remote_address.startswith", "remote_address.startswith", "remote_address.startswith", "hasattr", "_thread.get_ident", "self.headers.items", "upper", "k.replace", "join", "_get_headers", "hasattr", "isinstance", "self.wsgi_environ.update", "environ.get"]
0
[]
The function (wsgi_setup) defined within the public class called WSGIHandlerMixin.The function start at line 186 and ends at 285. It contains 69 lines of code and it has a cyclomatic complexity of 19. It takes 2 parameters, represented as [186.0] and does not return any value. It declares 29.0 functions, and It has 29.0 functions called inside which are ["urlsplit", "unquote", "path.endswith", "posixpath.normpath", "int", "self.headers.get", "lower", "self.headers.get", "LimitedLengthFile", "ContinueHook", "hasattr", "LimitedLengthFile", "self.headers.get", "self.headers.get", "str", "remote_address.startswith", "remote_address.startswith", "remote_address.startswith", "hasattr", "_thread.get_ident", "self.headers.items", "upper", "k.replace", "join", "_get_headers", "hasattr", "isinstance", "self.wsgi_environ.update", "environ.get"].
pasteorg_paste
WSGIHandlerMixin
public
0
0
wsgi_connection_drop
def wsgi_connection_drop(self, exce, environ=None):"""Override this if you're interested in socket exceptions, suchas when the user clicks 'Cancel' during a file download."""pass
1
2
3
13
0
287
292
287
self,exce,environ
[]
None
{"Expr": 1}
0
6
0
[]
0
[]
The function (wsgi_connection_drop) defined within the public class called WSGIHandlerMixin.The function start at line 287 and ends at 292. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [287.0] and does not return any value..
pasteorg_paste
WSGIHandlerMixin
public
0
0
wsgi_execute
def wsgi_execute(self, environ=None):"""Invoke the server's ``wsgi_application``."""self.wsgi_setup(environ)try:result = self.server.wsgi_application(self.wsgi_environ,self.wsgi_start_response)try:for chunk in result:self.wsgi_write_chunk(chunk)if not self.wsgi_headers_sent:self.wsgi_write_chunk(b'')finally:if hasattr(result,'close'):result.close()result = Noneexcept socket.error as exce:self.wsgi_connection_drop(exce, environ)returnexcept Exception:if not self.wsgi_headers_sent:error_msg = "Internal Server Error\n"self.wsgi_curr_headers = ('500 Internal Server Error',[('Content-type', 'text/plain'), ('Content-length', str(len(error_msg)))])self.wsgi_write_chunk(b"Internal Server Error\n")raise
8
26
2
141
0
294
324
294
self,environ
[]
None
{"Assign": 4, "Expr": 7, "For": 1, "If": 3, "Return": 1, "Try": 2}
10
31
10
["self.wsgi_setup", "self.server.wsgi_application", "self.wsgi_write_chunk", "self.wsgi_write_chunk", "hasattr", "result.close", "self.wsgi_connection_drop", "str", "len", "self.wsgi_write_chunk"]
0
[]
The function (wsgi_execute) defined within the public class called WSGIHandlerMixin.The function start at line 294 and ends at 324. It contains 26 lines of code and it has a cyclomatic complexity of 8. It takes 2 parameters, represented as [294.0] and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["self.wsgi_setup", "self.server.wsgi_application", "self.wsgi_write_chunk", "self.wsgi_write_chunk", "hasattr", "result.close", "self.wsgi_connection_drop", "str", "len", "self.wsgi_write_chunk"].
pasteorg_paste
ContinueHook
public
0
0
__init__
def __init__(self, server_address, RequestHandlerClass, ssl_context=None, request_queue_size=None):assert not ssl_context, "pyOpenSSL not installed"HTTPServer.__init__(self, server_address, RequestHandlerClass)if request_queue_size:self.socket.listen(request_queue_size)
2
6
5
43
0
341
346
341
self,rfile,write
[]
None
{"Assign": 2, "Expr": 2, "For": 2, "If": 2}
6
10
6
["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"]
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 ContinueHook.The function start at line 341 and ends at 346. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 5 parameters, represented as [341.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions called inside which are ["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"], 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
ContinueHook
public
0
0
__init__
def __init__(self, conn):self.__conn = conn
1
2
2
12
0
351
352
351
self,rfile,write
[]
None
{"Assign": 2, "Expr": 2, "For": 2, "If": 2}
6
10
6
["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"]
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 ContinueHook.The function start at line 351 and ends at 352. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [351.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions called inside which are ["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"], 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
makefile
def makefile(self, mode, bufsize):return socket.SocketIO(self.__conn, mode)
1
2
3
20
0
353
354
353
null
[]
None
null
0
0
0
null
0
null
The function (makefile) defined within the public class called public.The function start at line 353 and ends at 354. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [353.0] and does not return any value..
pasteorg_paste
public
public
0
0
__getattr__
def __getattr__(self, attrib):return getattr(self.__conn, attrib)
1
2
2
16
0
355
356
355
null
[]
None
null
0
0
0
null
0
null
The function (__getattr__) defined within the public class called public.The function start at line 355 and ends at 356. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [355.0] and does not return any value..
pasteorg_paste
public
public
0
0
__init__.settimeout
def settimeout(self, *args):self._lock.acquire()try:return self._ssl_conn.settimeout(*args)finally:self._lock.release()
2
6
2
36
0
382
387
382
null
[]
None
null
0
0
0
null
0
null
The function (__init__.settimeout) defined within the public class called public.The function start at line 382 and ends at 387. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [382.0] and does not return any value..
pasteorg_paste
public
public
0
0
__init__.gettimeout
def gettimeout(self):self._lock.acquire()try:return self._ssl_conn.gettimeout()finally:self._lock.release()
2
6
1
31
0
388
393
388
null
[]
None
null
0
0
0
null
0
null
The function (__init__.gettimeout) defined within the public class called public.The function start at line 388 and ends at 393. 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..
pasteorg_paste
ContinueHook
public
0
0
__init__
def __init__(self, server_address, RequestHandlerClass, ssl_context=None, request_queue_size=None):# This overrides the implementation of __init__ in python's# SocketServer.TCPServer (which BaseHTTPServer.HTTPServer# does not override, thankfully).HTTPServer.__init__(self, server_address, RequestHandlerClass)self.socket = socket.socket(self.address_family,self.socket_type)self.ssl_context = ssl_contextif ssl_context:class TSafeConnection(tsafe.Connection):def settimeout(self, *args):self._lock.acquire()try:return self._ssl_conn.settimeout(*args)finally:self._lock.release()def gettimeout(self):self._lock.acquire()try:return self._ssl_conn.gettimeout()finally:self._lock.release()self.socket = TSafeConnection(ssl_context, self.socket)self.server_bind()if request_queue_size:self.socket.listen(request_queue_size)self.server_activate()
3
15
5
96
0
371
398
371
self,rfile,write
[]
None
{"Assign": 2, "Expr": 2, "For": 2, "If": 2}
6
10
6
["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"]
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 ContinueHook.The function start at line 371 and ends at 398. It contains 15 lines of code and it has a cyclomatic complexity of 3. It takes 5 parameters, represented as [371.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions called inside which are ["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"], 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
WSGIServerBase
public
0
1
get_request
def get_request(self):# The default SSL request object does not seem to have a# ``makefile(mode, bufsize)`` method as expected by# Socketserver.StreamRequestHandler.(conn, info) = self.socket.accept()if self.ssl_context:conn = _ConnFixer(conn)return (conn, info)
2
5
1
35
0
400
407
400
self
[]
Returns
{"Assign": 1, "Expr": 1, "If": 1, "Return": 1}
2
6
2
["SecureHTTPServer.get_request", "conn.settimeout"]
204
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_session_py.test_normalize_params__url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.database_py.BaseCollection.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.database_py.atomic_transaction", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.context_py.get_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.serializers.document_py.download_url_serialize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.serializers.document_py.url_to_absolute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.validation_py.validate_items_classifications_prefixes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.serializers.document_py.DocumentSerializer.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState._validate_contract_items_unit_value_amount", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState.add_esco_contract_duration_to_period", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState.validate_patch_active_contract_items", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState.validate_patch_pending_contract_items", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing._validate_contract_signing_before_due_date", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing._validate_contract_signing_with_pending_complaints", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.check_award_complaints", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.check_lots_complaints", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.switch_status", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.validate_activate_contract", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.views.contract_py.conditional_contract_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.econtract.procedure.state.contract_py.EContractState.on_post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.econtract.procedure.state.contract_py.EContractState.validate_contract_changes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.econtract.procedure.state.contract_py.EContractState.validate_on_post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.framework.cfaua.procedure.state.agreement_py.AgreementState.get_patch_data_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.framework.cfaua.procedure.state.change_py.ChangeState.get_parent_patch_data_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.framework.cfaua.procedure.state.change_py.ChangeState.get_patch_data_model"]
The function (get_request) defined within the public class called WSGIServerBase, that inherit another class.The function start at line 400 and ends at 407. 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 declares 2.0 functions, It has 2.0 functions called inside which are ["SecureHTTPServer.get_request", "conn.settimeout"], It has 204.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69847433_requests_cache_requests_cache.tests.unit.test_session_py.test_normalize_params__url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.database_py.BaseCollection.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.database_py.atomic_transaction", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.context_py.get_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.serializers.document_py.download_url_serialize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.serializers.document_py.url_to_absolute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.api.procedure.validation_py.validate_items_classifications_prefixes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.serializers.document_py.DocumentSerializer.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState._validate_contract_items_unit_value_amount", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState.add_esco_contract_duration_to_period", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState.validate_patch_active_contract_items", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractState.validate_patch_pending_contract_items", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing._validate_contract_signing_before_due_date", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing._validate_contract_signing_with_pending_complaints", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.check_award_complaints", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.check_lots_complaints", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.switch_status", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.state.contract_py.ContractStateMixing.validate_activate_contract", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.core.procedure.views.contract_py.conditional_contract_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.econtract.procedure.state.contract_py.EContractState.on_post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.econtract.procedure.state.contract_py.EContractState.validate_contract_changes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.contracting.econtract.procedure.state.contract_py.EContractState.validate_on_post", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.framework.cfaua.procedure.state.agreement_py.AgreementState.get_patch_data_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.framework.cfaua.procedure.state.change_py.ChangeState.get_parent_patch_data_model", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80560341_prozorroukr_openprocurement_api.src.openprocurement.framework.cfaua.procedure.state.change_py.ChangeState.get_patch_data_model"].
pasteorg_paste
public
public
0
0
_auto_ssl_context
def _auto_ssl_context():import OpenSSL, randompkey = OpenSSL.crypto.PKey()pkey.generate_key(OpenSSL.crypto.TYPE_RSA, 768)cert = OpenSSL.crypto.X509()cert.set_serial_number(random.randint(0, sys.maxint))cert.gmtime_adj_notBefore(0)cert.gmtime_adj_notAfter(60 * 60 * 24 * 365)cert.get_subject().CN = '*'cert.get_subject().O = 'Dummy Certificate'cert.get_issuer().CN = 'Untrusted Authority'cert.get_issuer().O = 'Self-Signed'cert.set_pubkey(pkey)cert.sign(pkey, 'md5')ctx = SSL.Context(SSL.SSLv23_METHOD)ctx.use_privatekey(pkey)ctx.use_certificate(cert)return ctx
1
18
0
145
0
409
430
409
null
[]
None
null
0
0
0
null
0
null
The function (_auto_ssl_context) defined within the public class called public.The function start at line 409 and ends at 430. It contains 18 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
WSGIHandler
public
0
1
handle_one_request
def handle_one_request(self):"""Handle a single HTTP request.You normally don't need to override this method; see the class__doc__ string for information on how to handle specific HTTPcommands such as GET and POST."""self.raw_requestline = self.rfile.readline()if not self.raw_requestline:self.close_connection = 1returnif not self.parse_request(): # An error code has been sent, just exitreturnself.wsgi_execute()
3
8
1
43
0
439
453
439
self
[]
None
{"Assign": 2, "Expr": 2, "If": 2, "Return": 2}
3
15
3
["self.rfile.readline", "self.parse_request", "self.wsgi_execute"]
0
[]
The function (handle_one_request) defined within the public class called WSGIHandler, that inherit another class.The function start at line 439 and ends at 453. It contains 8 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["self.rfile.readline", "self.parse_request", "self.wsgi_execute"].
pasteorg_paste
WSGIHandler
public
0
1
handle
def handle(self):# don't bother logging disconnects while handling a requesttry:BaseHTTPRequestHandler.handle(self)except SocketErrors as exce:self.wsgi_connection_drop(exce)
2
5
1
24
0
455
460
455
self
[]
None
{"Expr": 2, "Try": 1}
2
6
2
["BaseHTTPRequestHandler.handle", "self.wsgi_connection_drop"]
22
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.utils_py.check_all_commands", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.cli.__main___py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.tests.clean.test_clean_py.test_clean_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.management.commands.loaddata_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.ptk.key_bindings_py.load_xonsh_bindings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.ptk2.key_bindings_py.load_xonsh_bindings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.psqlextra.management.commands.pgmakemigrations_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_compress_disabled", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_compress_offline_disabled", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_compress_offline_disabled_force", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_no_args", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_non_ascii_exception_messages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.script_py.ScriptControl.launch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.management.commands.www_generate_dummydata_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.management.commands.www_obfuscate_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.management.commands.www_rechten_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.test_demo_data_py.test_demo_data_create_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.test_demo_data_py.test_demo_data_idempotent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.test_demo_data_py.test_demo_data_with_existing_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95181565_vintasoftware_django_pg_tenants.tenant_schemas.management.commands.migrate_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95181565_vintasoftware_django_pg_tenants.tenant_schemas.management.commands.migrate_schemas_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95181565_vintasoftware_django_pg_tenants.tenant_schemas.tests.test_tenants_py.TenantCommandTest.test_command"]
The function (handle) defined within the public class called WSGIHandler, that inherit another class.The function start at line 455 and ends at 460. It contains 5 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["BaseHTTPRequestHandler.handle", "self.wsgi_connection_drop"], It has 22.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3636841_databio_pypiper.pypiper.utils_py.check_all_commands", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.cli.__main___py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670790_opencivicdata_pupa.pupa.tests.clean.test_clean_py.test_clean_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.management.commands.loaddata_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.ptk.key_bindings_py.load_xonsh_bindings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.ptk2.key_bindings_py.load_xonsh_bindings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3930037_sectorlabs_django_postgres_extra.psqlextra.management.commands.pgmakemigrations_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_compress_disabled", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_compress_offline_disabled", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_compress_offline_disabled_force", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_handle_no_args", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966896_django_compressor_django_compressor.compressor.tests.test_offline_py.OfflineCompressBasicTestCase.test_non_ascii_exception_messages", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.script_py.ScriptControl.launch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.management.commands.www_generate_dummydata_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.management.commands.www_obfuscate_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87033950_inter_actief_amelie.amelie.tools.management.commands.www_rechten_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.test_demo_data_py.test_demo_data_create_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.test_demo_data_py.test_demo_data_idempotent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95163051_ansible_django_ansible_base.test_app.tests.test_demo_data_py.test_demo_data_with_existing_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95181565_vintasoftware_django_pg_tenants.tenant_schemas.management.commands.migrate_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95181565_vintasoftware_django_pg_tenants.tenant_schemas.management.commands.migrate_schemas_py.Command.handle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95181565_vintasoftware_django_pg_tenants.tenant_schemas.tests.test_tenants_py.TenantCommandTest.test_command"].
pasteorg_paste
WSGIHandler
public
0
1
address_string
def address_string(self):"""Return the client address formatted for logging.This is overridden so that no hostname lookup is done."""return ''
1
2
1
8
0
462
467
462
self
[]
Returns
{"Expr": 1, "Return": 1}
0
6
0
[]
0
[]
The function (address_string) defined within the public class called WSGIHandler, that inherit another class.The function start at line 462 and ends at 467. 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
ContinueHook
public
0
0
__init__
def __init__(self, file, length):self.file = fileself.length = lengthself._consumed = 0if hasattr(self.file, 'seek'):self.seek = self._seek
2
6
3
41
0
470
475
470
self,rfile,write
[]
None
{"Assign": 2, "Expr": 2, "For": 2, "If": 2}
6
10
6
["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"]
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 ContinueHook.The function start at line 470 and ends at 475. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [470.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions called inside which are ["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"], 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
LimitedLengthFile
public
0
0
__repr__
def __repr__(self):base_repr = repr(self.file)return base_repr[:-1] + ' length=%s>' % self.length
1
3
1
26
0
477
479
477
self
[]
Returns
{"Assign": 1, "Return": 1}
1
3
1
["repr"]
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 LimitedLengthFile.The function start at line 477 and ends at 479. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["repr"], 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
LimitedLengthFile
public
0
0
read
def read(self, length=None):left = self.length - self._consumedif length is None:length = leftelse:length = min(length, left)# next two lines are hnecessary only if read(0) blocksif not left:return b''data = self.file.read(length)self._consumed += len(data)return data
3
11
2
63
0
481
492
481
self,length
[]
Returns
{"Assign": 4, "AugAssign": 1, "If": 2, "Return": 2}
3
12
3
["min", "self.file.read", "len"]
423
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.dbus_unit_test_py.dbus_cleanup", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3474748_nzjrs_gnome_tweak_tool.gtweak.utils_py.AutostartFile.is_start_at_login_enabled", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.docker_registry.drivers.s3_py.Cloudfront.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.tests.test_config_py.TestConfig.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_gettext_py.test_charsets", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_text_py.test_difference_between_iso88591_and_unicode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_text_py.test_difference_between_iso88591_and_unicode_only", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_text_py.test_difference_in_unicode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_utils_py.test_fuzzy_matching", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.jsonschema.validators_py.RefResolver.resolve_remote", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.commands_py.find_confdir", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.__init___py.Blueprint.commit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.backend.files_py.files", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.backend.sources_py._source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.services_py.services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.util_py.parse_service", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball_empty", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball_invalid_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball_invalid_sha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.load_yaml", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.apply_fancy", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.test_apply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.test_apply_filter_html", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.test_apply_filter_mememe"]
The function (read) defined within the public class called LimitedLengthFile.The function start at line 481 and ends at 492. It contains 11 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [481.0], and this function return a value. It declares 3.0 functions, It has 3.0 functions called inside which are ["min", "self.file.read", "len"], It has 423.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.dbus_unit_test_py.dbus_cleanup", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3474748_nzjrs_gnome_tweak_tool.gtweak.utils_py.AutostartFile.is_start_at_login_enabled", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.docker_registry.drivers.s3_py.Cloudfront.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.tests.test_config_py.TestConfig.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_gettext_py.test_charsets", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_text_py.test_difference_between_iso88591_and_unicode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_text_py.test_difference_between_iso88591_and_unicode_only", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_text_py.test_difference_in_unicode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537219_anthraxx_diffoscope.tests.comparators.test_utils_py.test_fuzzy_matching", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.jsonschema.validators_py.RefResolver.resolve_remote", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.commands_py.find_confdir", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.__init___py.Blueprint.commit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.backend.files_py.files", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.backend.sources_py._source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.services_py.services", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.util_py.parse_service", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball_empty", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball_invalid_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.tests_py.test_PUT_tarball_invalid_sha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.dataduct.config.config_py.load_yaml", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.apply_fancy", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.test_apply_filter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.test_apply_filter_html", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.tests.test_apply_py.ApplyTest.test_apply_filter_mememe"].
pasteorg_paste
LimitedLengthFile
public
0
0
readline
def readline(self, *args):max_read = self.length - self._consumedif len(args):max_read = min(args[0], max_read)data = self.file.readline(max_read)self._consumed += len(data)return data
2
7
2
54
0
494
500
494
self,*args
[]
Returns
{"Assign": 3, "AugAssign": 1, "If": 1, "Return": 1}
4
7
4
["len", "min", "self.file.readline", "len"]
5
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.tokenize_py._tokenize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.tokenize_py.detect_encoding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.covalent_dispatcher._cli.service_py._read_pid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.node_py.NodeControl.kill", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.node_py.NodeControl.stop"]
The function (readline) defined within the public class called LimitedLengthFile.The function start at line 494 and ends at 500. It contains 7 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [494.0], and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["len", "min", "self.file.readline", "len"], It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.tokenize_py._tokenize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928915_donnemartin_gitsome.xonsh.tokenize_py.detect_encoding", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69693687_agnostiqhq_covalent.covalent_dispatcher._cli.service_py._read_pid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.node_py.NodeControl.kill", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906343_ome_omero_py.src.omero.plugins.node_py.NodeControl.stop"].
pasteorg_paste
LimitedLengthFile
public
0
0
readlines
def readlines(self, hint=None):data = self.file.readlines(hint)for chunk in data:self._consumed += len(chunk)return data
2
5
2
34
0
502
506
502
self,hint
[]
Returns
{"Assign": 1, "AugAssign": 1, "For": 1, "Return": 1}
2
5
2
["self.file.readlines", "len"]
18
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.examples.resources.scripts.s3_profiler_py.run_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.jobs.metrics.instrumenters.env_py.EnvPlugin.job_properties", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_contains", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_re_match", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_re_match_multiline", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.command_line.parse_args_py.config_file_to_args_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.kickstart_py.SelinuxConfig.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963811_modorganizer2_modorganizer_basic_games.games.game_baldursgate3_py.BG3Game._on_finished_run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69442944_skalenetwork_skale_admin.tools.docker_utils_py.DockerUtils.get_container_logs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69678675_karmab_aicli.src.ailib.__init___py.AssistedClient.download_ipxe_script", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69678675_karmab_aicli.src.ailib.common.__init___py.create_onprem", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80549056_alexlancaster_pypop.src.PyPop.Arlequin_py.ArlequinWrapper.runArlequin", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80549056_alexlancaster_pypop.src.obsolete.case_control_py.genContingency", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80549056_alexlancaster_pypop.src.obsolete.case_control_py.genHaplotypes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94707323_antmicro_dts2repl.dts2repl.dts2repl_py.get_dt", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.pypluto_py.nlast_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95273208_lawndoc_stack_back.src.restic_compose_backup.backup_runner_py.run"]
The function (readlines) defined within the public class called LimitedLengthFile.The function start at line 502 and ends at 506. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [502.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.file.readlines", "len"], It has 18.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3567358_coursera_dataduct.examples.resources.scripts.s3_profiler_py.run_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.jobs.metrics.instrumenters.env_py.EnvPlugin.job_properties", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_contains", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_re_match", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675202_galaxyproject_galaxy_lib.galaxy.tools.verify.__init___py.files_re_match_multiline", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3706078_confluentinc_ducktape.ducktape.command_line.parse_args_py.config_file_to_args_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928082_livecd_tools_livecd_tools.imgcreate.kickstart_py.SelinuxConfig.apply", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963811_modorganizer2_modorganizer_basic_games.games.game_baldursgate3_py.BG3Game._on_finished_run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69442944_skalenetwork_skale_admin.tools.docker_utils_py.DockerUtils.get_container_logs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69678675_karmab_aicli.src.ailib.__init___py.AssistedClient.download_ipxe_script", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69678675_karmab_aicli.src.ailib.common.__init___py.create_onprem", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80549056_alexlancaster_pypop.src.PyPop.Arlequin_py.ArlequinWrapper.runArlequin", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80549056_alexlancaster_pypop.src.obsolete.case_control_py.genContingency", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.80549056_alexlancaster_pypop.src.obsolete.case_control_py.genHaplotypes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94707323_antmicro_dts2repl.dts2repl.dts2repl_py.get_dt", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.pypluto_py.nlast_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95273208_lawndoc_stack_back.src.restic_compose_backup.backup_runner_py.run"].
pasteorg_paste
LimitedLengthFile
public
0
0
__iter__
def __iter__(self):return self
1
2
1
7
0
508
509
508
self
[]
Returns
{"Return": 1}
0
2
0
[]
17
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.planet.vendor.html5lib.treebuilders.soup_py.AttrList.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.BaseForeignList._to_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackFlatValuesListIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackNamedValuesListIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackValuesIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackValuesListIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961526_tkrajina_gpxpy.gpxpy.gpx_py.GPXBounds.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.53698295_animekaizoku_enterprisealrobot.tg_bot.modules.sql.__init___py.CachingQuery.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Section.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Segment.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Channels.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Matches.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Players.__iter__", "_.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.87033950_inter_actief_amelie.amelie.tools.managers_py.SubclassingQuerySet.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.ip4_py.IP4Range.iteraddresses"]
The function (__iter__) defined within the public class called LimitedLengthFile.The function start at line 508 and ends at 509. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 17.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3593274_stevenproctor_planet_erlang.planet.vendor.html5lib.treebuilders.soup_py.AttrList.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3621460_cos_archives_modular_odm.modularodm.fields.lists_py.BaseForeignList._to_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackFlatValuesListIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackNamedValuesListIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackValuesIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918115_deschler_django_modeltranslation.modeltranslation.manager_py.FallbackValuesListIterable.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3928894_linbit_linstor_api_py.linstor.kv_py.KV.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961526_tkrajina_gpxpy.gpxpy.gpx_py.GPXBounds.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.53698295_animekaizoku_enterprisealrobot.tg_bot.modules.sql.__init___py.CachingQuery.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Section.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.55413314_dbbs_lab_bsb.libs.nrn_patch.patch.objects_py.Segment.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Channels.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Matches.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.68778225_osuakatsuki_gulag.app.objects.collections_py.Players.__iter__", "_.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.87033950_inter_actief_amelie.amelie.tools.managers_py.SubclassingQuerySet.__iter__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051027_pasteorg_paste.paste.util.ip4_py.IP4Range.iteraddresses"].
pasteorg_paste
LimitedLengthFile
public
0
0
next
def next(self):if self.length - self._consumed <= 0:raise StopIterationreturn self.readline()
2
4
1
24
0
511
514
511
self
[]
Returns
{"If": 1, "Return": 1}
1
4
1
["self.readline"]
984
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.10922465_openbmc_openbmc_build_scripts.scripts.unit_test_py.Package.build_system", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.Record.full_details", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.RecordSet.__len__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.RecordSet.__next__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.emojify_py.emojify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.rainbow_py.rainbow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.protocol.slack_py.SlackClient.send_message", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.extend", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.merge", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._Iter.__next__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_guard_py.test_guard_items", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_guard_py.test_guard_keys", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_guard_py.test_guard_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_multidict_py.chained_callable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.depends.docker_registry_core.docker_registry.testing.driver_py.Driver.test_empty_after_remove_list_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.depends.docker_registry_core.docker_registry.testing.driver_py.Driver.test_empty_list_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.depends.docker_registry_core.docker_registry.testing.driver_py.Driver.test_inexistent_list_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.vcli.packages.ordereddict_py.OrderedDict.popitem", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.jsonschema.validators_py.create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3551881_astrofrog_wcsaxes.ez_setup_py.get_best_downloader", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.NXOSSSHDriver.get_interfaces", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.__init___py.secret"]
The function (next) defined within the public class called LimitedLengthFile.The function start at line 511 and ends at 514. 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, It has 1.0 function called inside which is ["self.readline"], It has 984.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.Package.build_system", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.endpoint_py.Endpoint.get", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.Record.full_details", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.RecordSet.__len__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15914487_netbox_community_pynetbox.pynetbox.core.response_py.RecordSet.__next__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.emojify_py.emojify", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.modules.rainbow_py.rainbow", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16851155_pbui_bobbit.src.bobbit.protocol.slack_py.SlackClient.send_message", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.extend", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.merge", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py.MultiDict.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.multidict._multidict_py_py._Iter.__next__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_guard_py.test_guard_items", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_guard_py.test_guard_keys", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_guard_py.test_guard_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3495544_aio_libs_multidict.tests.test_multidict_py.chained_callable", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.depends.docker_registry_core.docker_registry.testing.driver_py.Driver.test_empty_after_remove_list_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.depends.docker_registry_core.docker_registry.testing.driver_py.Driver.test_empty_list_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3513788_docker_archive_docker_registry.depends.docker_registry_core.docker_registry.testing.driver_py.Driver.test_inexistent_list_directory", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3535523_dbcli_vcli.vcli.packages.ordereddict_py.OrderedDict.popitem", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.deps.jsonschema.validators_py.create", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3551881_astrofrog_wcsaxes.ez_setup_py.get_best_downloader", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3552518_napalm_automation_napalm_nxos.napalm_nxos_ssh.nxos_ssh_py.NXOSSSHDriver.get_interfaces", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3564431_devstructure_blueprint.blueprint.io.server.__init___py.secret"].
pasteorg_paste
LimitedLengthFile
public
0
0
_seek
def _seek(self, place):self.file.seek(place)self._consumed = place
1
3
2
20
0
519
521
519
self,place
[]
None
{"Assign": 1, "Expr": 1}
1
3
1
["self.file.seek"]
0
[]
The function (_seek) defined within the public class called LimitedLengthFile.The function start at line 519 and ends at 521. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [519.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self.file.seek"].
pasteorg_paste
LimitedLengthFile
public
0
0
tell
def tell(self):if hasattr(self.file, 'tell'):try:return self.file.tell()except io.UnsupportedOperation:passreturn self._consumed
3
7
1
35
0
523
529
523
self
[]
Returns
{"If": 1, "Return": 2, "Try": 1}
2
7
2
["hasattr", "self.file.tell"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client._producers_py.FileBodyProducer._determineLength", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87138903_intel_bmap_tools.bmaptools.TransRead_py.TransRead.tell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95060891_anaconda_anaconda_client.binstar_client.requests_ext_py.MultiPartIO.tell"]
The function (tell) defined within the public class called LimitedLengthFile.The function start at line 523 and ends at 529. 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 2.0 functions, It has 2.0 functions called inside which are ["hasattr", "self.file.tell"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3595150_twisted_txaws.txaws.client._producers_py.FileBodyProducer._determineLength", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.87138903_intel_bmap_tools.bmaptools.TransRead_py.TransRead.tell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95060891_anaconda_anaconda_client.binstar_client.requests_ext_py.MultiPartIO.tell"].
pasteorg_paste
ContinueHook
public
0
0
__init__
def __init__(self, nworkers, name="ThreadPool", daemon=False,max_requests=100, # threads are killed after this many requestshung_thread_limit=30, # when a thread is marked "hung"kill_thread_limit=1800, # when you kill that hung threaddying_limit=300, # seconds that a kill should take to go into effect (longer than this and the thread is a "zombie")spawn_if_under=5, # spawn if there's too many hung threadsmax_zombie_threads_before_die=0, # when to give up on the processhung_check_period=100, # every 100 requests check for hung workerslogger=None, # Place to log messages toerror_email=None, # Person(s) to notify if serious problem occurs):"""Create thread pool with `nworkers` worker threads."""self.nworkers = nworkersself.max_requests = max_requestsself.name = nameself.queue = queue.Queue()self.workers = []self.daemon = daemonif logger is None:logger = logging.getLogger('paste.httpserver.ThreadPool')if isinstance(logger, str):logger = logging.getLogger(logger)self.logger = loggerself.error_email = error_emailself._worker_count = count()assert (not kill_thread_limitor kill_thread_limit >= hung_thread_limit), ("kill_thread_limit (%s) should be higher than hung_thread_limit (%s)"% (kill_thread_limit, hung_thread_limit))if not killthread:kill_thread_limit = 0self.logger.info("Cannot use kill_thread_limit as ctypes/killthread is not available")self.kill_thread_limit = kill_thread_limitself.dying_limit = dying_limitself.hung_thread_limit = hung_thread_limitassert spawn_if_under <= nworkers, ("spawn_if_under (%s) should be less than nworkers (%s)"% (spawn_if_under, nworkers))self.spawn_if_under = spawn_if_underself.max_zombie_threads_before_die = max_zombie_threads_before_dieself.hung_check_period = hung_check_periodself.requests_since_last_hung_check = 0# Used to keep track of what worker is doing what:self.worker_tracker = {}# Used to keep track of the workers not doing anything:self.idle_workers = []# Used to keep track of threads that have been killed, but maybe aren't dead yet:self.dying_threads = {}# This is used to track when we last had to add idle workers;# we shouldn't cull extra workers until some time has passed# (hung_thread_limit) since workers were added:self._last_added_new_idle_workers = 0if not daemon:atexit.register(self.shutdown)for i in range(self.nworkers):self.add_worker_thread(message='Initial worker pool')
7
51
13
270
0
580
640
580
self,rfile,write
[]
None
{"Assign": 2, "Expr": 2, "For": 2, "If": 2}
6
10
6
["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"]
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 ContinueHook.The function start at line 580 and ends at 640. It contains 51 lines of code and it has a cyclomatic complexity of 7. It takes 13 parameters, represented as [580.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions called inside which are ["hasattr", "setattr", "getattr", "hasattr", "setattr", "getattr"], 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
ThreadPool
public
0
0
add_task
def add_task(self, task):"""Add a task to the queue"""self.logger.debug('Added task (%i tasks queued)', self.queue.qsize())if self.hung_check_period:self.requests_since_last_hung_check += 1if self.requests_since_last_hung_check > self.hung_check_period:self.requests_since_last_hung_check = 0self.kill_hung_threads()if not self.idle_workers and self.spawn_if_under:# spawn_if_under can come into effect...busy = 0now = time.time()self.logger.debug('No idle workers for task; checking if we need to make more workers')for worker in self.workers:if not hasattr(worker, 'thread_id'):# Not initializedcontinuetime_started, info = self.worker_tracker.get(worker.thread_id, (None, None))if time_started is not None:if now - time_started < self.hung_thread_limit:busy += 1if busy < self.spawn_if_under:self.logger.info('No idle tasks, and only %s busy tasks; adding %s more ''workers', busy, self.spawn_if_under-busy)self._last_added_new_idle_workers = time.time()for i in range(self.spawn_if_under - busy):self.add_worker_thread(message='Response to lack of idle workers')else:self.logger.debug('No extra workers needed (%s busy workers)',busy)if (len(self.workers) > self.nworkersand len(self.idle_workers) > 3and time.time()-self._last_added_new_idle_workers > self.hung_thread_limit):# We've spawned worers in the past, but they aren't needed# anymore; kill off someself.logger.info('Culling %s extra workers (%s idle workers present)',len(self.workers)-self.nworkers, len(self.idle_workers))self.logger.debug('Idle workers: %s', self.idle_workers)for i in range(len(self.workers) - self.nworkers):self.queue.put(self.SHUTDOWN)self.queue.put(task)
15
41
2
311
0
642
689
642
self,task
[]
None
{"Assign": 5, "AugAssign": 2, "Expr": 11, "For": 3, "If": 8}
23
48
23
["self.logger.debug", "self.queue.qsize", "self.kill_hung_threads", "time.time", "self.logger.debug", "hasattr", "self.worker_tracker.get", "self.logger.info", "time.time", "range", "self.add_worker_thread", "self.logger.debug", "len", "len", "time.time", "self.logger.info", "len", "len", "self.logger.debug", "range", "len", "self.queue.put", "self.queue.put"]
11
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.manager_py.register_project", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.substratest.client_py.Client.add_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_aggregate_composite_traintasks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_composite_traintask_2_organizations_to_composite_traintask", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure_different_backend", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure_error_orchestrator_task_creation", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure_error_orchestrator_task_update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_task_execution_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94556497_datawhores_OF_Scraper.ofscraper.utils.live.classes.progress_py.OverallFileProgress.add_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.examples.misc.task_list_py._"]
The function (add_task) defined within the public class called ThreadPool.The function start at line 642 and ends at 689. It contains 41 lines of code and it has a cyclomatic complexity of 15. It takes 2 parameters, represented as [642.0] and does not return any value. It declares 23.0 functions, It has 23.0 functions called inside which are ["self.logger.debug", "self.queue.qsize", "self.kill_hung_threads", "time.time", "self.logger.debug", "hasattr", "self.worker_tracker.get", "self.logger.info", "time.time", "range", "self.add_worker_thread", "self.logger.debug", "len", "len", "time.time", "self.logger.info", "len", "len", "self.logger.debug", "range", "len", "self.queue.put", "self.queue.put"], It has 11.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3954392_modorganizer2_modorganizer_umbrella.unibuild.manager_py.register_project", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.substratest.client_py.Client.add_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_aggregate_composite_traintasks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_composite_traintask_2_organizations_to_composite_traintask", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure_different_backend", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure_error_orchestrator_task_creation", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_function_build_failure_error_orchestrator_task_update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69376580_substra_substra_tests.tests.test_execution_py.test_task_execution_failure", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94556497_datawhores_OF_Scraper.ofscraper.utils.live.classes.progress_py.OverallFileProgress.add_task", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94567798_marimo_team_marimo.examples.misc.task_list_py._"].
pasteorg_paste
ThreadPool
public
0
0
track_threads
def track_threads(self):"""Return a dict summarizing the threads in the pool (asdescribed in the ThreadPool docstring)."""result = dict(idle=[], busy=[], hung=[], dying=[], zombie=[])now = time.time()for worker in self.workers:if not hasattr(worker, 'thread_id'):# The worker hasn't fully started up, we should just# ignore itcontinuetime_started, info = self.worker_tracker.get(worker.thread_id, (None, None))if time_started is not None:if now - time_started > self.hung_thread_limit:result['hung'].append(worker)else:result['busy'].append(worker)else:result['idle'].append(worker)for thread_id, (time_killed, worker) in self.dying_threads.items():if not self.thread_exists(thread_id):# Cull dying threads that are actually dead and goneself.logger.info('Killed thread %s no longer around', thread_id)try:del self.dying_threads[thread_id]except KeyError:passcontinueif now - time_killed > self.dying_limit:result['zombie'].append(worker)else:result['dying'].append(worker)return result
9
29
1
206
0
691
726
691
self
[]
Returns
{"Assign": 3, "Expr": 7, "For": 2, "If": 5, "Return": 1, "Try": 1}
12
36
12
["dict", "time.time", "hasattr", "self.worker_tracker.get", "append", "append", "append", "self.dying_threads.items", "self.thread_exists", "self.logger.info", "append", "append"]
0
[]
The function (track_threads) defined within the public class called ThreadPool.The function start at line 691 and ends at 726. It contains 29 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 12.0 functions, and It has 12.0 functions called inside which are ["dict", "time.time", "hasattr", "self.worker_tracker.get", "append", "append", "append", "self.dying_threads.items", "self.thread_exists", "self.logger.info", "append", "append"].
pasteorg_paste
ThreadPool
public
0
0
kill_worker
def kill_worker(self, thread_id):"""Removes the worker with the given thread_id from the pool, andreplaces it with a new worker thread.This should only be done for mis-behaving workers."""if killthread is None:raise RuntimeError("Cannot kill worker; killthread/ctypes not available")thread_obj = threading._active.get(thread_id)try:killthread.async_raise(thread_id, SystemExit)except ValueError:# invalid thread id -- the thread has died in the mean timepasstry:del self.worker_tracker[thread_id]except KeyError:passself.logger.info('Killing thread %s', thread_id)if thread_obj in self.workers:self.workers.remove(thread_obj)self.dying_threads[thread_id] = (time.time(), thread_obj)self.add_worker_thread(message='Replacement for killed thread %s' % thread_id)
5
18
2
106
0
728
752
728
self,thread_id
[]
None
{"Assign": 2, "Expr": 5, "If": 2, "Try": 2}
7
25
7
["RuntimeError", "threading._active.get", "killthread.async_raise", "self.logger.info", "self.workers.remove", "time.time", "self.add_worker_thread"]
0
[]
The function (kill_worker) defined within the public class called ThreadPool.The function start at line 728 and ends at 752. It contains 18 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [728.0] and does not return any value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["RuntimeError", "threading._active.get", "killthread.async_raise", "self.logger.info", "self.workers.remove", "time.time", "self.add_worker_thread"].
pasteorg_paste
ThreadPool
public
0
0
thread_exists
def thread_exists(self, thread_id):"""Returns true if a thread with this id is still running"""return thread_id in threading._active
1
2
2
14
0
754
758
754
self,thread_id
[]
Returns
{"Expr": 1, "Return": 1}
0
5
0
[]
0
[]
The function (thread_exists) defined within the public class called ThreadPool.The function start at line 754 and ends at 758. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [754.0], and this function return a value..
pasteorg_paste
ThreadPool
public
0
0
add_worker_thread
def add_worker_thread(self, *args, **kwargs):index = next(self._worker_count)worker = threading.Thread(target=self.worker_thread_callback,args=args, kwargs=kwargs,name=("worker %d" % index))worker.daemon = self.daemonworker.start()
1
7
3
59
0
760
766
760
self,*args,**kwargs
[]
None
{"Assign": 3, "Expr": 1}
3
7
3
["next", "threading.Thread", "worker.start"]
0
[]
The function (add_worker_thread) defined within the public class called ThreadPool.The function start at line 760 and ends at 766. It contains 7 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [760.0] and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["next", "threading.Thread", "worker.start"].