{"id":18031986,"url":"https://github.com/anuviswan/scanf","last_synced_at":"2025-07-11T09:41:40.733Z","repository":{"id":46892464,"uuid":"314093906","full_name":"anuviswan/scanf","owner":"anuviswan","description":"SCANF (Static Code Analysis aNd Fixes) is a code analysis package build using .Net Compiler SDK. The development is still in early stages and this document would be updated soon.","archived":false,"fork":false,"pushed_at":"2021-09-21T23:25:34.000Z","size":927,"stargazers_count":0,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T06:29:01.401Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anuviswan.png","metadata":{"files":{"readme":"README.md","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":"2020-11-19T00:32:57.000Z","updated_at":"2021-09-21T23:07:57.000Z","dependencies_parsed_at":"2022-09-11T15:12:23.979Z","dependency_job_id":null,"html_url":"https://github.com/anuviswan/scanf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuviswan%2Fscanf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuviswan%2Fscanf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuviswan%2Fscanf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuviswan%2Fscanf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anuviswan","download_url":"https://codeload.github.com/anuviswan/scanf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256090,"owners_count":20909240,"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-10-30T10:11:56.509Z","updated_at":"2025-04-04T21:44:37.344Z","avatar_url":"https://github.com/anuviswan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCANF\n\n**SCANF** (_**S**tatic **C**ode **A**nalysis a**N**d **F**ixes_) is a code analysis package build using .Net Compiler SDK. The development is still in early stages and this document would be updated soon.\n\n## What is a Static Code analyzer\n\nStatic Code Analysis allows you to inspect and examine code before execution (during design time) for possible violation of quality, naming convention/style and other issues.\n\nIf a violation is found by the analyzer, it would be reported in Error List Window as well as marked with a squiggle in the Editor. The Code analyzer could include one or more suggestive code fixes for the issue reported, which the developer could apply to correct the violation.\n\n## Rules Support\n\nCurrent list of rules implemented are listed at https://anuviswan.github.io/scanf/ . Summary of the same is given below.\n\n| Code    | Description                                                        |            CodeFix | Analyzer Category |\n| ------- | ------------------------------------------------------------------ | -----------------: | ----------------- |\n| SF 1002 | Avoid Empty Methods                                                | :heavy_check_mark: | Code Smell        |\n| SF 1003 | Pending TODO Item                                                  |                :x: | Code Smell        |\n| SF 1004 | Pure methods should return value                                   |                :x: | Code Smell        |\n| SF 1005 | Async Methods should not return void                               | :heavy_check_mark: | Code Smell        |\n| SF 1008 | Rename method with Async Suffix                                    | :heavy_check_mark: | Naming Convention |\n| SF 1009 | Constructor should not invoke virtual method                       |                :x: | Bug               |\n| SF 1010 | Custom Exceptions should be always public                          | :heavy_check_mark: | Code Smell        |\n| SF 1011 | Enums with Flag Attribute should have its values as the power of 2 |                :x: | Bug               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuviswan%2Fscanf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanuviswan%2Fscanf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuviswan%2Fscanf/lists"}