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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pystorm_streamparse | public | public | 0 | 0 | test_invalid_bolt_input_dict_key | def test_invalid_bolt_input_dict_key(self):# Keys in input dict must be either GlobalStreamId or ComponentSpecwith self.assertRaises(TypeError):class WordCount(Topology):word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs={"word_spout": Grouping.fields("word")}) | 1 | 7 | 1 | 45 | 0 | 276 | 284 | 276 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_bolt_input_dict_key) defined within the public class called public.The function start at line 276 and ends at 284. It contains 7 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_invalid_bolt_input_dict_val | def test_invalid_bolt_input_dict_val(self):# Values in input dict must be Grouping objectswith self.assertRaises(TypeError):class WordCount(Topology):word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs={word_spout: "word"}) | 1 | 5 | 1 | 40 | 0 | 286 | 292 | 286 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_bolt_input_dict_val) defined within the public class called public.The function start at line 286 and ends at 292. It contains 5 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_invalid_bolt_input_str | def test_invalid_bolt_input_str(self):# inputs must be either list, dict, or None; not strwith self.assertRaises(TypeError):class WordCount(Topology):word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs="word_spout") | 1 | 5 | 1 | 36 | 0 | 294 | 300 | 294 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_bolt_input_str) defined within the public class called public.The function start at line 294 and ends at 300. It contains 5 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_invalid_config_str | def test_invalid_config_str(self):# configs must be either dict, or None; not strwith self.assertRaises(TypeError):class WordCount(Topology):word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs=[word_spout], config='{"foo": "bar"}') | 1 | 7 | 1 | 42 | 0 | 302 | 310 | 302 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_config_str) defined within the public class called public.The function start at line 302 and ends at 310. It contains 7 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_invalid_topology_config_str | def test_invalid_topology_config_str(self):# configs must be either dict, or None; not strwith self.assertRaises(TypeError):class WordCount(Topology):config = '{"foo": "bar"}'word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs=[word_spout]) | 1 | 6 | 1 | 41 | 0 | 312 | 319 | 312 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_topology_config_str) defined within the public class called public.The function start at line 312 and ends at 319. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_invalid_outputs_entry_int | def test_invalid_outputs_entry_int(self):# Outputs must either be list of strings or list of streams, not intsclass BadSpout(Spout):outputs = ["foo", 2]with self.assertRaises(TypeError):class WordCount(Topology):bad_spout = BadSpout.spec()word_bolt = WordCountBolt.spec(inputs=[bad_spout]) | 1 | 7 | 1 | 51 | 0 | 321 | 330 | 321 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_outputs_entry_int) defined within the public class called public.The function start at line 321 and ends at 330. It contains 7 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_invalid_outputs_str | def test_invalid_outputs_str(self):# Outputs must either be list of strings or list of streamsclass BadSpout(Spout):outputs = "foo"with self.assertRaises(TypeError):class WordCount(Topology):bad_spout = BadSpout.spec()word_bolt = WordCountBolt.spec(inputs=[bad_spout]) | 1 | 7 | 1 | 47 | 0 | 332 | 341 | 332 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_invalid_outputs_str) defined within the public class called public.The function start at line 332 and ends at 341. It contains 7 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_unknown_stream | def test_unknown_stream(self):# Should raise keyerror if stream name is not validwith self.assertRaises(KeyError):class WordCount(Topology):word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs=[word_spout["word"]]) | 1 | 5 | 1 | 41 | 0 | 343 | 349 | 343 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_unknown_stream) defined within the public class called public.The function start at line 343 and ends at 349. It contains 5 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_perl_bolt | def test_perl_bolt(self):# Make sure ShellBolt.spec worksclass PerlWordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = ShellBolt.spec(command="perl",script="count_words.pl",inputs={word_spout: Grouping.fields("word")},par=8,outputs=["word", "count"],)self.assertEqual(len(PerlWordCount.specs), 2)self.assertEqual(list(PerlWordCount.word_bolt.inputs.keys()),[PerlWordCount.word_spout["default"]],)self.assertEqual(PerlWordCount.thrift_spouts["word_spout"].common.parallelism_hint, 2)self.assertEqual(PerlWordCount.thrift_bolts["word_bolt"].common.parallelism_hint, 8)self.assertEqual(PerlWordCount.word_bolt.inputs[PerlWordCount.word_spout["default"]],Grouping.fields("word"),) | 1 | 25 | 1 | 161 | 0 | 351 | 377 | 351 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_perl_bolt) defined within the public class called public.The function start at line 351 and ends at 377. It contains 25 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_shell_bolt_no_command | def test_shell_bolt_no_command(self):# Should raise ValueError if command is Nonewith self.assertRaises(ValueError):class PerlWordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = ShellBolt.spec(script="count_words.pl",inputs={word_spout: Grouping.fields("word")},par=8,outputs=["word", "count"],) | 1 | 10 | 1 | 65 | 0 | 379 | 390 | 379 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_shell_bolt_no_command) defined within the public class called public.The function start at line 379 and ends at 390. It contains 10 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_shell_bolt_no_script | def test_shell_bolt_no_script(self):# Should raise TypeError if script is Nonewith self.assertRaises(TypeError):class PerlWordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = ShellBolt.spec(command="perl",inputs={word_spout: Grouping.fields("word")},par=8,outputs=["word", "count"],) | 1 | 10 | 1 | 65 | 0 | 392 | 403 | 392 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_shell_bolt_no_script) defined within the public class called public.The function start at line 392 and ends at 403. It contains 10 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_java_bolt_valid_arg_list | def test_java_bolt_valid_arg_list(self):# JavaBolt should work fine when given basic data typesclass JavaWordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = JavaBolt.spec(full_class_name="com.bar.foo.counter.WordCountBolt",args_list=["foo", 1, b"\x09\x10", True, 3.14159],inputs={word_spout: Grouping.fields("word")},par=8,outputs=["word", "count"],)java_object = JavaWordCount.thrift_bolts["word_bolt"].bolt_object.java_objectself.assertEqual(java_object.full_class_name, "com.bar.foo.counter.WordCountBolt")self.assertEqual(java_object.args_list,[JavaObjectArg(string_arg="foo"),JavaObjectArg(long_arg=1),JavaObjectArg(binary_arg=b"\x09\x10"),JavaObjectArg(bool_arg=True),JavaObjectArg(double_arg=3.14159),],)self.assertIsNone(JavaWordCount.thrift_bolts["word_bolt"].bolt_object.serialized_java)self.assertIsNone(JavaWordCount.thrift_bolts["word_bolt"].bolt_object.shell) | 1 | 28 | 1 | 176 | 0 | 405 | 434 | 405 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_java_bolt_valid_arg_list) defined within the public class called public.The function start at line 405 and ends at 434. It contains 28 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_java_bolt_invalid_arg_list | def test_java_bolt_invalid_arg_list(self):# JavaBolt should raise TypeError when given something other than basic data typeswith self.assertRaises(TypeError):class JavaWordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = JavaBolt.spec(full_class_name="com.bar.foo.counter.WordCountBolt",args_list=[{"foo": "bar"}, 1],inputs={word_spout: Grouping.fields("word")},par=8,outputs=["word", "count"],) | 1 | 11 | 1 | 77 | 0 | 436 | 448 | 436 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_java_bolt_invalid_arg_list) defined within the public class called public.The function start at line 436 and ends at 448. It contains 11 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_java_bolt_valid_serialized_java | def test_java_bolt_valid_serialized_java(self):# JavaBolt should work fine when given a byte string for serialized_javaserialized_java = b"\x01\x02\x03\x04\x05"class JavaWordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = JavaBolt.spec(serialized_java=serialized_java,inputs={word_spout: Grouping.fields("word")},par=8,outputs=["word", "count"],)self.assertEqual(JavaWordCount.thrift_bolts["word_bolt"].bolt_object.serialized_java,serialized_java,)self.assertIsNone(JavaWordCount.thrift_bolts["word_bolt"].bolt_object.java_object)self.assertIsNone(JavaWordCount.thrift_bolts["word_bolt"].bolt_object.shell) | 1 | 18 | 1 | 109 | 0 | 450 | 470 | 450 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_java_bolt_valid_serialized_java) defined within the public class called public.The function start at line 450 and ends at 470. 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.. |
pystorm_streamparse | public | public | 0 | 0 | test_perl_spout | def test_perl_spout(self):# Make sure ShellBolt.spec worksclass PerlWordCount(Topology):word_spout = ShellSpout.spec(command="perl", script="count_words.pl", par=2, outputs=["word"])word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8)self.assertEqual(len(PerlWordCount.specs), 2)self.assertEqual(list(PerlWordCount.word_bolt.inputs.keys()),[PerlWordCount.word_spout["default"]],)self.assertEqual(PerlWordCount.thrift_spouts["word_spout"].common.parallelism_hint, 2)self.assertEqual(PerlWordCount.thrift_bolts["word_bolt"].common.parallelism_hint, 8)self.assertEqual(PerlWordCount.word_bolt.inputs[PerlWordCount.word_spout["default"]],Grouping.fields("word"),) | 1 | 23 | 1 | 158 | 0 | 472 | 496 | 472 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_perl_spout) defined within the public class called public.The function start at line 472 and ends at 496. It contains 23 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_shell_spout_no_command | def test_shell_spout_no_command(self):# Should raise ValueError if command is Nonewith self.assertRaises(ValueError):class PerlWordCount(Topology):word_spout = ShellSpout.spec(script="count_words.pl", par=8, outputs=["word"])word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8) | 1 | 9 | 1 | 62 | 0 | 498 | 508 | 498 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_shell_spout_no_command) defined within the public class called public.The function start at line 498 and ends at 508. It contains 9 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_shell_spout_no_script | def test_shell_spout_no_script(self):# Should raise TypeError if script is Nonewith self.assertRaises(TypeError):class PerlWordCount(Topology):word_spout = ShellSpout.spec(command="perl", par=8, outputs=["word"])word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8) | 1 | 7 | 1 | 62 | 0 | 510 | 518 | 510 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_shell_spout_no_script) defined within the public class called public.The function start at line 510 and ends at 518. It contains 7 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_java_spout_valid_arg_list | def test_java_spout_valid_arg_list(self):# JavaSpout should work fine when given basic data typesclass JavaWordCount(Topology):word_spout = JavaSpout.spec(full_class_name="com.bar.foo.counter.WordSpout",args_list=["foo", 1, b"\x09\x10", True, 3.14159],par=8,outputs=["word"],)word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8)java_object = JavaWordCount.thrift_spouts["word_spout"].spout_object.java_objectself.assertEqual(java_object.full_class_name, "com.bar.foo.counter.WordSpout")self.assertEqual(java_object.args_list,[JavaObjectArg(string_arg="foo"),JavaObjectArg(long_arg=1),JavaObjectArg(binary_arg=b"\x09\x10"),JavaObjectArg(bool_arg=True),JavaObjectArg(double_arg=3.14159),],)self.assertIsNone(JavaWordCount.thrift_spouts["word_spout"].spout_object.serialized_java)self.assertIsNone(JavaWordCount.thrift_spouts["word_spout"].spout_object.shell) | 1 | 27 | 1 | 174 | 0 | 520 | 548 | 520 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_java_spout_valid_arg_list) defined within the public class called public.The function start at line 520 and ends at 548. It contains 27 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_java_spout_invalid_arg_list | def test_java_spout_invalid_arg_list(self):# JavaSpout should raise TypeError when given something other than basic data typeswith self.assertRaises(TypeError):class JavaWordCount(Topology):word_spout = JavaSpout.spec(full_class_name="com.bar.foo.counter.WordSpout",args_list=[{"foo": "bar"}, 1],par=8,outputs=["word"],)word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8) | 1 | 12 | 1 | 75 | 0 | 550 | 563 | 550 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_java_spout_invalid_arg_list) defined within the public class called public.The function start at line 550 and ends at 563. It contains 12 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_java_spout_valid_serialized_java | def test_java_spout_valid_serialized_java(self):# JavaSpout should work fine when given a byte string for serialized_javaserialized_java = b"\x01\x02\x03\x04\x05"class JavaWordCount(Topology):word_spout = JavaSpout.spec(serialized_java=serialized_java, par=8, outputs=["word"])word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8)self.assertEqual(JavaWordCount.thrift_spouts["word_spout"].spout_object.serialized_java,serialized_java,)self.assertIsNone(JavaWordCount.thrift_spouts["word_spout"].spout_object.java_object)self.assertIsNone(JavaWordCount.thrift_spouts["word_spout"].spout_object.shell) | 1 | 17 | 1 | 106 | 0 | 565 | 584 | 565 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_java_spout_valid_serialized_java) defined within the public class called public.The function start at line 565 and ends at 584. It contains 17 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_basic_to_flux_dict | def test_basic_to_flux_dict(self):class WordCount(Topology):word_spout = WordSpout.spec(par=2)word_bolt = WordCountBolt.spec(inputs={word_spout: Grouping.fields("word")}, par=8)self.assertEqual(WordCount.to_flux_dict("word_count"),{"name": "word_count","spouts": [{"id": "word_spout","className": "org.apache.storm.flux.wrappers.spouts.FluxShellSpout","configMethods": [],"constructorArgs": [["streamparse_run", "test.streamparse.test_dsl.WordSpout"],["word"],],"parallelism": 2,}],"streams": [{"to": "word_bolt","from": "word_spout","grouping": {"streamId": "default","args": ["word"],"type": "FIELDS",},}],"bolts": [{"id": "word_bolt","className": "org.apache.storm.flux.wrappers.bolts.FluxShellBolt","configMethods": [],"constructorArgs": [["streamparse_run","test.streamparse.test_dsl.WordCountBolt",],["word", "count"],],"parallelism": 8,}],},) | 1 | 50 | 1 | 178 | 0 | 586 | 636 | 586 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_basic_to_flux_dict) defined within the public class called public.The function start at line 586 and ends at 636. It contains 50 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_streamparse_run_storm_1_0_2 | def test_streamparse_run_storm_1_0_2(self):# patch streamparse_run sys argv assuming tests run# from streamparse project root, (the Storm <= 1.0.2 case):# target test run module specifying absolute import path# including 'test' foldersys.argv = ["streamparse_run","test.streamparse_run.streamparse_run_target.StreamparseRunTarget",]# invoke run module mainStreamparseRunTests.run_target_invoked = FalseStreamparseRunTests.run_target_invoked_serializer = Nonerun.main()self.assertTrue(StreamparseRunTests.run_target_invoked)self.assertEqual("json", StreamparseRunTests.run_target_invoked_serializer) | 1 | 10 | 1 | 48 | 0 | 15 | 29 | 15 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_streamparse_run_storm_1_0_2) defined within the public class called public.The function start at line 15 and ends at 29. It contains 10 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_streamparse_run_storm_1_0_3 | def test_streamparse_run_storm_1_0_3(self):# patch streamparse_run resources path and sys argv# assuming tests run from streamparse project root# with 'extra' resources folder, (Storm >= 1.0.3 case):# target test run module specifying relative import# path within 'test' resources folder; also test# serializer optionrun.RESOURCES_PATH = "test"sys.argv = ["streamparse_run","streamparse_run.streamparse_run_target.StreamparseRunTarget --serializer=msgpack",]# invoke run module mainStreamparseRunTests.run_target_invoked = FalseStreamparseRunTests.run_target_invoked_serializer = Nonerun.main()self.assertTrue(StreamparseRunTests.run_target_invoked)self.assertEqual("msgpack", StreamparseRunTests.run_target_invoked_serializer) | 1 | 11 | 1 | 53 | 0 | 31 | 48 | 31 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_streamparse_run_storm_1_0_3) defined within the public class called public.The function start at line 31 and ends at 48. It contains 11 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_resolve_options | def test_resolve_options(self):"""Ensure that CLI > topo settings > config.json"""class WordCount(Topology):config = {"virtualenv_flags": "-p /path/to/python3"}word_spout = WordSpout.spec()word_bolt = WordCountBolt.spec(inputs=[word_spout])cli_options = {}env_config = {"user": "username","nimbus": "nimbus.example.com:6627","log": {"level": "info"},"virtualenv_root": "/path/to/virtualenvs","virtualenv_flags": "/path/to/python2","ui.port": 8081,"options": {"supervisor.worker.timeout.secs": 600,"topology.message.timeout.secs": 60,"topology.max.spout.pending": 500,},}options = common.resolve_options(cli_options, env_config, WordCount, "word_count", local_only=True)self.assertEqual(options["supervisor.worker.timeout.secs"], 600)self.assertEqual(options["virtualenv_flags"], "-p /path/to/python3")cli_options = {"virtualenv_flags": "-p /path/to/python3.6"}options = common.resolve_options(cli_options, env_config, WordCount, "word_count", local_only=True)self.assertEqual(options["supervisor.worker.timeout.secs"], 600)self.assertEqual(options["virtualenv_flags"], "-p /path/to/python3.6") | 1 | 30 | 1 | 178 | 0 | 43 | 79 | 43 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_resolve_options) defined within the public class called public.The function start at line 43 and ends at 79. It contains 30 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "jar" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "kill" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "list" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "quickstart" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "remove_logs" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "run" in subcommands | 1 | 6 | 0 | 42 | 3 | 8 | 14 | 8 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 8 and ends at 14. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_main_args_passed | def test_main_args_passed(run_local_mock):parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)args = parser.parse_args("run -e my_env -n my_topo --ackers 1".split())main(args)run_local_mock.assert_called_with(name="my_topo",options={"topology.acker.executors": 1},env_name="my_env",time=0,config_file=None,) | 1 | 13 | 1 | 68 | 3 | 18 | 32 | 18 | null | ['parser', 'args', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_main_args_passed) defined within the public class called public.The function start at line 18 and ends at 32. It contains 13 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_load_subparsers | def test_load_subparsers():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()sparse.load_subparsers(subparsers)# grab subcommands from subparserssubcommands = parser._optionals._actions[1].choices.keys()# we know quickstart will be a subcommand test others as neededassert "quickstart" in subcommands | 1 | 6 | 0 | 44 | 3 | 7 | 14 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_load_subparsers) defined within the public class called public.The function start at line 7 and ends at 14. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "stats" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "submit" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "tail" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "update_virtualenv" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | test_subparser_hook | def test_subparser_hook():parser = argparse.ArgumentParser()subparsers = parser.add_subparsers()subparser_hook(subparsers)subcommands = parser._optionals._actions[1].choices.keys()assert "worker_uptime" in subcommands | 1 | 6 | 0 | 42 | 3 | 7 | 13 | 7 | null | ['parser', 'subcommands', 'subparsers'] | None | null | 0 | 0 | 0 | null | 0 | null | The function (test_subparser_hook) defined within the public class called public.The function start at line 7 and ends at 13. It contains 6 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | __init__ | def __init__(self, serializer):self.serializer = serializer | 1 | 2 | 2 | 12 | 0 | 9 | 10 | 9 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (__init__) defined within the public class called public.The function start at line 9 and ends at 10. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [9.0] and does not return any value.. |
pystorm_streamparse | public | public | 0 | 0 | run | def run(self):StreamparseRunTests.run_target_invoked = TrueStreamparseRunTests.run_target_invoked_serializer = self.serializer | 1 | 3 | 1 | 17 | 0 | 12 | 14 | 12 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (run) defined within the public class called public.The function start at line 12 and ends at 14. 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_pastescript | AbstractInstallCommand | public | 0 | 1 | run | def run(self, args):# This is overridden so we can parse sys-config before we pass# it to optparseself.sysconfigs = self.default_sysconfigsnew_args = []while args:if args[0].startswith('--no-default-sysconfig'):self.sysconfigs = []args.pop(0)continueif args[0].startswith('--sysconfig='):self.sysconfigs.insert(0, (True, args.pop(0)[len('--sysconfig='):]))continueif args[0] == '--sysconfig':args.pop(0)if not args:raise BadCommand("You gave --sysconfig as the last argument without ""a value")self.sysconfigs.insert(0, (True, args.pop(0)))continuenew_args.append(args.pop(0))self.load_sysconfigs()return super(AbstractInstallCommand, self).run(new_args) | 6 | 23 | 2 | 155 | 0 | 38 | 62 | 38 | self,args | [] | Returns | {"Assign": 3, "Expr": 6, "If": 4, "Return": 1, "While": 1} | 15 | 25 | 15 | ["startswith", "args.pop", "startswith", "self.sysconfigs.insert", "args.pop", "len", "args.pop", "BadCommand", "self.sysconfigs.insert", "args.pop", "new_args.append", "args.pop", "self.load_sysconfigs", "run", "super"] | 668 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.add_directories", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.add_project_to_path", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.checkout_latest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.dump_db", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.files_are_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.install_requirements", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.run_migrations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.v1_static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.install.landscape_py.LandscapeInstall._do_install_existing_maas", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.install.multi_py.MultiInstall.do_install", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.installbase_py.InstallController._save_maas_creds", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.installbase_py.InstallController.do_install", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.docs.conf_py.ReleasesTree.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.flo.test.test_behaving_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.flo.test.test_behaving_py.runOne", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.flo.test.test_behaving_py.runSome", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_paging_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_paging_py.runOne", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_paging_py.runSome", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_stacking_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_stacking_py.runOne", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_stacking_py.runSome", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.road.test.test_estating_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.road.test.test_estating_py.runOneBasic", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.road.test.test_estating_py.runSome"] | The function (run) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 38 and ends at 62. It contains 23 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [38.0], and this function return a value. It declares 15.0 functions, It has 15.0 functions called inside which are ["startswith", "args.pop", "startswith", "self.sysconfigs.insert", "args.pop", "len", "args.pop", "BadCommand", "self.sysconfigs.insert", "args.pop", "new_args.append", "args.pop", "self.load_sysconfigs", "run", "super"], It has 668.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.add_directories", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.add_project_to_path", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.checkout_latest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.dump_db", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.files_are_different", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.install_requirements", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.run_migrations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508273_sc3_cookcountyjail.fabfile_py.v1_static", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.install.landscape_py.LandscapeInstall._do_install_existing_maas", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.install.multi_py.MultiInstall.do_install", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.installbase_py.InstallController._save_maas_creds", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3536852_ubuntu_solutions_engineering_openstack_installer.cloudinstall.controllers.installbase_py.InstallController.do_install", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.docs.conf_py.ReleasesTree.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.flo.test.test_behaving_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.flo.test.test_behaving_py.runOne", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.flo.test.test_behaving_py.runSome", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_paging_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_paging_py.runOne", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_paging_py.runSome", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_stacking_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_stacking_py.runOne", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.lane.test.test_stacking_py.runSome", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.road.test.test_estating_py.runAll", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.road.test.test_estating_py.runOneBasic", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3544482_saltstack_raet.raet.road.test.test_estating_py.runSome"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | standard_parser | def standard_parser(cls, **kw):parser = super(AbstractInstallCommand, cls).standard_parser(**kw)parser.add_option('--sysconfig',action="append",dest="sysconfigs",help="System configuration file")parser.add_option('--no-default-sysconfig',action='store_true',dest='no_default_sysconfig',help="Don't load the default sysconfig files")parser.add_option('--easy-install',action='append',dest='easy_install_op',metavar='OP',help='An option to add if invoking easy_install (like --easy-install=exclude-scripts)')parser.add_option('--no-install',action='store_true',dest='no_install',help="Don't try to install the package (it must already be installed)")parser.add_option('-f', '--find-links',action='append',dest='easy_install_find_links',metavar='URL',help='Passed through to easy_install')return parser | 1 | 28 | 2 | 124 | 0 | 65 | 93 | 65 | cls,**kw | [] | Returns | {"Assign": 1, "Expr": 5, "Return": 1} | 7 | 29 | 7 | ["standard_parser", "super", "parser.add_option", "parser.add_option", "parser.add_option", "parser.add_option", "parser.add_option"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.appinstall_py.AbstractInstallCommand.standard_parser"] | The function (standard_parser) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 65 and ends at 93. It contains 28 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [65.0], and this function return a value. It declares 7.0 functions, It has 7.0 functions called inside which are ["standard_parser", "super", "parser.add_option", "parser.add_option", "parser.add_option", "parser.add_option", "parser.add_option"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.appinstall_py.AbstractInstallCommand.standard_parser"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | load_sysconfigs | def load_sysconfigs(self):configs = self.sysconfigs[:]configs.reverse()self.sysconfig_modules = []for index, (explicit, name) in enumerate(configs):# @@: At some point I'd like to give the specialized# modules some access to the values in earlier modules,# e.g., to specialize those values or functions.That's# why these modules are loaded backwards.if name.endswith('.py'):if not os.path.exists(name):if explicit:raise BadCommand("sysconfig file %s does not exist"% name)else:continueglobs = {}exec(compile(open(name).read(), name, 'exec'), globs)mod = types.ModuleType('__sysconfig_%i__' % index)for name, value in globs.items():setattr(mod, name, value)mod.__file__ = nameelse:try:mod = import_string.simple_import(name)except ImportError:if explicit:raiseelse:continuemod.paste_command = selfself.sysconfig_modules.insert(0, mod)# @@: I'd really prefer to clone the parser here somehow,# not to modify it in placeparser = self.parserself.call_sysconfig_functions('add_custom_options', parser) | 8 | 31 | 1 | 178 | 0 | 101 | 137 | 101 | self | [] | None | {"Assign": 8, "Expr": 5, "For": 2, "If": 4, "Try": 1} | 15 | 37 | 15 | ["configs.reverse", "enumerate", "name.endswith", "os.path.exists", "BadCommand", "exec", "compile", "read", "open", "types.ModuleType", "globs.items", "setattr", "import_string.simple_import", "self.sysconfig_modules.insert", "self.call_sysconfig_functions"] | 0 | [] | The function (load_sysconfigs) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 101 and ends at 137. It contains 31 lines of code and it has a cyclomatic complexity of 8. The function does not take any parameters and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["configs.reverse", "enumerate", "name.endswith", "os.path.exists", "BadCommand", "exec", "compile", "read", "open", "types.ModuleType", "globs.items", "setattr", "import_string.simple_import", "self.sysconfig_modules.insert", "self.call_sysconfig_functions"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | get_sysconfig_option | def get_sysconfig_option(self, name, default=None):"""Return the value of the given option in the first sysconfigmodule in which it is found, or ``default`` (None) if notfound in any."""for mod in self.sysconfig_modules:if hasattr(mod, name):return getattr(mod, name)return default | 3 | 5 | 3 | 36 | 0 | 139 | 148 | 139 | self,name,default | [] | Returns | {"Expr": 1, "For": 1, "If": 1, "Return": 2} | 2 | 10 | 2 | ["hasattr", "getattr"] | 0 | [] | The function (get_sysconfig_option) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 139 and ends at 148. It contains 5 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [139.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["hasattr", "getattr"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | get_sysconfig_options | def get_sysconfig_options(self, name):"""Return the option value for the given name in all thesysconfig modules in which is is found (``[]`` if none)."""return [getattr(mod, name) for mod in self.sysconfig_modulesif hasattr(mod, name)] | 3 | 3 | 2 | 30 | 0 | 150 | 156 | 150 | self,name | [] | Returns | {"Expr": 1, "Return": 1} | 2 | 7 | 2 | ["getattr", "hasattr"] | 0 | [] | The function (get_sysconfig_options) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 150 and ends at 156. It contains 3 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [150.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["getattr", "hasattr"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | call_sysconfig_function | def call_sysconfig_function(self, name, *args, **kw):"""Call the specified function in the first sysconfig module itis defined in.``NameError`` if no function is found."""val = self.get_sysconfig_option(name)if val is None:raise NameError("Method %s not found in any sysconfig module" % name)return val(*args, **kw) | 2 | 6 | 4 | 43 | 0 | 158 | 167 | 158 | self,name,*args,**kw | [] | Returns | {"Assign": 1, "Expr": 1, "If": 1, "Return": 1} | 3 | 10 | 3 | ["self.get_sysconfig_option", "NameError", "val"] | 0 | [] | The function (call_sysconfig_function) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 158 and ends at 167. It contains 6 lines of code and it has a cyclomatic complexity of 2. It takes 4 parameters, represented as [158.0], and this function return a value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["self.get_sysconfig_option", "NameError", "val"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | call_sysconfig_functions | def call_sysconfig_functions(self, name, *args, **kw):"""Call all the named functions in the sysconfig modules,returning a list of the return values."""return [method(*args, **kw) for method inself.get_sysconfig_options(name)] | 2 | 3 | 4 | 34 | 0 | 169 | 175 | 169 | self,name,*args,**kw | [] | Returns | {"Expr": 1, "Return": 1} | 2 | 7 | 2 | ["method", "self.get_sysconfig_options"] | 0 | [] | The function (call_sysconfig_functions) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 169 and ends at 175. It contains 3 lines of code and it has a cyclomatic complexity of 2. It takes 4 parameters, represented as [169.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["method", "self.get_sysconfig_options"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | sysconfig_install_vars | def sysconfig_install_vars(self, installer):"""Return the folded results of calling the``install_variables()`` functions."""result = {}all_vars = self.call_sysconfig_functions('install_variables', installer)all_vars.reverse()for vardict in all_vars:result.update(vardict)return result | 2 | 8 | 2 | 40 | 0 | 177 | 188 | 177 | self,installer | [] | Returns | {"Assign": 2, "Expr": 3, "For": 1, "Return": 1} | 3 | 12 | 3 | ["self.call_sysconfig_functions", "all_vars.reverse", "result.update"] | 0 | [] | The function (sysconfig_install_vars) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 177 and ends at 188. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [177.0], and this function return a value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["self.call_sysconfig_functions", "all_vars.reverse", "result.update"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | get_distribution | def get_distribution(self, req):"""This gets a distribution object, and installs the distributionif required."""try:dist = pkg_resources.get_distribution(req)if self.verbose:print('Distribution already installed:')print(' ', dist, 'from', dist.location)return distexcept pkg_resources.DistributionNotFound:if self.options.no_install:print("Because --no-install was given, we won't try to install the package %s" % req)raiseoptions = ['-v', '-m']for op in self.options.easy_install_op or []:if not op.startswith('-'):op = '--'+opoptions.append(op)for op in self.options.easy_install_find_links or []:options.append('--find-links=%s' % op)if self.simulate:raise BadCommand("Must install %s, but in simulation mode" % req)print("Must install %s" % req)from setuptools.command import easy_installfrom setuptools import setupsetup(script_args=['-q', 'easy_install']+ options + [req])return pkg_resources.get_distribution(req) | 10 | 27 | 2 | 170 | 0 | 194 | 224 | 194 | self,req | [] | Returns | {"Assign": 3, "Expr": 8, "For": 2, "If": 4, "Return": 2, "Try": 1} | 11 | 31 | 11 | ["pkg_resources.get_distribution", "print", "print", "print", "op.startswith", "options.append", "options.append", "BadCommand", "print", "setup", "pkg_resources.get_distribution"] | 3 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.databases.findstat_py.findmap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.databases.findstat_py.findstat", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95079708_CiscoTestAutomation_rest.src.rest.connector.utils_py.get_installed_lib_versions"] | The function (get_distribution) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 194 and ends at 224. It contains 27 lines of code and it has a cyclomatic complexity of 10. It takes 2 parameters, represented as [194.0], and this function return a value. It declares 11.0 functions, It has 11.0 functions called inside which are ["pkg_resources.get_distribution", "print", "print", "print", "op.startswith", "options.append", "options.append", "BadCommand", "print", "setup", "pkg_resources.get_distribution"], It has 3.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.databases.findstat_py.findmap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.databases.findstat_py.findstat", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95079708_CiscoTestAutomation_rest.src.rest.connector.utils_py.get_installed_lib_versions"]. |
pasteorg_pastescript | AbstractInstallCommand | public | 0 | 1 | get_installer | def get_installer(self, distro, ep_group, ep_name):if hasattr(distro, 'load_entry_point'):# pkg_resources.EggInfoDistributioninstaller_class = distro.load_entry_point('paste.app_install', ep_name)else:# importlib.metadata.PathDistributioneps = [ep for ep in distro.entry_points if ep.group == 'paste.app_install' and ep.name == ep_name]installer_class = eps[0].load()installer = installer_class(distro, ep_group, ep_name)return installer | 5 | 11 | 4 | 76 | 0 | 226 | 238 | 226 | self,distro,ep_group,ep_name | [] | Returns | {"Assign": 4, "If": 1, "Return": 1} | 4 | 13 | 4 | ["hasattr", "distro.load_entry_point", "load", "installer_class"] | 0 | [] | The function (get_installer) defined within the public class called AbstractInstallCommand, that inherit another class.The function start at line 226 and ends at 238. It contains 11 lines of code and it has a cyclomatic complexity of 5. It takes 4 parameters, represented as [226.0], and this function return a value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["hasattr", "distro.load_entry_point", "load", "installer_class"]. |
pasteorg_pastescript | MakeConfigCommand | public | 0 | 1 | command | def command(self):self.requirement = self.args[0]if '#' in self.requirement:if self.options.ep_name is not None:raise BadCommand("You may not give both --name and a requirement with ""#name")self.requirement, self.options.ep_name = self.requirement.split('#', 1)if not self.options.ep_name:self.options.ep_name = 'main'self.distro = self.get_distribution(self.requirement)self.installer = self.get_installer(self.distro, self.options.ep_group, self.options.ep_name)if self.options.show_info:if len(self.args) > 1:raise BadCommand("With --info you can only give one argument")return self.show_info()if len(self.args) < 2:# See if sysconfig can give us a default filenameoptions = filter(None, self.call_sysconfig_functions('default_config_filename', self.installer))if not options:raise BadCommand("You must give a configuration filename")self.config_file = options[0]else:self.config_file = self.args[1]self.check_config_file()self.project_name = self.distro.project_nameself.vars = self.sysconfig_install_vars(self.installer)self.vars.update(self.parse_vars(self.args[2:]))self.vars['project_name'] = self.project_nameself.vars['requirement'] = self.requirementself.vars['ep_name'] = self.options.ep_nameself.vars['ep_group'] = self.options.ep_groupself.vars.setdefault('app_name', self.project_name.lower())self.vars.setdefault('app_instance_uuid', uuid.uuid4())self.vars.setdefault('app_instance_secret', secret.secret_string())if self.verbose > 1:print_vars = sorted(self.vars.items())print('Variables for installation:')for name, value in print_vars:print('%s: %r' % (name, value))self.installer.write_config(self, self.config_file, self.vars)edit_success = Trueif self.options.edit:edit_success = self.run_editor()setup_configs = self.installer.editable_config_files(self.config_file)# @@: We'll just assume the first file in the list is the one# that works with setup-app...setup_config = setup_configs[0]if self.options.run_setup:if not edit_success:print('Config-file editing was not successful.')if self.ask('Run setup-app anyway?', default=False):self.run_setup(setup_config)else:self.run_setup(setup_config)else:filenames = self.installer.editable_config_files(self.config_file)assert not isinstance(filenames, str), ("editable_config_files returned a string, not a list")if not filenames and filenames is not None:print('No config files need editing')else:print('Now you should edit the config files')if filenames:for fn in filenames:print('%s' % fn) | 18 | 67 | 1 | 517 | 0 | 284 | 353 | 284 | self | [] | Returns | {"Assign": 20, "Expr": 14, "For": 2, "If": 14, "Return": 1} | 37 | 70 | 37 | ["BadCommand", "self.requirement.split", "self.get_distribution", "self.get_installer", "len", "BadCommand", "self.show_info", "len", "filter", "self.call_sysconfig_functions", "BadCommand", "self.check_config_file", "self.sysconfig_install_vars", "self.vars.update", "self.parse_vars", "self.vars.setdefault", "self.project_name.lower", "self.vars.setdefault", "uuid.uuid4", "self.vars.setdefault", "secret.secret_string", "sorted", "self.vars.items", "print", "print", "self.installer.write_config", "self.run_editor", "self.installer.editable_config_files", "print", "self.ask", "self.run_setup", "self.run_setup", "self.installer.editable_config_files", "isinstance", "print", "print", "print"] | 59 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec._eval", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec.retry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3681862_fschulze_mr_developer.src.mr.developer.develop_py.Develop.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.clean", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestX509.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.txmongo.collection_py.Collection.rename", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704533_opentsdb_tcollector.collectors.available.software.long_lived.mongo3_py.runDbStats", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914039_jaraco_wolframalpha.wolframalpha.pmxbot_py.wa", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918795_innogames_igmonplugins.src.check_cisco_health_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3925757_notenoughmods_notenoughmodpolling.NotEnoughMods_Tools_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.auth_py.generate_auth_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.blocks_py.verify_blocks_signatures", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.argos_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.currency_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.difficulties", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.list_blocks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.license_py.license_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.money_py.cmd_amount", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.tx_history_py.transaction_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._help", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._with", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addnote", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addpriv"] | The function (command) defined within the public class called MakeConfigCommand, that inherit another class.The function start at line 284 and ends at 353. It contains 67 lines of code and it has a cyclomatic complexity of 18. The function does not take any parameters, and this function return a value. It declares 37.0 functions, It has 37.0 functions called inside which are ["BadCommand", "self.requirement.split", "self.get_distribution", "self.get_installer", "len", "BadCommand", "self.show_info", "len", "filter", "self.call_sysconfig_functions", "BadCommand", "self.check_config_file", "self.sysconfig_install_vars", "self.vars.update", "self.parse_vars", "self.vars.setdefault", "self.project_name.lower", "self.vars.setdefault", "uuid.uuid4", "self.vars.setdefault", "secret.secret_string", "sorted", "self.vars.items", "print", "print", "self.installer.write_config", "self.run_editor", "self.installer.editable_config_files", "print", "self.ask", "self.run_setup", "self.run_setup", "self.installer.editable_config_files", "isinstance", "print", "print", "print"], It has 59.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec._eval", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec.retry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3681862_fschulze_mr_developer.src.mr.developer.develop_py.Develop.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.clean", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestX509.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.txmongo.collection_py.Collection.rename", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704533_opentsdb_tcollector.collectors.available.software.long_lived.mongo3_py.runDbStats", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914039_jaraco_wolframalpha.wolframalpha.pmxbot_py.wa", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918795_innogames_igmonplugins.src.check_cisco_health_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3925757_notenoughmods_notenoughmodpolling.NotEnoughMods_Tools_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.auth_py.generate_auth_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.blocks_py.verify_blocks_signatures", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.argos_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.currency_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.difficulties", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.list_blocks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.license_py.license_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.money_py.cmd_amount", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.tx_history_py.transaction_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._help", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._with", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addnote", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addpriv"]. |
pasteorg_pastescript | MakeConfigCommand | public | 0 | 1 | show_info | def show_info(self):text = self.installer.description(None)print(text) | 1 | 3 | 1 | 19 | 0 | 355 | 357 | 355 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["self.installer.description", "print"] | 0 | [] | The function (show_info) defined within the public class called MakeConfigCommand, that inherit another class.The function start at line 355 and ends at 357. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.installer.description", "print"]. |
pasteorg_pastescript | MakeConfigCommand | public | 0 | 1 | check_config_file | def check_config_file(self):if self.installer.expect_config_directory is None:returnfn = self.config_fileif self.installer.expect_config_directory:if os.path.splitext(fn)[1]:raise BadCommand("The CONFIG_FILE argument %r looks like a filename, ""and a directory name is expected" % fn)else:if fn.endswith('/') or not os.path.splitext(fn):raise BadCommand("The CONFIG_FILE argument %r looks like a directory ""name and a filename is expected" % fn) | 6 | 14 | 1 | 76 | 0 | 359 | 372 | 359 | self | [] | None | {"Assign": 1, "If": 4, "Return": 1} | 5 | 14 | 5 | ["os.path.splitext", "BadCommand", "fn.endswith", "os.path.splitext", "BadCommand"] | 0 | [] | The function (check_config_file) defined within the public class called MakeConfigCommand, that inherit another class.The function start at line 359 and ends at 372. It contains 14 lines of code and it has a cyclomatic complexity of 6. The function does not take any parameters and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["os.path.splitext", "BadCommand", "fn.endswith", "os.path.splitext", "BadCommand"]. |
pasteorg_pastescript | MakeConfigCommand | public | 0 | 1 | run_setup | def run_setup(self, filename):run_command(['setup-app', filename]) | 1 | 2 | 2 | 15 | 0 | 374 | 375 | 374 | self,filename | [] | None | {"Expr": 1} | 1 | 2 | 1 | ["run_command"] | 0 | [] | The function (run_setup) defined within the public class called MakeConfigCommand, that inherit another class.The function start at line 374 and ends at 375. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [374.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["run_command"]. |
pasteorg_pastescript | MakeConfigCommand | public | 0 | 1 | run_editor | def run_editor(self):filenames = self.installer.editable_config_files(self.config_file)if filenames is None:print('Warning: the config file is not known (--edit ignored)')return Falseif not filenames:print('Warning: no config files need editing (--edit ignored)')return Trueif len(filenames) > 1:print('Warning: there is more than one editable config file (--edit ignored)')return Falseif not os.environ.get('EDITOR'):print('Error: you must set $EDITOR if using --edit')return Falseif self.verbose:print('%s %s' % (os.environ['EDITOR'], filenames[0]))retval = os.system('$EDITOR %s' % filenames[0])if retval:print('Warning: editor %s returned with error code %i' % (os.environ['EDITOR'], retval))return Falsereturn True | 7 | 22 | 1 | 127 | 0 | 377 | 398 | 377 | self | [] | Returns | {"Assign": 2, "Expr": 6, "If": 6, "Return": 6} | 10 | 22 | 10 | ["self.installer.editable_config_files", "print", "print", "len", "print", "os.environ.get", "print", "print", "os.system", "print"] | 0 | [] | The function (run_editor) defined within the public class called MakeConfigCommand, that inherit another class.The function start at line 377 and ends at 398. It contains 22 lines of code and it has a cyclomatic complexity of 7. The function does not take any parameters, and this function return a value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["self.installer.editable_config_files", "print", "print", "len", "print", "os.environ.get", "print", "print", "os.system", "print"]. |
pasteorg_pastescript | MakeConfigCommand | public | 0 | 1 | command | def command(self):config_spec = self.args[0]section = self.options.section_nameif section is None:if '#' in config_spec:config_spec, section = config_spec.split('#', 1)else:section = 'main'if not ':' in section:plain_section = sectionsection = 'app:'+sectionelse:plain_section = section.split(':', 1)[0]if not config_spec.startswith('config:'):config_spec = 'config:' + config_specif plain_section != 'main':config_spec += '#' + plain_sectionconfig_file = config_spec[len('config:'):].split('#', 1)[0]config_file = os.path.join(os.getcwd(), config_file)self.logging_file_config(config_file)conf = appconfig(config_spec, relative_to=os.getcwd())ep_name = conf.context.entry_point_nameep_group = conf.context.protocoldist = conf.context.distributionif dist is None:raise BadCommand("The section %r is not the application (probably a filter).You should add #section_name, where section_name is the section that configures your application" % plain_section)installer = self.get_installer(dist, ep_group, ep_name)installer.setup_config(self, config_file, section, self.sysconfig_install_vars(installer))self.call_sysconfig_functions('post_setup_hook', installer, config_file) | 7 | 32 | 1 | 228 | 0 | 427 | 458 | 427 | self | [] | Returns | {"Assign": 20, "Expr": 14, "For": 2, "If": 14, "Return": 1} | 37 | 70 | 37 | ["BadCommand", "self.requirement.split", "self.get_distribution", "self.get_installer", "len", "BadCommand", "self.show_info", "len", "filter", "self.call_sysconfig_functions", "BadCommand", "self.check_config_file", "self.sysconfig_install_vars", "self.vars.update", "self.parse_vars", "self.vars.setdefault", "self.project_name.lower", "self.vars.setdefault", "uuid.uuid4", "self.vars.setdefault", "secret.secret_string", "sorted", "self.vars.items", "print", "print", "self.installer.write_config", "self.run_editor", "self.installer.editable_config_files", "print", "self.ask", "self.run_setup", "self.run_setup", "self.installer.editable_config_files", "isinstance", "print", "print", "print"] | 59 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec._eval", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec.retry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3681862_fschulze_mr_developer.src.mr.developer.develop_py.Develop.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.clean", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestX509.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.txmongo.collection_py.Collection.rename", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704533_opentsdb_tcollector.collectors.available.software.long_lived.mongo3_py.runDbStats", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914039_jaraco_wolframalpha.wolframalpha.pmxbot_py.wa", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918795_innogames_igmonplugins.src.check_cisco_health_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3925757_notenoughmods_notenoughmodpolling.NotEnoughMods_Tools_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.auth_py.generate_auth_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.blocks_py.verify_blocks_signatures", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.argos_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.currency_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.difficulties", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.list_blocks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.license_py.license_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.money_py.cmd_amount", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.tx_history_py.transaction_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._help", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._with", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addnote", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addpriv"] | The function (command) defined within the public class called MakeConfigCommand, that inherit another class.The function start at line 427 and ends at 458. It contains 32 lines of code and it has a cyclomatic complexity of 7. The function does not take any parameters, and this function return a value. It declares 37.0 functions, It has 37.0 functions called inside which are ["BadCommand", "self.requirement.split", "self.get_distribution", "self.get_installer", "len", "BadCommand", "self.show_info", "len", "filter", "self.call_sysconfig_functions", "BadCommand", "self.check_config_file", "self.sysconfig_install_vars", "self.vars.update", "self.parse_vars", "self.vars.setdefault", "self.project_name.lower", "self.vars.setdefault", "uuid.uuid4", "self.vars.setdefault", "secret.secret_string", "sorted", "self.vars.items", "print", "print", "self.installer.write_config", "self.run_editor", "self.installer.editable_config_files", "print", "self.ask", "self.run_setup", "self.run_setup", "self.installer.editable_config_files", "isinstance", "print", "print", "print"], It has 59.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec._eval", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3569468_lun_4_jose.ext.exec_py.Exec.retry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3681862_fschulze_mr_developer.src.mr.developer.develop_py.Develop.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.clean", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestMongoAuth.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.tests.advanced.test_auth_py.TestX509.setUp", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3682841_twisted_txmongo.txmongo.collection_py.Collection.rename", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3704533_opentsdb_tcollector.collectors.available.software.long_lived.mongo3_py.runDbStats", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3914039_jaraco_wolframalpha.wolframalpha.pmxbot_py.wa", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918795_innogames_igmonplugins.src.check_cisco_health_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3925757_notenoughmods_notenoughmodpolling.NotEnoughMods_Tools_py.execute", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.auth_py.generate_auth_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.blocks_py.verify_blocks_signatures", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.argos_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.currency_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.difficulties", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.commands_py.list_blocks", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.license_py.license_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.money_py.cmd_amount", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3926013_duniter_silkaj.silkaj.tx_history_py.transaction_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._help", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py._with", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addnote", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69560656_osuakatsuki_bancho_py.app.commands_py.addpriv"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | __init__ | def __init__(self, dist, ep_group, ep_name):self.dist = distself.ep_group = ep_groupself.ep_name = ep_name | 1 | 4 | 4 | 26 | 0 | 493 | 496 | 493 | self,dist,ep_group,ep_name | [] | None | {"Assign": 3} | 0 | 4 | 0 | [] | 8,182 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"] | The function (__init__) defined within the public class called Installer, that inherit another class.The function start at line 493 and ends at 496. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [493.0] and does not return any value. It has 8182.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | description | def description(self, config):return 'An application' | 1 | 2 | 2 | 9 | 0 | 498 | 499 | 498 | self,config | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 5 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.is_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.wait", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_swagger_py.SwaggerTest.test_description"] | The function (description) defined within the public class called Installer, that inherit another class.The function start at line 498 and ends at 499. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [498.0], and this function return a value. It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.is_set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.set", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3700117_gmr_rabbitpy.rabbitpy.events_py.Events.wait", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_swagger_py.SwaggerTest.test_description"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | write_config | def write_config(self, command, filename, vars):"""Writes the content to the filename (directory or single file).You should use the ``command`` object, which respects thingslike simulation and interactive.``vars`` is a dictionaryof user-provided variables."""command.ensure_file(filename, self.config_content(command, vars)) | 1 | 2 | 4 | 27 | 0 | 501 | 508 | 501 | self,command,filename,vars | [] | None | {"Expr": 2} | 2 | 8 | 2 | ["command.ensure_file", "self.config_content"] | 2 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966919_archivy_archivy.archivy.cli_py.init", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966919_archivy_archivy.archivy.routes_py.config"] | The function (write_config) defined within the public class called Installer, that inherit another class.The function start at line 501 and ends at 508. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [501.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["command.ensure_file", "self.config_content"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966919_archivy_archivy.archivy.cli_py.init", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966919_archivy_archivy.archivy.routes_py.config"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | editable_config_files | def editable_config_files(self, filename):"""Return a list of filenames; this is primarily used when thefilename is treated as a directory and several configurationfiles are created.The default implementation returns thefile itself.Return None if you don't know what files shouldbe edited on installation."""if not self.expect_config_directory:return [filename]else:return None | 2 | 5 | 2 | 22 | 0 | 510 | 521 | 510 | self,filename | [] | Returns | {"Expr": 1, "If": 1, "Return": 2} | 0 | 12 | 0 | [] | 0 | [] | The function (editable_config_files) defined within the public class called Installer, that inherit another class.The function start at line 510 and ends at 521. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [510.0], and this function return a value.. |
pasteorg_pastescript | Installer | public | 0 | 1 | config_content | def config_content(self, command, vars):"""Called by ``self.write_config``, this returns the text contentfor the config file, given the provided variables.The default implementation reads``Package.egg-info/paste_deploy_config.ini_tmpl`` and fills itwith the variables."""global Cheetahmeta_name = 'paste_deploy_config.ini_tmpl'if not self.dist.has_metadata(meta_name):if command.verbose:print('No %s found' % meta_name)return self.simple_config(vars)return self.template_renderer(self.dist.get_metadata(meta_name), vars, filename=meta_name) | 3 | 9 | 3 | 64 | 0 | 523 | 539 | 523 | self,command,vars | [] | Returns | {"Assign": 1, "Expr": 2, "If": 2, "Return": 2} | 5 | 17 | 5 | ["self.dist.has_metadata", "print", "self.simple_config", "self.template_renderer", "self.dist.get_metadata"] | 0 | [] | The function (config_content) defined within the public class called Installer, that inherit another class.The function start at line 523 and ends at 539. It contains 9 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [523.0], and this function return a value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["self.dist.has_metadata", "print", "self.simple_config", "self.template_renderer", "self.dist.get_metadata"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | template_renderer | def template_renderer(self, content, vars, filename=None):"""Subclasses may override this to provide different templatesubstitution (e.g., use a different template engine)."""if self.use_cheetah:import Cheetah.Templatetmpl = Cheetah.Template.Template(content, searchList=[vars])return copydir.careful_sub(tmpl, vars, filename)else:tmpl = string.Template(content)return tmpl.substitute(vars) | 2 | 10 | 4 | 67 | 0 | 541 | 554 | 541 | self,content,vars,filename | [] | Returns | {"Assign": 2, "Expr": 1, "If": 1, "Return": 2} | 4 | 14 | 4 | ["Cheetah.Template.Template", "copydir.careful_sub", "string.Template", "tmpl.substitute"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.copydir_py.substitute_content"] | The function (template_renderer) defined within the public class called Installer, that inherit another class.The function start at line 541 and ends at 554. It contains 10 lines of code and it has a cyclomatic complexity of 2. It takes 4 parameters, represented as [541.0], and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["Cheetah.Template.Template", "copydir.careful_sub", "string.Template", "tmpl.substitute"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.copydir_py.substitute_content"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | simple_config | def simple_config(self, vars):"""Return a very simple configuration file for this application."""if self.ep_name != 'main':ep_name = '#'+self.ep_nameelse:ep_name = ''return ('[app:main]\n''use = egg:%s%s\n'% (self.dist.project_name, ep_name)) | 2 | 8 | 2 | 42 | 0 | 556 | 566 | 556 | self,vars | [] | Returns | {"Assign": 2, "Expr": 1, "If": 1, "Return": 1} | 0 | 11 | 0 | [] | 0 | [] | The function (simple_config) defined within the public class called Installer, that inherit another class.The function start at line 556 and ends at 566. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [556.0], and this function return a value.. |
pasteorg_pastescript | Installer | public | 0 | 1 | setup_config | def setup_config(self, command, filename, section, vars):"""Called to setup an application, given its configurationfile/directory.The default implementation calls``package.websetup.setup_config(command, filename, section,vars)`` or ``package.websetup.setup_app(command, config,vars)``With ``setup_app`` the ``config`` object is a dictionary withthe extra attributes ``global_conf``, ``local_conf`` and``filename``"""if hasattr(self.dist, 'get_metadata_lines'):# pkg_resources.EggInfoDistributionlines = self.dist.get_metadata_lines('top_level.txt')else:# importlib.metadata.PathDistributionlines = self.dist.read_text('top_level.txt').splitlines()modules = [line.strip()for line in linesif line.strip() and not line.strip().startswith('#')]if not modules:print('No modules are listed in top_level.txt')print('Try running python setup.py egg_info to regenerate that file')for mod_name in modules:mod_name = mod_name + '.websetup'mod = import_string.try_import_module(mod_name)if mod is None:continueif hasattr(mod, 'setup_app'):if command.verbose:print('Running setup_app() from %s' % mod_name)self._call_setup_app(mod.setup_app, command, filename, section, vars)elif hasattr(mod, 'setup_config'):if command.verbose:print('Running setup_config() from %s' % mod_name)mod.setup_config(command, filename, section, vars)else:print('No setup_app() or setup_config() function in %s (%s)' % (mod.__name__, mod.__file__)) | 12 | 29 | 5 | 199 | 0 | 568 | 611 | 568 | self,command,filename,section,vars | [] | None | {"Assign": 5, "Expr": 8, "For": 1, "If": 7} | 18 | 44 | 18 | ["hasattr", "self.dist.get_metadata_lines", "splitlines", "self.dist.read_text", "line.strip", "line.strip", "startswith", "line.strip", "print", "print", "import_string.try_import_module", "hasattr", "print", "self._call_setup_app", "hasattr", "print", "mod.setup_config", "print"] | 0 | [] | The function (setup_config) defined within the public class called Installer, that inherit another class.The function start at line 568 and ends at 611. It contains 29 lines of code and it has a cyclomatic complexity of 12. It takes 5 parameters, represented as [568.0] and does not return any value. It declares 18.0 functions, and It has 18.0 functions called inside which are ["hasattr", "self.dist.get_metadata_lines", "splitlines", "self.dist.read_text", "line.strip", "line.strip", "startswith", "line.strip", "print", "print", "import_string.try_import_module", "hasattr", "print", "self._call_setup_app", "hasattr", "print", "mod.setup_config", "print"]. |
pasteorg_pastescript | Installer | public | 0 | 1 | _call_setup_app | def _call_setup_app(self, func, command, filename, section, vars):filename = os.path.abspath(filename)if ':' in section:section = section.split(':', 1)[1]conf = 'config:%s#%s' % (filename, section)conf = appconfig(conf)conf.filename = filenamefunc(command, conf, vars) | 2 | 8 | 6 | 71 | 0 | 613 | 620 | 613 | self,func,command,filename,section,vars | [] | None | {"Assign": 5, "Expr": 1, "If": 1} | 4 | 8 | 4 | ["os.path.abspath", "section.split", "appconfig", "func"] | 0 | [] | The function (_call_setup_app) defined within the public class called Installer, that inherit another class.The function start at line 613 and ends at 620. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 6 parameters, represented as [613.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["os.path.abspath", "section.split", "appconfig", "func"]. |
pasteorg_pastescript | BoolOptionParser | public | 0 | 1 | _process_long_opt | def _process_long_opt(self, rargs, values):arg = rargs.pop(0)# Value explicitly attached to arg?Pretend it's the next# argument.if "=" in arg:(opt, next_arg) = arg.split("=", 1)rargs.insert(0, next_arg)had_explicit_value = Trueelse:opt = arghad_explicit_value = Falseopt = self._match_long_opt(opt)option = self._long_opt[opt]if option.takes_value():nargs = option.nargsif len(rargs) < nargs:if nargs == 1:self.error(_("%s option requires an argument") % opt)else:self.error(_("%s option requires %d arguments") % (opt, nargs))elif nargs == 1:value = rargs.pop(0)else:value = tuple(rargs[0:nargs])del rargs[0:nargs]elif had_explicit_value:value = rargs[0].lower().strip()del rargs[0:1]if value in ('true', 'yes', 'on', '1', 'y', 't'):value = Noneelif value in ('false', 'no', 'off', '0', 'n', 'f'):# Don't processreturnelse:self.error(_('%s option takes a boolean value only (true/false)') % opt)else:value = Noneoption.process(opt, value, values, self) | 9 | 36 | 3 | 249 | 0 | 17 | 60 | 17 | self,rargs,values | [] | None | {"Assign": 13, "Expr": 5, "If": 8, "Return": 1} | 17 | 44 | 17 | ["rargs.pop", "arg.split", "rargs.insert", "self._match_long_opt", "option.takes_value", "len", "self.error", "_", "self.error", "_", "rargs.pop", "tuple", "strip", "lower", "self.error", "_", "option.process"] | 0 | [] | The function (_process_long_opt) defined within the public class called BoolOptionParser, that inherit another class.The function start at line 17 and ends at 60. It contains 36 lines of code and it has a cyclomatic complexity of 9. It takes 3 parameters, represented as [17.0] and does not return any value. It declares 17.0 functions, and It has 17.0 functions called inside which are ["rargs.pop", "arg.split", "rargs.insert", "self._match_long_opt", "option.takes_value", "len", "self.error", "_", "self.error", "_", "rargs.pop", "tuple", "strip", "lower", "self.error", "_", "option.process"]. |
pasteorg_pastescript | public | public | 0 | 0 | paste_run_cgi | def paste_run_cgi(wsgi_app, global_conf):run_with_cgi(wsgi_app) | 1 | 2 | 2 | 11 | 0 | 8 | 9 | 8 | wsgi_app,global_conf | [] | None | {"Expr": 1} | 1 | 2 | 1 | ["run_with_cgi"] | 0 | [] | The function (paste_run_cgi) defined within the public class called public.The function start at line 8 and ends at 9. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [8.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["run_with_cgi"]. |
pasteorg_pastescript | public | public | 0 | 0 | run_with_cgi.write | def write(data):if not headers_set: raise AssertionError("write() before start_response()")elif not headers_sent:# Before the first output, send the stored headersstatus, response_headers = headers_sent[:] = headers_setline = 'Status: %s\r\n' % statusline = line.encode('utf-8')stdout.write(line)for header in response_headers:line = '%s: %s\r\n' % headerline = line.encode('utf-8')stdout.write(line)stdout.write(b'\r\n')stdout.write(data)stdout.flush() | 4 | 15 | 1 | 89 | 0 | 34 | 51 | 34 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (run_with_cgi.write) defined within the public class called public.The function start at line 34 and ends at 51. It contains 15 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value.. |
pasteorg_pastescript | public | public | 0 | 0 | run_with_cgi.start_response | def start_response(status,response_headers,exc_info=None):if exc_info:try:if headers_sent:# Re-raise original exception if headers sentraise exc_infofinally:exc_info = None # avoid dangling circular refelif headers_set:raise AssertionError("Headers already set!")headers_set[:] = [status,response_headers]return write | 5 | 11 | 3 | 46 | 0 | 53 | 65 | 53 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (run_with_cgi.start_response) defined within the public class called public.The function start at line 53 and ends at 65. It contains 11 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [53.0] and does not return any value.. |
pasteorg_pastescript | public | public | 0 | 0 | run_with_cgi | def run_with_cgi(application):environ = dict(os.environ.items())environ['wsgi.input']= sys.stdinenviron['wsgi.errors'] = sys.stderrenviron['wsgi.version']= (1,0)environ['wsgi.multithread']= Falseenviron['wsgi.multiprocess'] = Trueenviron['wsgi.run_once']= Trueif environ.get('HTTPS','off') in ('on','1'):environ['wsgi.url_scheme'] = 'https'else:environ['wsgi.url_scheme'] = 'http'headers_set = []headers_sent = []def write(data):if not headers_set: raise AssertionError("write() before start_response()")elif not headers_sent:# Before the first output, send the stored headersstatus, response_headers = headers_sent[:] = headers_setline = 'Status: %s\r\n' % statusline = line.encode('utf-8')stdout.write(line)for header in response_headers:line = '%s: %s\r\n' % headerline = line.encode('utf-8')stdout.write(line)stdout.write(b'\r\n')stdout.write(data)stdout.flush()def start_response(status,response_headers,exc_info=None):if exc_info:try:if headers_sent:# Re-raise original exception if headers sentraise exc_infofinally:exc_info = None # avoid dangling circular refelif headers_set:raise AssertionError("Headers already set!")headers_set[:] = [status,response_headers]return writeresult = application(environ, start_response)try:for data in result:if data:# don't send headers until body appearswrite(data)if not headers_sent:write('') # send headers now if body was emptyfinally:if hasattr(result,'close'):result.close() | 7 | 26 | 1 | 148 | 6 | 16 | 76 | 16 | application | ['line', 'environ', 'headers_sent', 'headers_set', 'result', 'exc_info'] | Returns | {"Assign": 19, "Expr": 8, "For": 2, "If": 9, "Return": 1, "Try": 2} | 17 | 61 | 17 | ["dict", "os.environ.items", "environ.get", "AssertionError", "line.encode", "stdout.write", "line.encode", "stdout.write", "stdout.write", "stdout.write", "stdout.flush", "AssertionError", "application", "write", "write", "hasattr", "result.close"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.cgi_server_py.paste_run_cgi"] | The function (run_with_cgi) defined within the public class called public.The function start at line 16 and ends at 76. It contains 26 lines of code and it has a cyclomatic complexity of 7. The function does not take any parameters, and this function return a value. It declares 17.0 functions, It has 17.0 functions called inside which are ["dict", "os.environ.items", "environ.get", "AssertionError", "line.encode", "stdout.write", "line.encode", "stdout.write", "stdout.write", "stdout.write", "stdout.flush", "AssertionError", "application", "write", "write", "hasattr", "result.close"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.cgi_server_py.paste_run_cgi"]. |
pasteorg_pastescript | public | public | 0 | 0 | read_perm_spec | def read_perm_spec(spec):"""Reads a spec like 'rw-r--r--' into a octal number suitable forchmod.That is characters in groups of three -- first group isuser, second for group, third for other (all other people).Thecharacters are r (read), w (write), and x (executable), though theexecutable can also be s (sticky).Files in sticky directoriesget the directories permission setting.Examples::>>> print oct(read_perm_spec('rw-r--r--'))0o644>>> print oct(read_perm_spec('rw-rwsr--'))0o2664>>> print oct(read_perm_spec('r-xr--r--'))0o544>>> print oct(read_perm_spec('r--------'))0o400"""total_mask = 0# suid/sgid modes give this mask in user, group, other mode:set_bits = (0o4000, 0o2000, 0)pieces = (spec[0:3], spec[3:6], spec[6:9])for i, (mode, set_bit) in enumerate(zip(pieces, set_bits)):mask = 0read, write, exe = list(mode)if read == 'r':mask = mask | 4elif read != '-':raise ValueError("Character %r unexpected (should be '-' or 'r')"% read)if write == 'w':mask = mask | 2elif write != '-':raise ValueError("Character %r unexpected (should be '-' or 'w')"% write)if exe == 'x':mask = mask | 1elif exe not in ('s', '-'):raise ValueError("Character %r unexpected (should be '-', 'x', or 's')"% exe)if exe == 's' and i == 2:raise ValueError(("The 'other' executable setting cannot be suid/sgid ('s')"))mask = mask << ((2-i)*3)if exe == 's':mask = mask | set_bittotal_mask = total_mask | maskreturn total_mask | 11 | 33 | 1 | 192 | 4 | 13 | 65 | 13 | spec | ['pieces', 'mask', 'set_bits', 'total_mask'] | Returns | {"Assign": 11, "Expr": 1, "For": 1, "If": 8, "Return": 1} | 7 | 53 | 7 | ["enumerate", "zip", "list", "ValueError", "ValueError", "ValueError", "ValueError"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py._Permission.__init__"] | The function (read_perm_spec) defined within the public class called public.The function start at line 13 and ends at 65. It contains 33 lines of code and it has a cyclomatic complexity of 11. The function does not take any parameters, and this function return a value. It declares 7.0 functions, It has 7.0 functions called inside which are ["enumerate", "zip", "list", "ValueError", "ValueError", "ValueError", "ValueError"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py._Permission.__init__"]. |
pasteorg_pastescript | public | public | 0 | 0 | mode_diff | def mode_diff(filename, mode, **kw):"""Returns the differences calculated using ``calc_mode_diff``"""cur_mode = os.stat(filename).st_modereturn calc_mode_diff(cur_mode, mode, **kw) | 1 | 3 | 3 | 31 | 1 | 92 | 97 | 92 | filename,mode,**kw | ['cur_mode'] | Returns | {"Assign": 1, "Expr": 1, "Return": 1} | 2 | 6 | 2 | ["os.stat", "calc_mode_diff"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py._Permission.check"] | The function (mode_diff) defined within the public class called public.The function start at line 92 and ends at 97. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [92.0], and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["os.stat", "calc_mode_diff"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py._Permission.check"]. |
pasteorg_pastescript | public | public | 0 | 0 | calc_mode_diff | def calc_mode_diff(cur_mode, mode, keep_exe=True, not_set='not set: ', set='set: '):"""Gives the difference between the actual mode of the file and thegiven mode.If ``keep_exe`` is true, then if the mode doesn'tinclude any executable information the executable information willsimply be ignored.High bits are also always ignored (exceptsuid/sgid and sticky bit).Returns a list of differences (empty list if no differences)"""for exe_bit in exe_bits:if mode & exe_bit:keep_exe = Falsediffs = []isdir = os.path.isdir(filename)for bit, file_desc, dir_desc in modes:if keep_exe and bit in exe_bits:continueif isdir:desc = dir_descelse:desc = file_descif (mode & bit) and not (cur_mode & bit):diffs.append(not_set + desc)if not (mode & bit) and (cur_mode & bit):diffs.append(set + desc)return diffs | 11 | 20 | 5 | 121 | 4 | 99 | 127 | 99 | cur_mode,mode,keep_exe,not_set,set | ['desc', 'diffs', 'keep_exe', 'isdir'] | Returns | {"Assign": 5, "Expr": 3, "For": 2, "If": 5, "Return": 1} | 3 | 29 | 3 | ["os.path.isdir", "diffs.append", "diffs.append"] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.mode_diff"] | The function (calc_mode_diff) defined within the public class called public.The function start at line 99 and ends at 127. It contains 20 lines of code and it has a cyclomatic complexity of 11. It takes 5 parameters, represented as [99.0], and this function return a value. It declares 3.0 functions, It has 3.0 functions called inside which are ["os.path.isdir", "diffs.append", "diffs.append"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.mode_diff"]. |
pasteorg_pastescript | public | public | 0 | 0 | calc_set_mode | def calc_set_mode(cur_mode, mode, keep_exe=True):"""Calculates the new mode given the current node ``cur_mode`` andthe mode spec ``mode`` and if ``keep_exe`` is true then also keepthe executable bits in ``cur_mode`` if ``mode`` has no executablebits in it.Return the new mode.Examples::>>> print oct(calc_set_mode(0o775, 0o644))0o755>>> print oct(calc_set_mode(0o775, 0o744))0o744>>> print oct(calc_set_mode(0o10600, 0o644))0o10644>>> print oct(calc_set_mode(0o775, 0o644, False))0o644"""for exe_bit in exe_bits:if mode & exe_bit:keep_exe = False# This zeros-out full_mask parts of the current mode:keep_parts = (cur_mode | full_mask) ^ full_maskif keep_exe:keep_parts = keep_parts | (cur_mode & exe_mask)new_mode = keep_parts | modereturn new_mode | 4 | 9 | 3 | 53 | 3 | 129 | 155 | 129 | cur_mode,mode,keep_exe | ['keep_parts', 'keep_exe', 'new_mode'] | Returns | {"Assign": 4, "Expr": 1, "For": 1, "If": 2, "Return": 1} | 0 | 27 | 0 | [] | 1 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.set_mode"] | The function (calc_set_mode) defined within the public class called public.The function start at line 129 and ends at 155. It contains 9 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [129.0], and this function return a value. It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.set_mode"]. |
pasteorg_pastescript | public | public | 0 | 0 | set_mode | def set_mode(filename, mode, **kw):"""Sets the mode on ``filename`` using ``calc_set_mode``"""cur_mode = os.stat(filename).st_modenew_mode = calc_set_mode(cur_mode, mode, **kw)os.chmod(filename, new_mode) | 1 | 4 | 3 | 40 | 2 | 157 | 163 | 157 | filename,mode,**kw | ['cur_mode', 'new_mode'] | None | {"Assign": 2, "Expr": 2} | 3 | 7 | 3 | ["os.stat", "calc_set_mode", "os.chmod"] | 2 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70411573_eleutherai_oslo.oslo.torch.distributed.parallel_context_py.ParallelContext.set_seed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py._Permission.fix"] | The function (set_mode) defined within the public class called public.The function start at line 157 and ends at 163. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [157.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["os.stat", "calc_set_mode", "os.chmod"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70411573_eleutherai_oslo.oslo.torch.distributed.parallel_context_py.ParallelContext.set_seed", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py._Permission.fix"]. |
pasteorg_pastescript | public | public | 0 | 0 | calc_ownership_spec | def calc_ownership_spec(spec):"""Calculates what a string spec means, returning (uid, username,gid, groupname), where there can be None values meaning nopreference.The spec is a string like ``owner:group``.It may use numbersinstead of user/group names.It may leave out ``:group``.It mayuse '-' to mean any-user/any-group."""import grpimport pwduser = group = Noneuid = gid = Noneif ':' in spec:user_spec, group_spec = spec.split(':', 1)else:user_spec, group_spec = spec, '-'if user_spec == '-':user_spec = '0'if group_spec == '-':group_spec = '0'try:uid = int(user_spec)except ValueError:uid = pwd.getpwnam(user_spec)user = user_specelse:if not uid:uid = user = Noneelse:user = pwd.getpwuid(uid).pw_nametry:gid = int(group_spec)except ValueError:gid = grp.getgrnam(group_spec)group = group_specelse:if not gid:gid = group = Noneelse:group = grp.getgrgid(gid).gr_namereturn (uid, user, gid, group) | 8 | 34 | 1 | 162 | 6 | 165 | 208 | 165 | spec | ['group', 'user_spec', 'gid', 'group_spec', 'user', 'uid'] | Returns | {"Assign": 16, "Expr": 1, "If": 5, "Return": 1, "Try": 2} | 7 | 44 | 7 | ["spec.split", "int", "pwd.getpwnam", "pwd.getpwuid", "int", "grp.getgrnam", "grp.getgrgid"] | 2 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.ownership_diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.set_ownership"] | The function (calc_ownership_spec) defined within the public class called public.The function start at line 165 and ends at 208. It contains 34 lines of code and it has a cyclomatic complexity of 8. The function does not take any parameters, and this function return a value. It declares 7.0 functions, It has 7.0 functions called inside which are ["spec.split", "int", "pwd.getpwnam", "pwd.getpwuid", "int", "grp.getgrnam", "grp.getgrgid"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.ownership_diff", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95051046_pasteorg_pastescript.paste.script.checkperms_py.set_ownership"]. |
pasteorg_pastescript | public | public | 0 | 0 | ownership_diff | def ownership_diff(filename, spec):"""Return a list of differences between the ownership of ``filename``and the spec given."""import grpimport pwddiffs = []uid, user, gid, group = calc_ownership_spec(spec)st = os.stat(filename)if uid and uid != st.st_uid:diffs.append('owned by %s (should be %s)' % (pwd.getpwuid(st.st_uid).pw_name, user))if gid and gid != st.st_gid:diffs.append('group %s (should be %s)' % (grp.getgrgid(st.st_gid).gr_name, group))return diffs | 5 | 13 | 2 | 98 | 2 | 210 | 226 | 210 | filename,spec | ['diffs', 'st'] | Returns | {"Assign": 3, "Expr": 3, "If": 2, "Return": 1} | 6 | 17 | 6 | ["calc_ownership_spec", "os.stat", "diffs.append", "pwd.getpwuid", "diffs.append", "grp.getgrgid"] | 0 | [] | The function (ownership_diff) defined within the public class called public.The function start at line 210 and ends at 226. It contains 13 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [210.0], and this function return a value. It declares 6.0 functions, and It has 6.0 functions called inside which are ["calc_ownership_spec", "os.stat", "diffs.append", "pwd.getpwuid", "diffs.append", "grp.getgrgid"]. |
pasteorg_pastescript | public | public | 0 | 0 | set_ownership | def set_ownership(filename, spec):"""Set the ownership of ``filename`` given the spec."""uid, user, gid, group = calc_ownership_spec(spec)st = os.stat(filename)if not uid:uid = st.st_uidif not gid:gid = st.st_gidos.chmod(filename, uid, gid) | 3 | 8 | 2 | 56 | 3 | 228 | 238 | 228 | filename,spec | ['gid', 'st', 'uid'] | None | {"Assign": 4, "Expr": 2, "If": 2} | 3 | 11 | 3 | ["calc_ownership_spec", "os.stat", "os.chmod"] | 0 | [] | The function (set_ownership) defined within the public class called public.The function start at line 228 and ends at 238. It contains 8 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [228.0] and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["calc_ownership_spec", "os.stat", "os.chmod"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | __init__ | def __init__(self):self.paths = {} | 1 | 2 | 1 | 11 | 0 | 267 | 268 | 267 | self | [] | None | {"Assign": 1} | 0 | 2 | 0 | [] | 8,182 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"] | The function (__init__) defined within the public class called PermissionSpec, that inherit another class.The function start at line 267 and ends at 268. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It has 8182.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | parsefile | def parsefile(self, filename):f = open(filename)lines = f.readlines()f.close()self.parselines(lines, filename=filename) | 1 | 5 | 2 | 35 | 0 | 270 | 274 | 270 | self,filename | [] | None | {"Assign": 2, "Expr": 2} | 4 | 5 | 4 | ["open", "f.readlines", "f.close", "self.parselines"] | 0 | [] | The function (parsefile) defined within the public class called PermissionSpec, that inherit another class.The function start at line 270 and ends at 274. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [270.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["open", "f.readlines", "f.close", "self.parselines"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | parselines | def parselines(self, lines, filename=None):for lineindex, line in enumerate(lines):line = line.strip()if not line or line.startswith('#'):continueparts = line.split()command = parts[0]if command in self.commands:cmd = self.commands[command](*parts[1:])else:cmd = self.commands['*'](*parts)self.paths[cmd.path] = cmd | 5 | 12 | 3 | 100 | 0 | 278 | 289 | 278 | self,lines,filename | [] | None | {"Assign": 6, "For": 1, "If": 2} | 4 | 12 | 4 | ["enumerate", "line.strip", "line.startswith", "line.split"] | 0 | [] | The function (parselines) defined within the public class called PermissionSpec, that inherit another class.The function start at line 278 and ends at 289. It contains 12 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [278.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["enumerate", "line.strip", "line.startswith", "line.split"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | check | def check(self):action = _Check(self)self.traverse(action) | 1 | 3 | 1 | 17 | 0 | 291 | 293 | 291 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Check", "self.traverse"] | 158 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"] | The function (check) defined within the public class called PermissionSpec, that inherit another class.The function start at line 291 and ends at 293. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Check", "self.traverse"], It has 158.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | fix | def fix(self):action = _Fixer(self)self.traverse(action) | 1 | 3 | 1 | 17 | 0 | 295 | 297 | 295 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Fixer", "self.traverse"] | 5 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"] | The function (fix) defined within the public class called PermissionSpec, that inherit another class.The function start at line 295 and ends at 297. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Fixer", "self.traverse"], It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | traverse | def traverse(self, action):paths = self.paths_sorted()checked = {}for path, checker in list(paths)[::-1]:self.check_tree(action, path, paths, checked)for path, checker in paths:if path not in checked:action.noexists(path, checker) | 4 | 8 | 2 | 66 | 0 | 299 | 306 | 299 | self,action | [] | None | {"Assign": 2, "Expr": 2, "For": 2, "If": 1} | 4 | 8 | 4 | ["self.paths_sorted", "list", "self.check_tree", "action.noexists"] | 22 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670679_blaze_datashape.datashape.validation_py.traverse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670679_blaze_datashape.datashape.validation_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707119_vjechsmayr_pythonalgorithms.LeetCode.0589_Nary_Tree_Preorder_Traversal_py.Solution.preorder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3719314_idlesign_django_sitetree.src.sitetree.utils_py.tree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.walk", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3981991_life4_deal.deal.linter._extractors.common_py.Extractor.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3981991_life4_deal.deal.linter._extractors.result_py._simple_uses_result", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3981991_life4_deal.deal.linter._extractors.returns_py.has_returns", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.codegen.legacy_codegen_py.SharedBuildableManager.assign", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.codegen.legacy_codegen_py._configure_shared_objects", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.daglish_py.collect_paths_by_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.daglish_test_py.MemoizedTraversalTest.test_get_all_paths_dataclass_traverser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.experimental.daglish_legacy_py.traverse_with_path", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.experimental.dataclasses_py.convert_dataclasses_to_configs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.experimental.dataclasses_test_py.DataclassesTest.test_traverse_dataclass_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.printing_py._make_per_leaf_histories_recursive", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.selectors_py.NodeSelection.replace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.tagging_test_py.TaggingTest.test_setting_tagged_values_with_daglish_traversal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.graphs.graph_py.Graph.ear_decomposition", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94185317_coiled_benchmarks.ci.scripts.dask_config_to_env_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94185317_coiled_benchmarks.ci.scripts.dask_config_to_env_py.traverse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94656748_elastic_connectors.connectors.sources.graphql_py.GraphQLDataSource.check_field_existence"] | The function (traverse) defined within the public class called PermissionSpec, that inherit another class.The function start at line 299 and ends at 306. It contains 8 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [299.0] and does not return any value. It declares 4.0 functions, It has 4.0 functions called inside which are ["self.paths_sorted", "list", "self.check_tree", "action.noexists"], It has 22.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670679_blaze_datashape.datashape.validation_py.traverse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3670679_blaze_datashape.datashape.validation_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707119_vjechsmayr_pythonalgorithms.LeetCode.0589_Nary_Tree_Preorder_Traversal_py.Solution.preorder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3719314_idlesign_django_sitetree.src.sitetree.utils_py.tree", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963858_jaraco_path.path.__init___py.Path.walk", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3981991_life4_deal.deal.linter._extractors.common_py.Extractor.__call__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3981991_life4_deal.deal.linter._extractors.result_py._simple_uses_result", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3981991_life4_deal.deal.linter._extractors.returns_py.has_returns", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.codegen.legacy_codegen_py.SharedBuildableManager.assign", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.codegen.legacy_codegen_py._configure_shared_objects", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.daglish_py.collect_paths_by_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.daglish_test_py.MemoizedTraversalTest.test_get_all_paths_dataclass_traverser", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.experimental.daglish_legacy_py.traverse_with_path", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.experimental.dataclasses_py.convert_dataclasses_to_configs", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.experimental.dataclasses_test_py.DataclassesTest.test_traverse_dataclass_values", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.printing_py._make_per_leaf_histories_recursive", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.selectors_py.NodeSelection.replace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69766503_google_fiddle.fiddle._src.tagging_test_py.TaggingTest.test_setting_tagged_values_with_daglish_traversal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.graphs.graph_py.Graph.ear_decomposition", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94185317_coiled_benchmarks.ci.scripts.dask_config_to_env_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94185317_coiled_benchmarks.ci.scripts.dask_config_to_env_py.traverse", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94656748_elastic_connectors.connectors.sources.graphql_py.GraphQLDataSource.check_field_existence"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | traverse_tree | def traverse_tree(self, action, path, paths, checked):if path in checked:returnself.traverse_path(action, path, paths, checked)if os.path.isdir(path):for fn in os.listdir(path):fn = os.path.join(path, fn)self.traverse_tree(action, fn, paths, checked) | 4 | 8 | 5 | 75 | 0 | 308 | 315 | 308 | self,action,path,paths,checked | [] | None | {"Assign": 1, "Expr": 2, "For": 1, "If": 2, "Return": 1} | 5 | 8 | 5 | ["self.traverse_path", "os.path.isdir", "os.listdir", "os.path.join", "self.traverse_tree"] | 0 | [] | The function (traverse_tree) defined within the public class called PermissionSpec, that inherit another class.The function start at line 308 and ends at 315. It contains 8 lines of code and it has a cyclomatic complexity of 4. It takes 5 parameters, represented as [308.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["self.traverse_path", "os.path.isdir", "os.listdir", "os.path.join", "self.traverse_tree"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | traverse_path | def traverse_path(self, action, path, paths, checked):checked[path] = Nonefor check_path, checker in paths:if path.startswith(check_path):action.check(check_path, checker)if not checker.inherit:break | 4 | 7 | 5 | 49 | 0 | 317 | 323 | 317 | self,action,path,paths,checked | [] | None | {"Assign": 1, "Expr": 1, "For": 1, "If": 2} | 2 | 7 | 2 | ["path.startswith", "action.check"] | 0 | [] | The function (traverse_path) defined within the public class called PermissionSpec, that inherit another class.The function start at line 317 and ends at 323. It contains 7 lines of code and it has a cyclomatic complexity of 4. It takes 5 parameters, represented as [317.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["path.startswith", "action.check"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | paths_sorted | def paths_sorted(self):paths = sorted(self.paths.items(), key=lambda key_value: len(key_value[0]), reversed=True) | 1 | 4 | 1 | 34 | 0 | 325 | 328 | 325 | self | [] | None | {"Assign": 1} | 3 | 4 | 3 | ["sorted", "self.paths.items", "len"] | 0 | [] | The function (paths_sorted) defined within the public class called PermissionSpec, that inherit another class.The function start at line 325 and ends at 328. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["sorted", "self.paths.items", "len"]. |
pasteorg_pastescript | public | public | 0 | 0 | __new__ | def __new__(meta, class_name, bases, d):cls = type.__new__(meta, class_name, bases, d)PermissionSpec.commands[cls.__name__] = clsreturn cls | 1 | 4 | 4 | 37 | 0 | 332 | 335 | 332 | null | [] | None | null | 0 | 0 | 0 | null | 0 | null | The function (__new__) defined within the public class called public.The function start at line 332 and ends at 335. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [332.0] and does not return any value.. |
pasteorg_pastescript | _Rule | protected | 0 | 1 | noexists | def noexists(self):return ['Path %s does not exist' % path] | 1 | 2 | 1 | 11 | 0 | 338 | 339 | 338 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (noexists) defined within the protected class called _Rule, that inherit another class.The function start at line 338 and ends at 339. 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_pastescript | PermissionSpec | public | 0 | 1 | __init__ | def __init__(self, path):self.path = path | 1 | 2 | 2 | 12 | 0 | 345 | 346 | 345 | self | [] | None | {"Assign": 1} | 0 | 2 | 0 | [] | 8,182 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"] | The function (__init__) defined within the public class called PermissionSpec, that inherit another class.The function start at line 345 and ends at 346. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [345.0] and does not return any value. It has 8182.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | fix | def fix(self, path):pass | 1 | 2 | 2 | 8 | 0 | 348 | 349 | 348 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Fixer", "self.traverse"] | 5 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"] | The function (fix) defined within the public class called PermissionSpec, that inherit another class.The function start at line 348 and ends at 349. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [348.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Fixer", "self.traverse"], It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | __init__ | def __init__(self, path):self.path = path | 1 | 2 | 2 | 12 | 0 | 355 | 356 | 345 | self | [] | None | {"Assign": 1} | 0 | 2 | 0 | [] | 8,182 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"] | The function (__init__) defined within the public class called PermissionSpec, that inherit another class.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 [345.0] and does not return any value. It has 8182.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | check | def check(self, path):return ['Path %s should not exist' % path] | 1 | 2 | 2 | 13 | 0 | 358 | 359 | 358 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Check", "self.traverse"] | 158 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"] | The function (check) defined within the public class called PermissionSpec, that inherit another class.The function start at line 358 and ends at 359. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [358.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Check", "self.traverse"], It has 158.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"]. |
pasteorg_pastescript | _Rule | protected | 0 | 1 | noexists | def noexists(self, path):return [] | 1 | 2 | 2 | 10 | 0 | 361 | 362 | 361 | self | [] | Returns | {"Return": 1} | 0 | 2 | 0 | [] | 0 | [] | The function (noexists) defined within the protected class called _Rule, that inherit another class.The function start at line 361 and ends at 362. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [361.0], and this function return a value.. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | fix | def fix(self, path):pass | 1 | 2 | 2 | 8 | 0 | 364 | 366 | 348 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Fixer", "self.traverse"] | 5 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"] | The function (fix) defined within the public class called PermissionSpec, that inherit another class.The function start at line 364 and ends at 366. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [348.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Fixer", "self.traverse"], It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | __init__ | def __init__(self, path, dest):self.path = pathself.dest = dest | 1 | 3 | 3 | 19 | 0 | 373 | 375 | 373 | self | [] | None | {"Assign": 1} | 0 | 2 | 0 | [] | 8,182 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"] | The function (__init__) defined within the public class called PermissionSpec, that inherit another class.The function start at line 373 and ends at 375. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [373.0] and does not return any value. It has 8182.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | check | def check(self, path):assert path == self.path, ("_Symlink should only be passed specific path %s (not %s)"% (self.path, path))try:link = os.path.readlink(path)except OSError as e:if e.errno != 22:raisereturn ['Path %s is not a symlink (should point to %s)'% (path, self.dest)]if link != self.dest:return ['Path %s should symlink to %s, not %s'% (path, self.dest, link)]return [] | 4 | 15 | 2 | 86 | 0 | 377 | 391 | 377 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Check", "self.traverse"] | 158 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"] | The function (check) defined within the public class called PermissionSpec, that inherit another class.The function start at line 377 and ends at 391. It contains 15 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [377.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Check", "self.traverse"], It has 158.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | fix | def fix(self, path):assert path == self.path, ("_Symlink should only be passed specific path %s (not %s)"% (self.path, path))if not os.path.exists(path):os.symlink(path, self.dest)else:# @@: This should correct the symlink or something:print('Not symlinking %s' % path) | 2 | 8 | 2 | 54 | 0 | 393 | 401 | 393 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Fixer", "self.traverse"] | 5 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"] | The function (fix) defined within the public class called PermissionSpec, that inherit another class.The function start at line 393 and ends at 401. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [393.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Fixer", "self.traverse"], It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | __init__ | def __init__(self, perm, owner, dir):self.perm_spec = read_perm_spec(perm)self.owner = ownerself.dir = dir | 1 | 4 | 4 | 29 | 0 | 407 | 410 | 407 | self | [] | None | {"Assign": 1} | 0 | 2 | 0 | [] | 8,182 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"] | The function (__init__) defined within the public class called PermissionSpec, that inherit another class.The function start at line 407 and ends at 410. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [407.0] and does not return any value. It has 8182.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.15197461_googleapis_python_cloud_core.google.cloud._helpers.__init___py._LocalStack.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.fileupload_py.QuickUploadView.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3468756_plone_plone_app_cmsui.src.plone.app.cmsui.historypanel_py.HistoryPanel.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.__init___py.TypeFieldNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.LinearRingNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.geom_py.PointNode.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.json_py.JSONType.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.object_py.JSONRecordSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.DefinitionSchema.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3508200_spiral_project_daybed.daybed.schemas.validators_py.ModelSchema.__init__"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | check | def check(self, path):return mode_diff(path, self.perm_spec) | 1 | 2 | 2 | 16 | 0 | 412 | 413 | 412 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Check", "self.traverse"] | 158 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"] | The function (check) defined within the public class called PermissionSpec, that inherit another class.The function start at line 412 and ends at 413. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [412.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Check", "self.traverse"], It has 158.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3580082_pacificbiosciences_falcon.test.test_functional_py.test_calc_cutoff_from_reverse_sorted_readlength_counts_raises", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3628120_git_multimail_git_multimail.git_multimail.git_multimail_py.StaticRecipientsEnvironmentMixin.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.receiverErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3637460_apache_qpid_python.qpid.tests.messaging.endpoints_py.AddressErrorTests.senderErrorTest", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.models_py.TranslatableModel.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3664985_striglia_pyramid_swagger.pyramid_swagger.load_schema_py.SchemaValidator.from_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3675335_tweecode_twine.passagewidget_py.PassageWidget.verifyPassage", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.classdiff_py.JavaClassReport.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3677991_obriencj_python_javatools.javatools.distdiff_py.DistTextChange.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.pydocstyle.cli_py.run_pydocstyle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3689623_pycqa_pydocstyle.src.tests.test_definitions_py.test_complex_file", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3705207_zopefoundation_persistent.src.persistent.tests.test_timestamp_py.TimeStampTestsMixin.test_comparisons_to_non_timestamps", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3712295_dalibo_temboard_agent.temboardagent.plugins.monitoring.probes_py.probe_sessions.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_f_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_format_string_not_using_locals", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_incorrect_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_new_format_string_numbers", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_format_strings_py.test_old_format_string", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_ignore_py.check_ignore", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_attribute_access", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_definitions", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3717448_jendrikseipp_vulture.tests.test_imports_py.test_double_import"]. |
pasteorg_pastescript | PermissionSpec | public | 0 | 1 | fix | def fix(self, path):set_mode(path, self.perm_spec) | 1 | 2 | 2 | 15 | 0 | 415 | 416 | 415 | self | [] | None | {"Assign": 1, "Expr": 1} | 2 | 3 | 2 | ["_Fixer", "self.traverse"] | 5 | ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"] | The function (fix) defined within the public class called PermissionSpec, that inherit another class.The function start at line 415 and ends at 416. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [415.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["_Fixer", "self.traverse"], It has 5.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.78400723_sagemath_sagetrac_mirror.src.sage.schemes.elliptic_curves.ell_curve_isogeny_py.fill_isogeny_matrix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94875337_Realiserad_fish_ai.src.fish_ai.tests.fix_test_py.test_successful_fix", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.RangeInvariantPsnr", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95053985_CAREamics_careamics.src.careamics.lvae_training.metrics_py.range_invariant_multiscale_ssim", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95147369_linux_netdev_nipa.tests.patch.check_selftest.validate_config_format_py.main"]. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.