{"id":19779566,"url":"https://github.com/maluoi/unitygendarmerie","last_synced_at":"2025-06-23T03:42:46.127Z","repository":{"id":115658001,"uuid":"39119583","full_name":"maluoi/UnityGendarmerie","owner":"maluoi","description":"Simple hooks for using Gendarme from inside the Unity editor!","archived":false,"fork":false,"pushed_at":"2015-07-21T05:29:03.000Z","size":276,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T02:16:36.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maluoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-15T06:10:21.000Z","updated_at":"2021-08-19T19:30:54.000Z","dependencies_parsed_at":"2023-03-06T04:21:49.375Z","dependency_job_id":null,"html_url":"https://github.com/maluoi/UnityGendarmerie","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FUnityGendarmerie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FUnityGendarmerie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FUnityGendarmerie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FUnityGendarmerie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maluoi","download_url":"https://codeload.github.com/maluoi/UnityGendarmerie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241110676,"owners_count":19911379,"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":[],"created_at":"2024-11-12T05:35:08.861Z","updated_at":"2025-02-28T06:18:56.619Z","avatar_url":"https://github.com/maluoi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UnityGendarmerie\nSimple hooks for using Gendarme from inside the Unity editor!\n\n![](/Downloads/ManualImages/UnityGendarmerie.gif)\n\n\n**Go here for the .unitypackage you need to get running!**  \nhttps://github.com/maluoi/UnityGendarmerie/tree/master/Downloads  \n**And go here for the Gendarme installers, which you will also need!**  \nhttps://github.com/spouliot/gendarme/downloads\n\n\nNotes:\n- First, ensure you have gendarme on your computer!\n- It may also be good to be aware of the default ignore.txt file that should be at Assets/Ferr/UnityGendarmerie/ignore.txt\n- UnityGendarmerie is set up by default to work on PC with the Gendarme installer! If you're on a Mac, or aren't using the installer, you'll need to specify the location in Assets/Ferr/UnityGendarmerie/configuration.txt!\n\nBasic usage:\n- Use Tools-\u003eFerr UnityGendarmerie-\u003eRun Static Code Analysis (Runtime code) to analyze files that are distributed with your game, basically most things that aren't in the Editor folders\n- Use Tools-\u003eFerr UnityGendarmerie-\u003eRun Static Code Analysis (Editor code) to analyze your custom editor code!\n- Right Click-\u003eFerr UnityGendarmerie-\u003eAnalyze Code on a .cs file, or a folder to analyze specific files, or folders of files. Use the warning levels to filter out lower level warnings.\n  \nWant better access to the data, or want to analyze other assemblies? Fret not!\n- `UnityGendarmerie.AnalyzeCode(new Uri(\"filename.exe\"), true);`\n- `AnalyzeCode` has options for specifying specific assemblies, filters, and custom ignore files! It also returns a list of the data in case you're interested in logging or doing something else with it yourself!\n- Use `AnalyzeCodePath` to do the same on a specific file or folder, this will only work for files that fit into the runtime and editor assemblies!\n\n\nAlso, here's an example ignore file, if you need some reference!  \nhttps://github.com/mono/mono-tools/blob/master/gendarme/self-test.ignore\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaluoi%2Funitygendarmerie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaluoi%2Funitygendarmerie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaluoi%2Funitygendarmerie/lists"}