{ "info": { "author": "Tim Treptow", "author_email": "tim.treptow@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "pordego-complexity\n==================\n\nSummary\n-------\n`Pordego `_ plugin that analyzes code using the `Radon `_ library.\n\nIf the code does not meet a specified threshold, it will print the complex blocks and cause the pordego tool to return an error code.\n\nConfiguration\n-------------\n\nsource_paths\n^^^^^^^^^^^^\nThere is one required parameter \"source_paths\". This parameter should be a list of paths to directories containing Python source code (other types of code are ignored). The paths are searched recursively, so only the top level folder need be specified.\nThe paths can be absolute or relative to the directory where pordego is run.\n\nignore_paths\n^^^^^^^^^^^^\nOptional. A list of file patterns to ignore, such as \"*test*\" which will ignore all files containing \"test\"\n\ncomplexity_threshold\n^^^^^^^^^^^^^^^^^^^^\nOptional (default \"B\"). The maximum allowable complexity. See ``_ for a description of the ranks.\n\nignore_block_list\n^^^^^^^^^^^^^^^^^\nOptional. For lsiting all that legacy code that hasn't been refactored yet.\n\nEach entry in the list should be a string formatted like so:\n \n\n should start with one of the paths specified in source_paths, so if the source path is relative, this should be as well\nFunctions are specified with just the function name, methods that are part of a class (including class/staticmethods) are joined to the class name with a '.'\n specifies the worst grade that is allowed for the block of code. If the calculated grade is at or above the threshold grade, it will pass.\n\nThe easiest way to generate the ignore_block_list is to run the complexity plugin without ignore_block_list. The plugin prints the list of complex blocks in the same format as the ignore_block_list.\n\nExample:\npath/to/my/src/mymodule.py MyClass.some_method D\npath/to/my/src/mymodule.py some_free_function E\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/ttreptow/pordego-complexity/tarball/1.0.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ttreptow/pordego-complexity", "keywords": null, "license": "The MIT License (MIT)\n\nCopyright (c) 2016 ttreptow\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "pordego-complexity", "package_url": "https://pypi.org/project/pordego-complexity/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pordego-complexity/", "project_urls": { "Download": "https://github.com/ttreptow/pordego-complexity/tarball/1.0.4", "Homepage": "https://github.com/ttreptow/pordego-complexity" }, "release_url": "https://pypi.org/project/pordego-complexity/1.0.4/", "requires_dist": null, "requires_python": null, "summary": "Pordego plugin for code complexity analysis using the Radon library", "version": "1.0.4" }, "last_serial": 2927585, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "64ec22005544d1d6acca1d5a68bb90ef", "sha256": "bbc2ded6e8c7977e14b57943658d057068bae1ad6588244508b61299c4a749a6" }, "downloads": -1, "filename": "pordego_complexity-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "64ec22005544d1d6acca1d5a68bb90ef", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6348, "upload_time": "2016-06-23T23:55:31", "url": "https://files.pythonhosted.org/packages/f7/ac/023c3f75993b2aecd3bc0285fa8066def5c6020730419a4330cac815de1b/pordego_complexity-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "93150ca05e0185737c5d3a95f96e6f82", "sha256": "2bb473aa89d176d1def3600238c12cf35dfd972be4c0f2887691b46962438c90" }, "downloads": -1, "filename": "pordego-complexity-1.0.0.zip", "has_sig": false, "md5_digest": "93150ca05e0185737c5d3a95f96e6f82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7162, "upload_time": "2016-06-23T23:55:27", "url": "https://files.pythonhosted.org/packages/da/da/e4c6538456dde4048a69dd53c6825393c7fc8ba8c6743cb38d345d185a88/pordego-complexity-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5138159bb083073e2c4dda85535f8bb6", "sha256": "290d6f4410fff1f9a794629dc269da325067d7a608e8e032b3ecbe583c59cbdf" }, "downloads": -1, "filename": "pordego_complexity-1.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "5138159bb083073e2c4dda85535f8bb6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6355, "upload_time": "2016-06-24T00:21:05", "url": "https://files.pythonhosted.org/packages/d5/c8/955808b6a517272c580d14499a16d650bc5de2ef6b2014c9e9c4e8809b9b/pordego_complexity-1.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "294bcabee6f520f88bbf80298dfd3fee", "sha256": "c6a53da42165534ea85938400512dd2d67250388c278be7c2406c9bc98e28359" }, "downloads": -1, "filename": "pordego-complexity-1.0.1.zip", "has_sig": false, "md5_digest": "294bcabee6f520f88bbf80298dfd3fee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8082, "upload_time": "2016-06-24T00:21:00", "url": "https://files.pythonhosted.org/packages/3a/9d/7890edf8ba9ff7bc1945b6785eea59308ca8e218759ca3108efeb470902c/pordego-complexity-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "6f9ecba24305c5494be3e9dcb9314c80", "sha256": "699a36bf68fa93c4ecd234e3b9bfe8e6552dc6b8d60053002d9b134f7298bf97" }, "downloads": -1, "filename": "pordego_complexity-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "6f9ecba24305c5494be3e9dcb9314c80", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6357, "upload_time": "2016-06-24T19:51:44", "url": "https://files.pythonhosted.org/packages/ba/76/200622110ca85d183480d60c42f3e3016dd6c395857540075ad5f21691ed/pordego_complexity-1.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f5c0f92b2064d3f5d9b351d7338e03aa", "sha256": "ff7f2b6ee34125d7ebeda945b956a836fdc57da1537d2e444d8eb7c4b0da1ee9" }, "downloads": -1, "filename": "pordego-complexity-1.0.2.zip", "has_sig": false, "md5_digest": "f5c0f92b2064d3f5d9b351d7338e03aa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8110, "upload_time": "2016-06-24T19:51:35", "url": "https://files.pythonhosted.org/packages/dc/50/1d864d5c8184910d6a480e3d1b59fcadc74fe69d29a66fa38edbbdf5a44c/pordego-complexity-1.0.2.zip" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "acdc0582ceae1a9e8f7d7065e216ec4d", "sha256": "932b573c43fca76a9061e3a10a9ff6283afd4c768aca7edbc40e9602bc485709" }, "downloads": -1, "filename": "pordego_complexity-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "acdc0582ceae1a9e8f7d7065e216ec4d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7703, "upload_time": "2017-06-05T14:42:47", "url": "https://files.pythonhosted.org/packages/3f/17/6e61e887d78818b83f03aa62ea5fb069af93d72a124b3c5328c16f175087/pordego_complexity-1.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "247f18c434d802b7e1d186440c95e129", "sha256": "d2782fe1e82bca86f2f9e2b65f31a32e6f87a05e2966c9d48b17dc59664414f7" }, "downloads": -1, "filename": "pordego-complexity-1.0.3.tar.gz", "has_sig": false, "md5_digest": "247f18c434d802b7e1d186440c95e129", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5345, "upload_time": "2017-06-05T21:11:54", "url": "https://files.pythonhosted.org/packages/fd/57/e4155220a72c840a704f468b9eabcebb678355751a1e21520f74671f327e/pordego-complexity-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a0344d6cddf236f1d9cbed7390090407", "sha256": "c5d75e92e3111de35524731c8691d7198e9f267f94dcc3db7c80eb4ca8df0d5b" }, "downloads": -1, "filename": "pordego_complexity-1.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "a0344d6cddf236f1d9cbed7390090407", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7702, "upload_time": "2017-06-05T21:19:19", "url": "https://files.pythonhosted.org/packages/23/66/57b9c470058e60fc2c298687108ab3d680e6eaa2ed2b2b8648f22da03fe5/pordego_complexity-1.0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "412d55341ecb5097e6ce2b9faa2dcbed", "sha256": "fa2dc943ed565c0cd969777c29903f98471ff7f9bdf121cdc38ccf351e2aca1d" }, "downloads": -1, "filename": "pordego-complexity-1.0.4.tar.gz", "has_sig": false, "md5_digest": "412d55341ecb5097e6ce2b9faa2dcbed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5554, "upload_time": "2017-06-05T21:19:16", "url": "https://files.pythonhosted.org/packages/5b/10/42c9e351cf4069e1069c5fb4e9c186fa183f298c504979087dd0c28a5b06/pordego-complexity-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0344d6cddf236f1d9cbed7390090407", "sha256": "c5d75e92e3111de35524731c8691d7198e9f267f94dcc3db7c80eb4ca8df0d5b" }, "downloads": -1, "filename": "pordego_complexity-1.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "a0344d6cddf236f1d9cbed7390090407", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7702, "upload_time": "2017-06-05T21:19:19", "url": "https://files.pythonhosted.org/packages/23/66/57b9c470058e60fc2c298687108ab3d680e6eaa2ed2b2b8648f22da03fe5/pordego_complexity-1.0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "412d55341ecb5097e6ce2b9faa2dcbed", "sha256": "fa2dc943ed565c0cd969777c29903f98471ff7f9bdf121cdc38ccf351e2aca1d" }, "downloads": -1, "filename": "pordego-complexity-1.0.4.tar.gz", "has_sig": false, "md5_digest": "412d55341ecb5097e6ce2b9faa2dcbed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5554, "upload_time": "2017-06-05T21:19:16", "url": "https://files.pythonhosted.org/packages/5b/10/42c9e351cf4069e1069c5fb4e9c186fa183f298c504979087dd0c28a5b06/pordego-complexity-1.0.4.tar.gz" } ] }