{"id":16484882,"url":"https://github.com/laurentdardenne/optimizationrules","last_synced_at":"2026-06-04T21:31:25.953Z","repository":{"id":174168728,"uuid":"90636221","full_name":"LaurentDardenne/OptimizationRules","owner":"LaurentDardenne","description":"This module contains script analyzer rules to search statements can be improved.","archived":false,"fork":false,"pushed_at":"2019-01-12T15:11:55.000Z","size":37,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T10:13:49.107Z","etag":null,"topics":["powershell","powershell-module","psscriptanalyzer","rule","ruleset"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","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/LaurentDardenne.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-05-08T14:15:21.000Z","updated_at":"2025-10-06T09:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7e091ba-128d-4715-b018-3cb7b9d7356c","html_url":"https://github.com/LaurentDardenne/OptimizationRules","commit_stats":null,"previous_names":["laurentdardenne/optimizationrules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LaurentDardenne/OptimizationRules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentDardenne%2FOptimizationRules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentDardenne%2FOptimizationRules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentDardenne%2FOptimizationRules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentDardenne%2FOptimizationRules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentDardenne","download_url":"https://codeload.github.com/LaurentDardenne/OptimizationRules/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentDardenne%2FOptimizationRules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286057866,"owners_count":27278291,"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","status":"online","status_checked_at":"2025-11-24T02:00:07.096Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["powershell","powershell-module","psscriptanalyzer","rule","ruleset"],"created_at":"2024-10-11T13:18:37.118Z","updated_at":"2025-11-24T05:01:05.441Z","avatar_url":"https://github.com/LaurentDardenne.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿[![Build status](https://ci.appveyor.com/api/projects/status/xiu5372vdbhwomko?svg=true)](https://ci.appveyor.com/project/LaurentDardenne/optimizationrules)\n\nPSScriptAnalyzer rules suggesting optimizations for loop statements 'For'.\n\n**Documentation**\n\n[Optimization rules](https://github.com/LaurentDardenne/OptimizationRules/tree/master/RuleDocumentation)\n\n**PowerShell 5 Installation, (development version)**\n\nFrom PowerShell run:\n```Powershell\n$PSGalleryPublishUri = 'https://www.myget.org/F/ottomatt/api/v2/package'\n$PSGallerySourceUri = 'https://www.myget.org/F/ottomatt/api/v2'\n\nRegister-PSRepository -Name OttoMatt -SourceLocation $PSGallerySourceUri -PublishLocation $PSGalleryPublishUri #-InstallationPolicy Trusted\n\nInstall-Module OptimizationRules -Repository OttoMatt -Verbose -Force\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurentdardenne%2Foptimizationrules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurentdardenne%2Foptimizationrules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurentdardenne%2Foptimizationrules/lists"}