{"id":36426855,"url":"https://github.com/walkmod/walkmod-sonar-plugin","last_synced_at":"2026-01-11T18:01:19.162Z","repository":{"id":57741095,"uuid":"52504238","full_name":"walkmod/walkmod-sonar-plugin","owner":"walkmod","description":"Plugin to automatically fix sonar violations","archived":false,"fork":false,"pushed_at":"2022-08-20T17:55:06.000Z","size":103,"stargazers_count":22,"open_issues_count":9,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-16T20:18:48.434Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walkmod.png","metadata":{"files":{"readme":"README.asciidoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-25T07:05:40.000Z","updated_at":"2024-04-08T07:07:43.000Z","dependencies_parsed_at":"2022-09-06T23:31:15.640Z","dependency_job_id":null,"html_url":"https://github.com/walkmod/walkmod-sonar-plugin","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/walkmod/walkmod-sonar-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walkmod%2Fwalkmod-sonar-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walkmod%2Fwalkmod-sonar-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walkmod%2Fwalkmod-sonar-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walkmod%2Fwalkmod-sonar-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walkmod","download_url":"https://codeload.github.com/walkmod/walkmod-sonar-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walkmod%2Fwalkmod-sonar-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28316906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T14:58:17.114Z","status":"ssl_error","status_checked_at":"2026-01-11T14:55:53.580Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-11T18:00:33.620Z","updated_at":"2026-01-11T18:01:19.138Z","avatar_url":"https://github.com/walkmod.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"walkmod-sonar-plugin \n====================\nRaquel Pau \u003craquelpau@gmail.com\u003e\n\nimage:https://travis-ci.org/walkmod/walkmod-sonar-plugin.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/walkmod/walkmod-sonar-plugin\"]\n\nThis is a http://www.walkmod.com[walkmod] plugin to automatically fix sonar rule violations. Currently, the supported rules are:\n\n----\n- sonar:AddCurlyBrackets\n- sonar:AddSwitchDefaultCase\n- sonar:ArrayDesignatorOnType\n- sonar:CollapsibleIfStatements\n- sonar:DeclarationsShouldUseCollectionInterfaces\n- sonar:LocalVarsShouldComplyWithNamingConvention\n- sonar:PrimitiveInstantiationForToString\n- sonar:RedundantCastsShouldNotBeUsed\n- sonar:RemoveCodeComment\n- sonar:RemoveEmptyMethod\n- sonar:RemoveEmptyStatement\n- sonar:RemoveLiteralBoolean\n- sonar:RemoveUnusedMethodParameters\n- sonar:RemoveUselessImports\n- sonar:RemoveUselessParentheses\n- sonar:RemoveUselessVariables\n- sonar:StaticInitializedFieldToFinal\n- sonar:StringCheckOnLeft\n- sonar:UseCollectionIsEmpty\n- sonar:UseStringEquals\n- sonar:VariableImmediatelyReturned\n----\n\n== Usage\n\n1) Verify that your walkmod version is \u003e = 2.3.2 and your project is Maven or Gradle.\n\n2) Execute the following command to add this code transformation plugin as part of your conventions. \n\n----\nwalkmod add sonar:CollapsibleIfStatements\n----\n\n3) Now, You see the results, executing: \n\n----\nwalkmod apply\n----\n\nOr, alternatively, you can also check which would be the modified classes typing:\n\n----\nwalkmod check\n----\n\n== Contributing\n\nIf you want to hack on this, fork it, improve it and send me a pull request.\n\nTo get started using it, just clone it and call mvn install. \n\n\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalkmod%2Fwalkmod-sonar-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalkmod%2Fwalkmod-sonar-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalkmod%2Fwalkmod-sonar-plugin/lists"}