{"id":15019463,"url":"https://github.com/mardem1/perl-critic-mardem","last_synced_at":"2026-01-03T10:50:06.386Z","repository":{"id":240209983,"uuid":"487363050","full_name":"mardem1/perl-critic-mardem","owner":"mardem1","description":"Perl-Critic Policies for simple Refactoring-Support","archived":false,"fork":false,"pushed_at":"2024-05-21T10:20:54.000Z","size":430,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-24T02:19:39.252Z","etag":null,"topics":["perl","perl-critic","perl5","static-analysis","static-analysis-plugin","static-code-analysis"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mardem1.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-30T19:23:25.000Z","updated_at":"2024-05-21T10:16:09.000Z","dependencies_parsed_at":"2024-06-21T17:52:50.345Z","dependency_job_id":"7ae41bc1-7f16-484d-8cdd-329f0149cc17","html_url":"https://github.com/mardem1/perl-critic-mardem","commit_stats":null,"previous_names":["mardem1/perl-critic-mardem"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mardem1%2Fperl-critic-mardem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mardem1%2Fperl-critic-mardem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mardem1%2Fperl-critic-mardem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mardem1%2Fperl-critic-mardem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mardem1","download_url":"https://codeload.github.com/mardem1/perl-critic-mardem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244060818,"owners_count":20391605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perl","perl-critic","perl5","static-analysis","static-analysis-plugin","static-code-analysis"],"created_at":"2024-09-24T19:53:31.900Z","updated_at":"2026-01-03T10:50:06.355Z","avatar_url":"https://github.com/mardem1.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nPerl-Critic-Mardem\n\nDESCRIPTION\n\nPerl-Critic Policies for simple and isolated Refactoring-Support.\n\nThis Perl-Crictic Policy-Modules should help where to start a safe\nrefactoring in old leagacy Perl code.\n\nThe McCabe complexity check within the standard Perl-Critic Module are a good\noverall starting point see:\n\n* Perl::Critic::Policy::Modules::ProhibitExcessMainComplexity\n* Perl::Critic::Policy::Subroutines::ProhibitExcessComplexity\n\nbut these are for some bigger scans, so these new policies should check (or begin) in smaller chunks:\n\n* ProhibitReturnBooleanAsInt - return boolean as int \"return 1;\"\n* ProhibitConditionComplexity - condition complexity \"if/while/for/... (...){}\"\n* ProhibitManyConditionsInSub - subs has many conditionals \"if, while, for, ...\"\n* ProhibitLargeBlock - large code block as statement count \"{...}\"\n* ProhibitBlockComplexity - code block complexity \"{...}\"\n* ProhibitLargeSub - large subs as statement count\n* ProhibitLargeFile - large files as line count\n* ProhibitFileSize - large files as byte or char count\n\nINSTALLATION\n\nTo install this module via CAPN, run the following commands:\n\n  \u003e cpanm Perl::Critic::Mardem\n\nTo install this module from source, run the following commands:\n\n  \u003e perl Build.PL\n  \u003e ./Build\n  \u003e ./Build test\n  \u003e ./Build install\n\nSUPPORT AND DOCUMENTATION\n\nEach policy has its own detailed documentation see\nPerl::Critic::Mardem (https://metacpan.org/pod/Perl::Critic::Mardem) on MetaCPAN.\n\nBUG REPORTS\n\nPlease report bugs as GitHub-Issue https://github.com/mardem1/perl-critic-mardem/issues\n\nThe source code repository can be found at GitHub https://github.com/mardem1/perl-critic-mardem\n\nCHANGELOG\n\nsee Changes\n\nAUTHOR\n\nMarkus Demml, mardem@cpan.com\n\nLICENSE AND COPYRIGHT\n\nCopyright (c) 2024, Markus Demml\n\nThis library is free software; you can redistribute it and/or modify it\nunder the same terms as the Perl 5 programming language system itself.\nThe full text of this license can be found in the LICENSE file included\nwith this module.\n\nDISCLAIMER\n\nThis package is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmardem1%2Fperl-critic-mardem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmardem1%2Fperl-critic-mardem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmardem1%2Fperl-critic-mardem/lists"}