Snippets

ishan srivastava Detailed analysis, explanations and example runs of the -green-mode for coala-quickstart

Updated by ishan srivastava

File green_mode.md Modified

  • Ignore whitespace
  • Hide word diff
 
 Shortly after the merge, it was discovered (with the help of [@Makman2](https://github.com/Makman2))that it was just as easy as specifying the setting name and value in `.coafile` for the optional settings of the base bears. The mysterious `config_file` argument to the linter bears was also discovered to be actually generated by another method for the linter bears, `generate_configuration()` and this [Pull Request](https://github.com/coala/coala-quickstart/pull/260) was made by me to fix parsing of that extra method for settings and getting non-optional settings of base bears.
 
-After the separation of `type1` settings completely as mentioned in the `cEP`, it was time to separate the settings that could take only some discrete set of values from the ones that can take infinite set of values. Giving default values to bear settings as a decorator was proposed by me in this [Pull Request](https://github.com/coala/coala/pull/5523) (which will always be considered by me as one of the most hacky and clever approaches I ever made) although this was termed by [@jayvdb](https://github.com/jayvdb) as unacceptable. The explanation given for that over [here](https://github.com/coala/coala/pull/5523#issuecomment-397952023), I do not completely understand but I am assumming it must be correct. Although the example given by `@jayvdb` over [here](https://github.com/coala/coala-bears/issues/2532#issuecomment-399842949) didn't seem to work at all without the `mypy` package and he seemed to get a little bit frustrated about me mentioning `mypy` over and over again. It seems the example was just an approach on how to solve the problem but wasn't actually tested and implemented in any way and no responses were given to my requests of providing me with a minimum, working and verifyable example as demanded over [here](https://github.com/coala/coala-bears/issues/2532#issuecomment-405068873) for working with type annotation checks without using the `mypy` package. A generous effort was made by me on making it work somehow with or without the `enums` and I was unsuccesfull in that regard.
+After the separation of `type1` settings completely as mentioned in the `cEP`, it was time to separate the settings that could take only some discrete set of values from the ones that can take infinite set of values. Giving default values to bear settings as a decorator was proposed by me in this [Pull Request](https://github.com/coala/coala/pull/5523) (which will always be considered by me as one of the most hacky and clever approaches I ever made) although this was termed by [@jayvdb](https://github.com/jayvdb) as unacceptable. The explanation given for that over [here](https://github.com/coala/coala/pull/5523#issuecomment-397952023), I do not completely understand but I am assumming it must be correct. Although the example given by `@jayvdb` over [here](https://github.com/coala/coala-bears/issues/2532#issuecomment-399842949) didn't seem to work at all without the `mypy` package. It seems the example was just an approach on how to solve the problem but wasn't actually tested and implemented to which I requested for a minimum, working and verifyable example over [here](https://github.com/coala/coala-bears/issues/2532#issuecomment-405068873) for working with type annotation checks without using the `mypy` package. A generous effort was made by me on making it work somehow with or without the `enums` and I was unsuccesfull in that regard.
 
 Finally I decided to move on with manual separation of settings by introducing the `bear_settings.yaml` in this [commit](https://github.com/coala/coala-quickstart/pull/286/commits/a18281c56e759f2880af9b4519a1ec65bd3ac29b)
 
Updated by ishan srivastava

File green_mode.md Modified

  • Ignore whitespace
  • Hide word diff
 * The module [`green_mode_core.py`](https://github.com/coala/coala-quickstart/blob/master/coala_quickstart/green_mode/green_mode_core.py) is sort of a master method which calls upon all the underlying methods described above.
 * A `.project_data.yaml` is created at the start of the `--green-mode` where it stores most of the data required for the current run, the contents of which are often referred to in the docstrings by the variable name `PROJECT_DATA` or in the source code by `contents`.
 * The bears are first run with just the non-optional settings but again are run with optional settings kept into consideration too and the results are smartly combined to prioritze the green results with optional settings involved too, to increase the specifity of the `.coafile`.
+* Discovered a few bugs in `coala-quickstart` like [this](https://github.com/coala/coala-quickstart/issues/287) one.
 
 # Post GSoC Work
 * **The `--lite-mode`:** which is supposed to select a smaller list of files from the project to run the `--green-mode` upon.
 * **Reusing `PROJECT_DATA`:** Although not many prospects over here, one point that could be seen directly is asking a question to the user about for the ignore fields of the section, whether these are inconsistencies or not. One can them simply change the `ignores` field to the `files` field and generate a `.coafile` to fix those inconsistencies. The next runs of the `--green-mode` can have the user asking this front and formost without the need of repeating the analysis based on the saved `PROJECT_DATA` file.
 * **Enhancing the function `find_max_min_of_setting`:** The problem regarding that is specified above.
 * **Catching of exceptions:** as mentioned by John which can occur during the running of the bear.
-* **Addition of more bears:** which are compatible for green mode by adding them to the `GREEN_MODE_COMPATIBLE_BEAR_LIST` and adding their corresponding settings to `bear_Settings.yaml`
+* **Addition of more bears:** which are compatible for green mode by adding them to the `GREEN_MODE_COMPATIBLE_BEAR_LIST` and adding their corresponding settings to `bear_Settings.yaml`.
+* **Use of already collected by quickstart:** which is collected by the several `InfoExtractor`s.
Updated by ishan srivastava

File test_dir_pytest_httpin.md Added

  • Ignore whitespace
  • Hide word diff
+# Details: 
+**Project tested upon:** https://github.com/kevin1024/pytest-httpbin  
+The green `.coafile` was generated with  additional `--non-interactive`, and very high values to `--max-args` and `max-values` arguments.
+
+
+# .coafile.green:
+```
+[all]
+ignore = **/*.~, *.~, **/*.swp, *.swp, **/__pycache__/**, **/__pycache__, __pycache__, __pycache__/**, **/*.py[cod], *.py[cod], **/*.so, *.so, **/bin/**, **/bin, bin, bin/**, **/build/**, **/build, build, build/**, **/develop-eggs/**, **/develop-eggs, develop-eggs, develop-eggs/**, **/dist/**, **/dist, dist, dist/**, **/eggs/**, **/eggs, eggs, eggs/**, **/lib/**, **/lib, lib, lib/**, **/lib64/**, **/lib64, lib64, lib64/**, **/parts/**, **/parts, parts, parts/**, **/sdist/**, **/sdist, sdist, sdist/**, **/var/**, **/var, var, var/**, **/*.egg-info, *.egg-info, **/.installed.cfg/**, **/.installed.cfg, .installed.cfg, .installed.cfg/**, **/*.egg, *.egg, **/MANIFEST/**, **/MANIFEST, MANIFEST, MANIFEST/**, **/pip-log.txt/**, **/pip-log.txt, pip-log.txt, pip-log.txt/**, **/pip-delete-this-directory.txt/**, **/pip-delete-this-directory.txt, pip-delete-this-directory.txt, pip-delete-this-directory.txt/**, **/.tox/**, **/.tox, .tox, .tox/**, **/.coverage/**, **/.coverage, .coverage, .coverage/**, **/.cache/**, **/.cache, .cache, .cache/**, **/nosetests.xml/**, **/nosetests.xml, nosetests.xml, nosetests.xml/**, **/coverage.xml/**, **/coverage.xml, coverage.xml, coverage.xml/**, **/*.mo, *.mo, **/docs/_build/**, **/docs/_build, docs/_build, docs/_build/**, .git/**
+[all.InvalidLinkBear1]
+follow_redirects = True
+bears = InvalidLinkBear
+ignore += /home/ishansrivastava/pytest-httpbin/setup.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/cert.pem, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/cacert.pem, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/key.pem
+files = /home/ishansrivastava/pytest-httpbin/**.py, /home/ishansrivastava/pytest-httpbin/**.yml, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/**
+[all.PycodestyleBear1]
+max_line_length = 1274
+bears = PycodestyleBear
+pycodestyle_ignore = E126, E223
+ignore += /home/ishansrivastava/pytest-httpbin/setup.py, /home/ishansrivastava/pytest-httpbin/tests/test_server.py, /home/ishansrivastava/pytest-httpbin/tests/test_httpbin.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/plugin.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/plugin.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/cert.pem, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/cacert.pem, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/key.pem
+files = /home/ishansrivastava/pytest-httpbin/**.py, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/**
+pycodestyle_select = E111, E203, E741, W602
+[all.LineCountBear1]
+exclude_blank_lines = True
+bears = LineCountBear
+ignore += /home/ishansrivastava/pytest-httpbin/.gitignore, /home/ishansrivastava/pytest-httpbin/.coafile, /home/ishansrivastava/pytest-httpbin/runtests.sh, /home/ishansrivastava/pytest-httpbin/tox.ini, /home/ishansrivastava/pytest-httpbin/.project_data.yaml, /home/ishansrivastava/pytest-httpbin/setup.cfg, /home/ishansrivastava/pytest-httpbin/MANIFEST.in, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/cert.pem, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/cacert.pem, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/certs/key.pem
+files = /home/ishansrivastava/pytest-httpbin/*, /home/ishansrivastava/pytest-httpbin/pytest_httpbin/**
+max_lines_per_file = 1000
+```
Updated by ishan srivastava

File test-dir_python_fire.md Modified

  • Ignore whitespace
  • Hide word diff
      1120    0.001    0.000    0.004    0.000 {built-in method builtins.sorted}
   278/153    0.000    0.000    0.004    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:395(construct_yaml_map)
      1252    0.001    0.000    0.004    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/re.py:215(finditer)
+        9    0.000    0.000    0.003    0.000 /usr/lib/python3.5/threading.py:826(start)
+     2224    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:432(unescaped_strip)
+        1    0.000    0.000    0.003    0.003 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/processes/Processing.py:259(get_file_dict)
+      139    0.000    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:201(construct_mapping)
+     2524    0.003    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copy.py:253(_keep_alive)
+     9274    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:165(append)
+ 1001/601    0.003    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:167(getwidth)
+      403    0.003    0.000    0.003    0.000 {method 'release' of '_thread.lock' objects}
+     2193    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/re.py:175(sub)
+        1    0.000    0.000    0.003    0.003 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:101(check_filename_prefix_postfix)
+     1283    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:71(join)
+      100    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/processes/communication/LogMessage.py:8(__init__)
+      206    0.001    0.000    0.003    0.000 /usr/lib/python3.5/threading.py:496(__init__)
+     1590    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:362(_escape)
+      139    0.000    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:118(construct_mapping)
+        2    0.000    0.000    0.003    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/output/ConfWriter.py:133(<lambda>)
+     1094    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copy.py:223(<listcomp>)
+     1079    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:130(<listcomp>)
+      450    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:68(_filter_out_omitted)
+       41    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:663(get_exec_path)
+     2031    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:397(position_is_escaped)
+    31774    0.002    0.000    0.002    0.000 {built-in method builtins.id}
+      123    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:202(filter_parameters)
+     8524    0.002    0.000    0.002    0.000 {method 'pop' of 'list' objects}
+      147    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:266(expect_scalar)
+        1    0.000    0.000    0.002    0.002 /usr/lib/python3.5/multiprocessing/connection.py:10(<module>)
+      191    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:469(process_tag)
+      118    0.000    0.000    0.002    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:39(insert)
+     1474    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:61(isabs)
+     1793    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:387(construct_yaml_str)
+     1650    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/DocstringMetadata.py:58(concat_doc_parts)
+     2764    0.002    0.000    0.002    0.000 {method 'split' of 'str' objects}
+       66    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:110(<listcomp>)
+ 1262/118    0.001    0.000    0.002    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:19(insert)
+      226    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:79(non_optional_params)
+      147    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:626(analyze_scalar)
+      396    0.002    0.000    0.002    0.000 {built-in method posix.stat}
+      574    0.000    0.000    0.002    0.000 /usr/lib/python3.5/subprocess.py:1480(<genexpr>)
+      192    0.001    0.000    0.002    0.000 /usr/lib/python3.5/inspect.py:2664(__init__)
+     2088    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:159(construct_scalar)
+    12903    0.002    0.000    0.002    0.000 {method 'startswith' of 'str' objects}
+     2224    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:417(unescaped_rstrip)
+      147    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:494(choose_scalar_style)
+     1030    0.002    0.000    0.002    0.000 {built-in method posix.urandom}
+      100    0.002    0.000    0.002    0.000 {built-in method today}
+       82    0.000    0.000    0.002    0.000 /usr/lib/python3.5/selectors.py:350(register)
+     2235    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/events.py:65(__init__)
+        6    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:139(parse_implicit_document_start)
+      147    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:515(process_scalar)
+      215    0.002    0.000    0.002    0.000 /usr/lib/python3.5/threading.py:213(__init__)
+     1993    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:38(__init__)
+      886    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:115(splitext)
+      247    0.002    0.000    0.002    0.000 {method 'close' of '_io.TextIOWrapper' objects}
+    191/2    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:32(represent_data)
+     2400    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:157(__getitem__)
+     23/2    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:204(represent_dict)
+     23/2    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:102(represent_mapping)
+      123    0.001    0.000    0.002    0.000 /usr/lib/python3.5/subprocess.py:1618(wait)
+     1072    0.002    0.000    0.002    0.000 {method '__reduce_ex__' of 'object' objects}
+      147    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:1079(write_plain)
+       66    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:107(<listcomp>)
+    20544    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copy.py:192(_deepcopy_atomic)
+     2222    0.002    0.000    0.002    0.000 {method 'format' of 'str' objects}
+       73    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:264(parse_block_node)
+        9    0.000    0.000    0.002    0.000 /usr/lib/python3.5/multiprocessing/pool.py:144(Process)
+      199    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_compile.py:391(_generate_overlap_table)
+     21/3    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:189(represent_list)
+     21/3    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:84(represent_sequence)
+       41    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/shutil.py:1096(_access_check)
+     2902    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:39(_get_sep)
+       47    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:395(expect_block_mapping_key)
+       82    0.001    0.000    0.002    0.000 /usr/lib/python3.5/selectors.py:233(register)
+     3687    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:309(remove_possible_simple_key)
+     4183    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:322(unwind_indent)
+      714    0.001    0.000    0.001    0.000 /usr/lib/python3.5/inspect.py:2399(__init__)
+      857    0.001    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:50(_path_join)
+        9    0.001    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/process.py:71(__init__)
+    12911    0.001    0.000    0.001    0.000 {method 'items' of 'dict' objects}
+        1    0.000    0.000    0.001    0.001 /home/ishansrivastava/coala-quickstart/coala_quickstart/generation/SettingsClass.py:345(collect_bear_settings)
+      202    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/Section.py:124(__init__)
+        2    0.000    0.000    0.001    0.001 /home/ishansrivastava/coala-quickstart/coala_quickstart/generation/SettingsClass.py:278(__init__)
+       84    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/_collections_abc.py:592(get)
+       12    0.000    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/synchronize.py:162(__init__)
+       23    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:392(expect_first_block_mapping_key)
+       12    0.001    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/synchronize.py:51(__init__)
+      125    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:720(__getitem__)
+       12    0.001    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/util.py:151(__init__)
+      396    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:96(<genexpr>)
+      214    0.001    0.000    0.001    0.000 {built-in method posix.close}
+     1028    0.001    0.000    0.001    0.000 {method 'groupdict' of '_sre.SRE_Match' objects}
+       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:360(unregister)
+        1    0.000    0.000    0.001    0.001 /usr/lib/python3.5/multiprocessing/__init__.py:15(<module>)
+     1540    0.001    0.000    0.001    0.000 {built-in method builtins.hasattr}
+     1041    0.001    0.000    0.001    0.000 {built-in method from_bytes}
+       59    0.001    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/QuickstartBear.py:12(run)
+       59    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/FileUtils.py:18(detect_encoding)
+       48    0.001    0.000    0.001    0.000 {built-in method builtins.__build_class__}
+     2235    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/nodes.py:27(__init__)
+     2083    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/tokens.py:98(__init__)
+      886    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/genericpath.py:111(_splitext)
+       77    0.001    0.000    0.001    0.000 {built-in method posix.waitpid}
+      164    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:214(_fileobj_lookup)
+       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/subprocess.py:1605(_try_wait)
+     2686    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/tokens.py:3(__init__)
+      380    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/abc.py:178(__instancecheck__)
+     2193    0.001    0.000    0.001    0.000 {method 'sub' of '_sre.SRE_Pattern' objects}
+       59    0.001    0.000    0.001    0.000 {method 'readlines' of '_io._IOBase' objects}
+     2076    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/decorators.py:295(eq)
+       41    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/bears/python/PycodestyleBear.py:22(create_arguments)
+        6    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/loader.py:33(__init__)
+     2578    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:114(get_event)
+       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:346(__init__)
+      749    0.001    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:13(__init__)
+        9    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:755(__init__)
+     1305    0.001    0.000    0.001    0.000 {method 'update' of 'dict' objects}
+     1252    0.001    0.000    0.001    0.000 {method 'finditer' of '_sre.SRE_Pattern' objects}
+      164    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:20(_fileobj_to_fd)
+      720    0.000    0.000    0.001    0.000 {method 'write' of '_io.TextIOWrapper' objects}
+      203    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:68(_path_stat)
+      486    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:120(need_more_events)
+        2    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/bears/Bear.py:379(get_non_optional_settings)
+       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:246(unregister)
+       19    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:373(expect_first_block_sequence_item)
+     1050    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copyreg.py:87(__newobj__)
+       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/contextlib.py:63(__exit__)
+ 1350/242    0.001    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/file_aggregator.py:22(search_name)
+     3381    0.001    0.000    0.001    0.000 {built-in method builtins.min}
+       84    0.000    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/find_globs.py:42(<listcomp>)
+     7599    0.001    0.000    0.001    0.000 {method 'strip' of 'str' objects}
+      224    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:88(optional_params)
+      179    0.001    0.000    0.001    0.000 {built-in method posix.pipe}
+     1268    0.000    0.000    0.001    0.000 {built-in method builtins.any}
+       41    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/genericpath.py:16(exists)
+        6    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:474(_compile_bytecode)
+      397    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_compile.py:386(_simple)
+        4    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/pyprint/Printer.py:30(print)
+      906    0.001    0.000    0.001    0.000 /usr/lib/python3.5/inspect.py:2709(<genexpr>)
+        6    0.001    0.000    0.001    0.000 {built-in method marshal.loads}
+        1    0.001    0.001    0.001    0.001 {built-in method posix.remove}
+     2088    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:103(construct_scalar)
+       24    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:437(check_simple_key)
+      574    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:851(fsencode)
+     2512    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/resolver.py:91(descend_resolver)
+      403    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:237(__enter__)
+      250    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:223(construct_yaml_int)
+     1038    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/results/TextPosition.py:9(__init__)
+       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:444(fetch_flow_sequence_end)
+        1    0.000    0.000    0.001    0.001 /usr/lib/python3.5/multiprocessing/context.py:1(<module>)
+       96    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:158(islink)
+        1    0.000    0.000    0.001    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/bearlib/abstractions/Linter.py:255(get_metadata)
+       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:421(fetch_flow_sequence_start)
+       83    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/genericpath.py:39(isdir)
+     4132    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/results/SourcePosition.py:30(file)
+      167    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:813(write_indent)
+      857    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:52(<listcomp>)
+     9819    0.001    0.000    0.001    0.000 {built-in method builtins.ord}
+        4    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/pyprint/ColorPrinter.py:36(_print)
+       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:450(fetch_flow_collection_end)
+      206    0.001    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:249(_acquire_restore)
+        6    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:59(__init__)
+       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/subprocess.py:1374(_get_handles)
+     4588    0.001    0.000    0.001    0.000 {method 'lstrip' of 'str' objects}
+       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:145(dirname)
+       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:427(fetch_flow_collection_start)
+     1211    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:129(unescaped_split)
+       67    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:481(fetch_block_entry)
+        1    0.000    0.000    0.001    0.001 /usr/lib/python3.5/multiprocessing/pool.py:10(<module>)
+       63    0.001    0.000    0.001    0.000 {method 'flush' of '_io.TextIOWrapper' objects}
+       12    0.000    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/synchronize.py:115(_make_name)
+      403    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:252(_is_owned)
+     2693    0.001    0.000    0.001    0.000 {method 'extend' of 'list' objects}
+        2    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/output/ConfWriter.py:160(__get_append_val)
+       59    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:113(create_params_from_section)
+       34    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:146(update)
+       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/contextlib.py:131(helper)
+       89    0.001    0.000    0.001    0.000 {built-in method posix.scandir}
+     2321    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:107(peek_event)
+       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/subprocess.py:975(_translate_newlines)
+      202    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:217(__init__)
+       11    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap>:570(module_from_spec)
+       96    0.001    0.000    0.001    0.000 {built-in method posix.lstat}
+        6    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:122(determine_encoding)
+       41    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/functools.py:317(__get__)
+      688    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:728(check_plain)
+      403    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:240(__exit__)
+      527    0.001    0.000    0.001    0.000 {method 'remove' of 'list' objects}
+     2512    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/resolver.py:114(ascend_resolver)
+       17    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:177(update_raw)
+      125    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:796(encode)
+       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:208(__init__)
+        2    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/output/ConfWriter.py:163(<listcomp>)
+     1374    0.001    0.000    0.001    0.000 {built-in method __new__ of type object at 0xa3ee00}
 ```
 
 **Disclaimer:** method with too low `cumtime` values have been discarded.
Updated by ishan srivastava

File test-dir_python_fire.md Modified

  • Ignore whitespace
  • Hide word diff
      1120    0.001    0.000    0.004    0.000 {built-in method builtins.sorted}
   278/153    0.000    0.000    0.004    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:395(construct_yaml_map)
      1252    0.001    0.000    0.004    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/re.py:215(finditer)
-        9    0.000    0.000    0.003    0.000 /usr/lib/python3.5/threading.py:826(start)
-     2224    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:432(unescaped_strip)
-        1    0.000    0.000    0.003    0.003 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/processes/Processing.py:259(get_file_dict)
-      139    0.000    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:201(construct_mapping)
-     2524    0.003    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copy.py:253(_keep_alive)
-     9274    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:165(append)
- 1001/601    0.003    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:167(getwidth)
-      403    0.003    0.000    0.003    0.000 {method 'release' of '_thread.lock' objects}
-     2193    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/re.py:175(sub)
-        1    0.000    0.000    0.003    0.003 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:101(check_filename_prefix_postfix)
-     1283    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:71(join)
-      100    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/processes/communication/LogMessage.py:8(__init__)
-      206    0.001    0.000    0.003    0.000 /usr/lib/python3.5/threading.py:496(__init__)
-     1590    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:362(_escape)
-      139    0.000    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:118(construct_mapping)
-        2    0.000    0.000    0.003    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/output/ConfWriter.py:133(<lambda>)
-     1094    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copy.py:223(<listcomp>)
-     1079    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:130(<listcomp>)
-      450    0.002    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:68(_filter_out_omitted)
-       41    0.001    0.000    0.003    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:663(get_exec_path)
-     2031    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:397(position_is_escaped)
-    31774    0.002    0.000    0.002    0.000 {built-in method builtins.id}
-      123    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:202(filter_parameters)
-     8524    0.002    0.000    0.002    0.000 {method 'pop' of 'list' objects}
-      147    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:266(expect_scalar)
-        1    0.000    0.000    0.002    0.002 /usr/lib/python3.5/multiprocessing/connection.py:10(<module>)
-      191    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:469(process_tag)
-      118    0.000    0.000    0.002    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:39(insert)
-     1474    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:61(isabs)
-     1793    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:387(construct_yaml_str)
-     1650    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/DocstringMetadata.py:58(concat_doc_parts)
-     2764    0.002    0.000    0.002    0.000 {method 'split' of 'str' objects}
-       66    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:110(<listcomp>)
- 1262/118    0.001    0.000    0.002    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:19(insert)
-      226    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:79(non_optional_params)
-      147    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:626(analyze_scalar)
-      396    0.002    0.000    0.002    0.000 {built-in method posix.stat}
-      574    0.000    0.000    0.002    0.000 /usr/lib/python3.5/subprocess.py:1480(<genexpr>)
-      192    0.001    0.000    0.002    0.000 /usr/lib/python3.5/inspect.py:2664(__init__)
-     2088    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:159(construct_scalar)
-    12903    0.002    0.000    0.002    0.000 {method 'startswith' of 'str' objects}
-     2224    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:417(unescaped_rstrip)
-      147    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:494(choose_scalar_style)
-     1030    0.002    0.000    0.002    0.000 {built-in method posix.urandom}
-      100    0.002    0.000    0.002    0.000 {built-in method today}
-       82    0.000    0.000    0.002    0.000 /usr/lib/python3.5/selectors.py:350(register)
-     2235    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/events.py:65(__init__)
-        6    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:139(parse_implicit_document_start)
-      147    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:515(process_scalar)
-      215    0.002    0.000    0.002    0.000 /usr/lib/python3.5/threading.py:213(__init__)
-     1993    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:38(__init__)
-      886    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:115(splitext)
-      247    0.002    0.000    0.002    0.000 {method 'close' of '_io.TextIOWrapper' objects}
-    191/2    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:32(represent_data)
-     2400    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:157(__getitem__)
-     23/2    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:204(represent_dict)
-     23/2    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:102(represent_mapping)
-      123    0.001    0.000    0.002    0.000 /usr/lib/python3.5/subprocess.py:1618(wait)
-     1072    0.002    0.000    0.002    0.000 {method '__reduce_ex__' of 'object' objects}
-      147    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:1079(write_plain)
-       66    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:107(<listcomp>)
-    20544    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copy.py:192(_deepcopy_atomic)
-     2222    0.002    0.000    0.002    0.000 {method 'format' of 'str' objects}
-       73    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:264(parse_block_node)
-        9    0.000    0.000    0.002    0.000 /usr/lib/python3.5/multiprocessing/pool.py:144(Process)
-      199    0.002    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_compile.py:391(_generate_overlap_table)
-     21/3    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:189(represent_list)
-     21/3    0.000    0.000    0.002    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/representer.py:84(represent_sequence)
-       41    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/shutil.py:1096(_access_check)
-     2902    0.001    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:39(_get_sep)
-       47    0.000    0.000    0.002    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:395(expect_block_mapping_key)
-       82    0.001    0.000    0.002    0.000 /usr/lib/python3.5/selectors.py:233(register)
-     3687    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:309(remove_possible_simple_key)
-     4183    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:322(unwind_indent)
-      714    0.001    0.000    0.001    0.000 /usr/lib/python3.5/inspect.py:2399(__init__)
-      857    0.001    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:50(_path_join)
-        9    0.001    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/process.py:71(__init__)
-    12911    0.001    0.000    0.001    0.000 {method 'items' of 'dict' objects}
-        1    0.000    0.000    0.001    0.001 /home/ishansrivastava/coala-quickstart/coala_quickstart/generation/SettingsClass.py:345(collect_bear_settings)
-      202    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/Section.py:124(__init__)
-        2    0.000    0.000    0.001    0.001 /home/ishansrivastava/coala-quickstart/coala_quickstart/generation/SettingsClass.py:278(__init__)
-       84    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/_collections_abc.py:592(get)
-       12    0.000    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/synchronize.py:162(__init__)
-       23    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:392(expect_first_block_mapping_key)
-       12    0.001    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/synchronize.py:51(__init__)
-      125    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:720(__getitem__)
-       12    0.001    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/util.py:151(__init__)
-      396    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/StringConverter.py:96(<genexpr>)
-      214    0.001    0.000    0.001    0.000 {built-in method posix.close}
-     1028    0.001    0.000    0.001    0.000 {method 'groupdict' of '_sre.SRE_Match' objects}
-       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:360(unregister)
-        1    0.000    0.000    0.001    0.001 /usr/lib/python3.5/multiprocessing/__init__.py:15(<module>)
-     1540    0.001    0.000    0.001    0.000 {built-in method builtins.hasattr}
-     1041    0.001    0.000    0.001    0.000 {built-in method from_bytes}
-       59    0.001    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/QuickstartBear.py:12(run)
-       59    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/FileUtils.py:18(detect_encoding)
-       48    0.001    0.000    0.001    0.000 {built-in method builtins.__build_class__}
-     2235    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/nodes.py:27(__init__)
-     2083    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/tokens.py:98(__init__)
-      886    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/genericpath.py:111(_splitext)
-       77    0.001    0.000    0.001    0.000 {built-in method posix.waitpid}
-      164    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:214(_fileobj_lookup)
-       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/subprocess.py:1605(_try_wait)
-     2686    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/tokens.py:3(__init__)
-      380    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/abc.py:178(__instancecheck__)
-     2193    0.001    0.000    0.001    0.000 {method 'sub' of '_sre.SRE_Pattern' objects}
-       59    0.001    0.000    0.001    0.000 {method 'readlines' of '_io._IOBase' objects}
-     2076    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/decorators.py:295(eq)
-       41    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/bears/python/PycodestyleBear.py:22(create_arguments)
-        6    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/loader.py:33(__init__)
-     2578    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:114(get_event)
-       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:346(__init__)
-      749    0.001    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/filename_operations.py:13(__init__)
-        9    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:755(__init__)
-     1305    0.001    0.000    0.001    0.000 {method 'update' of 'dict' objects}
-     1252    0.001    0.000    0.001    0.000 {method 'finditer' of '_sre.SRE_Pattern' objects}
-      164    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:20(_fileobj_to_fd)
-      720    0.000    0.000    0.001    0.000 {method 'write' of '_io.TextIOWrapper' objects}
-      203    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:68(_path_stat)
-      486    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:120(need_more_events)
-        2    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/bears/Bear.py:379(get_non_optional_settings)
-       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:246(unregister)
-       19    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:373(expect_first_block_sequence_item)
-     1050    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/copyreg.py:87(__newobj__)
-       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/contextlib.py:63(__exit__)
- 1350/242    0.001    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/file_aggregator.py:22(search_name)
-     3381    0.001    0.000    0.001    0.000 {built-in method builtins.min}
-       84    0.000    0.000    0.001    0.000 /home/ishansrivastava/coala-quickstart/coala_quickstart/green_mode/find_globs.py:42(<listcomp>)
-     7599    0.001    0.000    0.001    0.000 {method 'strip' of 'str' objects}
-      224    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:88(optional_params)
-      179    0.001    0.000    0.001    0.000 {built-in method posix.pipe}
-     1268    0.000    0.000    0.001    0.000 {built-in method builtins.any}
-       41    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/genericpath.py:16(exists)
-        6    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:474(_compile_bytecode)
-      397    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_compile.py:386(_simple)
-        4    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/pyprint/Printer.py:30(print)
-      906    0.001    0.000    0.001    0.000 /usr/lib/python3.5/inspect.py:2709(<genexpr>)
-        6    0.001    0.000    0.001    0.000 {built-in method marshal.loads}
-        1    0.001    0.001    0.001    0.001 {built-in method posix.remove}
-     2088    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:103(construct_scalar)
-       24    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:437(check_simple_key)
-      574    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:851(fsencode)
-     2512    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/resolver.py:91(descend_resolver)
-      403    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:237(__enter__)
-      250    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/constructor.py:223(construct_yaml_int)
-     1038    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/results/TextPosition.py:9(__init__)
-       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:444(fetch_flow_sequence_end)
-        1    0.000    0.000    0.001    0.001 /usr/lib/python3.5/multiprocessing/context.py:1(<module>)
-       96    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:158(islink)
-        1    0.000    0.000    0.001    0.001 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/bearlib/abstractions/Linter.py:255(get_metadata)
-       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:421(fetch_flow_sequence_start)
-       83    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/genericpath.py:39(isdir)
-     4132    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/results/SourcePosition.py:30(file)
-      167    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/emitter.py:813(write_indent)
-      857    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap_external>:52(<listcomp>)
-     9819    0.001    0.000    0.001    0.000 {built-in method builtins.ord}
-        4    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/pyprint/ColorPrinter.py:36(_print)
-       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:450(fetch_flow_collection_end)
-      206    0.001    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:249(_acquire_restore)
-        6    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:59(__init__)
-       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/subprocess.py:1374(_get_handles)
-     4588    0.001    0.000    0.001    0.000 {method 'lstrip' of 'str' objects}
-       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/posixpath.py:145(dirname)
-       86    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:427(fetch_flow_collection_start)
-     1211    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coala_utils/string_processing/Core.py:129(unescaped_split)
-       67    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:481(fetch_block_entry)
-        1    0.000    0.000    0.001    0.001 /usr/lib/python3.5/multiprocessing/pool.py:10(<module>)
-       63    0.001    0.000    0.001    0.000 {method 'flush' of '_io.TextIOWrapper' objects}
-       12    0.000    0.000    0.001    0.000 /usr/lib/python3.5/multiprocessing/synchronize.py:115(_make_name)
-      403    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:252(_is_owned)
-     2693    0.001    0.000    0.001    0.000 {method 'extend' of 'list' objects}
-        2    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/output/ConfWriter.py:160(__get_append_val)
-       59    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/settings/FunctionMetadata.py:113(create_params_from_section)
-       34    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:146(update)
-       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/contextlib.py:131(helper)
-       89    0.001    0.000    0.001    0.000 {built-in method posix.scandir}
-     2321    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/parser.py:107(peek_event)
-       82    0.000    0.000    0.001    0.000 /usr/lib/python3.5/subprocess.py:975(_translate_newlines)
-      202    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/sre_parse.py:217(__init__)
-       11    0.000    0.000    0.001    0.000 <frozen importlib._bootstrap>:570(module_from_spec)
-       96    0.001    0.000    0.001    0.000 {built-in method posix.lstat}
-        6    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:122(determine_encoding)
-       41    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/functools.py:317(__get__)
-      688    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/scanner.py:728(check_plain)
-      403    0.000    0.000    0.001    0.000 /usr/lib/python3.5/threading.py:240(__exit__)
-      527    0.001    0.000    0.001    0.000 {method 'remove' of 'list' objects}
-     2512    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/resolver.py:114(ascend_resolver)
-       17    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/yaml/reader.py:177(update_raw)
-      125    0.000    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/os.py:796(encode)
-       41    0.000    0.000    0.001    0.000 /usr/lib/python3.5/selectors.py:208(__init__)
-        2    0.001    0.000    0.001    0.000 /home/ishansrivastava/Environments/test_env/lib/python3.5/site-packages/coalib/output/ConfWriter.py:163(<listcomp>)
-     1374    0.001    0.000    0.001    0.000 {built-in method __new__ of type object at 0xa3ee00}
 ```
 
 **Disclaimer:** method with too low `cumtime` values have been discarded.
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.