| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:fd23ba33-156f-31d1-439e-2ae837e0a8bd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8BC0:36E6DC:25FAA6F:343F040:6964DACB |
| html-safe-nonce | e8f9bdeb9e9a3c7eef21eaae6272163fa9db2885933933f6946de4eecdf45b8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkMwOjM2RTZEQzoyNUZBQTZGOjM0M0YwNDA6Njk2NERBQ0IiLCJ2aXNpdG9yX2lkIjoiNjQzOTEzNDE3MzE4NzgzNjkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 183a65145627fec7f16f41699ec009955e88042d5dc81252c410fd45614faa16 |
| hovercard-subject-tag | pull_request:3111867379 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql-coding-standards/1003/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/997a8d335ca50cfd607b2aeff8cda905c5a95f404218017d40931769546f0298/github/codeql-coding-standards/pull/1003 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/997a8d335ca50cfd607b2aeff8cda905c5a95f404218017d40931769546f0298/github/codeql-coding-standards/pull/1003 |
| og:image:alt | Description
Implements Rule 0-0-2, invariant conditions. Similar to autosar's M0-1-2 but with different exceptional cases.
I tried using modules as a new form of query behavior sharing here. At... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MichaelRFairhurst |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-coding-standards git https://github.com/github/codeql-coding-standards.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 513154248 |
| octolytics-dimension-repository_nwo | github/codeql-coding-standards |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 513154248 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-coding-standards |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f997e7f84bd1db9537ba403fa68be0da3423594 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql-coding-standards/pull/1003#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-coding-standards%2Fpull%2F1003 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-coding-standards%2Fpull%2F1003 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fcodeql-coding-standards |
| Reload | https://github.com/github/codeql-coding-standards/pull/1003 |
| Reload | https://github.com/github/codeql-coding-standards/pull/1003 |
| Reload | https://github.com/github/codeql-coding-standards/pull/1003 |
|
github
| https://github.com/github |
| codeql-coding-standards | https://github.com/github/codeql-coding-standards |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Fork
72
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Star
181
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Code
| https://github.com/github/codeql-coding-standards |
|
Issues
104
| https://github.com/github/codeql-coding-standards/issues |
|
Pull requests
27
| https://github.com/github/codeql-coding-standards/pulls |
|
Actions
| https://github.com/github/codeql-coding-standards/actions |
|
Projects
1
| https://github.com/github/codeql-coding-standards/projects |
|
Models
| https://github.com/github/codeql-coding-standards/models |
|
Wiki
| https://github.com/github/codeql-coding-standards/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/github/codeql-coding-standards/security |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
|
Insights
| https://github.com/github/codeql-coding-standards/pulse |
|
Code
| https://github.com/github/codeql-coding-standards |
|
Issues
| https://github.com/github/codeql-coding-standards/issues |
|
Pull requests
| https://github.com/github/codeql-coding-standards/pulls |
|
Actions
| https://github.com/github/codeql-coding-standards/actions |
|
Projects
| https://github.com/github/codeql-coding-standards/projects |
|
Models
| https://github.com/github/codeql-coding-standards/models |
|
Wiki
| https://github.com/github/codeql-coding-standards/wiki |
|
Security
| https://github.com/github/codeql-coding-standards/security |
|
Insights
| https://github.com/github/codeql-coding-standards/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fcodeql-coding-standards%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/github/codeql-coding-standards/pull/1003#issue-comment-box |
| MichaelRFairhurst | https://github.com/MichaelRFairhurst |
| main | https://github.com/github/codeql-coding-standards/tree/main |
| michaelrfairhurst/deadcode-4-rule-0-0-2 | https://github.com/github/codeql-coding-standards/tree/michaelrfairhurst/deadcode-4-rule-0-0-2 |
|
First implementation of Rule-0-0-2, invariant conditions.
| https://github.com/github/codeql-coding-standards/pull/1003#top |
| MichaelRFairhurst | https://github.com/MichaelRFairhurst |
| main | https://github.com/github/codeql-coding-standards/tree/main |
| michaelrfairhurst/deadcode-4-rule-0-0-2 | https://github.com/github/codeql-coding-standards/tree/michaelrfairhurst/deadcode-4-rule-0-0-2 |
|
Conversation
8
| https://github.com/github/codeql-coding-standards/pull/1003 |
|
Commits
6
| https://github.com/github/codeql-coding-standards/pull/1003/commits |
|
Checks
25
| https://github.com/github/codeql-coding-standards/pull/1003/checks |
|
Files changed
| https://github.com/github/codeql-coding-standards/pull/1003/files |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| https://github.co/hiddenchars |
| https://github.com/github/codeql-coding-standards/pull/{{ revealButtonHref }} |
|
| https://github.com/MichaelRFairhurst |
| MichaelRFairhurst | https://github.com/MichaelRFairhurst |
| Dec 18, 2025 | https://github.com/github/codeql-coding-standards/pull/1003#issue-3741011438 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| development_handbook.md#change-notes | https://github.com/github/codeql-coding-standards/blob/main/docs/development_handbook.md#change-notes |
| style guide | https://github.com/github/codeql-coding-standards/blob/main/docs/development_handbook.md#query-style-guide |
| style guide | https://github.com/github/codeql-coding-standards/blob/main/docs/development_handbook.md#query-style-guide |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
|
| https://github.com/MichaelRFairhurst |
| First implementation of Rule-0-0-2, invariant conditions. | https://github.com/github/codeql-coding-standards/pull/1003/commits/5a5da3c98234430a6e0b5a1311171173cbfaf362 |
| 5a5da3c | https://github.com/github/codeql-coding-standards/pull/1003/commits/5a5da3c98234430a6e0b5a1311171173cbfaf362 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| December 18, 2025 01:06 | https://github.com/github/codeql-coding-standards/pull/1003#event-21630722641 |
| started reviewing | https://github.com/copilot/tasks/pull/PR_kwDOHpYcyM65e1Pz?session_id=de083d39-4cb0-41e0-956e-fdafe15c7cc3 |
| MichaelRFairhurst | https://github.com/MichaelRFairhurst |
| December 18, 2025 01:06 | https://github.com/github/codeql-coding-standards/pull/1003#event-21630728646 |
|
View session
| https://github.com/copilot/tasks/pull/PR_kwDOHpYcyM65e1Pz?session_id=de083d39-4cb0-41e0-956e-fdafe15c7cc3 |
|
| https://github.com/MichaelRFairhurst |
| s/maintenance/maintainability in metadata tags | https://github.com/github/codeql-coding-standards/pull/1003/commits/3c8c1c500e98532da51b89d34de2d8265091231b |
| 3c8c1c5 | https://github.com/github/codeql-coding-standards/pull/1003/commits/3c8c1c500e98532da51b89d34de2d8265091231b |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Dec 18, 2025
| https://github.com/github/codeql-coding-standards/pull/1003#pullrequestreview-3590275330 |
|
View reviewed changes
| https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/github/codeql-coding-standards/pull/1003#pullrequestreview-3590275330 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Add Copilot custom instructions | https://github.com/github/codeql-coding-standards/new/main/.github/instructions?filename=*.instructions.md |
| Learn how to get started | https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| cpp/common/src/codingstandards/cpp/rules/invariantcondition/InvariantCondition.qll | https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b#diff-eb4a45cd41c386eadac932b12d702f28cc006522aa142f79d4e12c3eeb879cd5 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| cpp/common/src/codingstandards/cpp/rules/invariantcondition/InvariantCondition.qll | https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b#diff-eb4a45cd41c386eadac932b12d702f28cc006522aa142f79d4e12c3eeb879cd5 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| cpp/common/src/codingstandards/cpp/rules/invariantcondition/InvariantCondition.qll | https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b#diff-eb4a45cd41c386eadac932b12d702f28cc006522aa142f79d4e12c3eeb879cd5 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| cpp/common/src/codingstandards/cpp/rules/invariantcondition/InvariantCondition.qll | https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b#diff-eb4a45cd41c386eadac932b12d702f28cc006522aa142f79d4e12c3eeb879cd5 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| cpp/misra/test/rules/RULE-0-0-2/test.cpp | https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b#diff-be0d90a2e2774f3c3d2fdb1735858ef6fa2fab980629d65877c7371027c39ab1 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| MichaelRFairhurst | https://github.com/MichaelRFairhurst |
| December 18, 2025 08:33 | https://github.com/github/codeql-coding-standards/pull/1003#commits-pushed-7c3cbda |
|
| https://github.com/MichaelRFairhurst |
| Add rules.csv change | https://github.com/github/codeql-coding-standards/pull/1003/commits/7c3cbda471f1eb36d601b52a11f87212a8d0ac2f |
| 7c3cbda | https://github.com/github/codeql-coding-standards/pull/1003/commits/7c3cbda471f1eb36d601b52a11f87212a8d0ac2f |
|
| https://github.com/MichaelRFairhurst |
| Address copilot feedback | https://github.com/github/codeql-coding-standards/pull/1003/commits/f0c5cd962a31286adeb410959cffe8faaaeab51b |
| f0c5cd9 | https://github.com/github/codeql-coding-standards/pull/1003/commits/f0c5cd962a31286adeb410959cffe8faaaeab51b |
|
| https://github.com/MichaelRFairhurst |
| Fix InvariantCondition.qll comment, test expectations | https://github.com/github/codeql-coding-standards/pull/1003/commits/e4a1a697a587767160f350607a9bbaed1fa509a3 |
| e4a1a69 | https://github.com/github/codeql-coding-standards/pull/1003/commits/e4a1a697a587767160f350607a9bbaed1fa509a3 |
| https://github.com/MichaelRFairhurst |
| MichaelRFairhurst | https://github.com/MichaelRFairhurst |
| knewbury01 | https://github.com/knewbury01 |
| mbaluda | https://github.com/mbaluda |
| December 18, 2025 21:56 | https://github.com/github/codeql-coding-standards/pull/1003#event-21655267063 |
|
| https://github.com/MichaelRFairhurst |
| Merge branch 'main' into michaelrfairhurst/deadcode-4-rule-0-0-2 | https://github.com/github/codeql-coding-standards/pull/1003/commits/84cad63d2483e3b0ee6259e79ca239c574fbf62d |
| 84cad63 | https://github.com/github/codeql-coding-standards/pull/1003/commits/84cad63d2483e3b0ee6259e79ca239c574fbf62d |
| https://github.com/mbaluda |
| mbaluda | https://github.com/mbaluda |
|
Jan 2, 2026
| https://github.com/github/codeql-coding-standards/pull/1003#pullrequestreview-3623723367 |
|
View reviewed changes
| https://github.com/github/codeql-coding-standards/pull/1003/files/84cad63d2483e3b0ee6259e79ca239c574fbf62d |
| mbaluda | https://github.com/mbaluda |
| https://github.com/github/codeql-coding-standards/pull/1003#pullrequestreview-3623723367 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| rule_packages/cpp/DeadCode4.json | https://github.com/github/codeql-coding-standards/pull/1003/files/84cad63d2483e3b0ee6259e79ca239c574fbf62d#diff-b801f7a8a319c9d17c00a07960fb4a1c3c988e962bd2626c408fe43bca78673c |
| mbaluda | https://github.com/mbaluda |
| Jan 2, 2026 | https://github.com/github/codeql-coding-standards/pull/1003#discussion_r2658247189 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-coding-standards%2Fpull%2F1003 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/github/codeql-coding-standards/pull/1003/files/3c8c1c500e98532da51b89d34de2d8265091231b |
|
| https://github.com/mbaluda |
|
mbaluda
| https://github.com/mbaluda |
|
| https://github.com/github/codeql-coding-standards/pull/1003/files/84cad63d2483e3b0ee6259e79ca239c574fbf62d |
|
| https://github.com/knewbury01 |
|
knewbury01
| https://github.com/knewbury01 |
| Please reload this page | https://github.com/github/codeql-coding-standards/pull/1003 |
|
| https://github.com/MichaelRFairhurst |
|
| https://github.com/mbaluda |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |