├── .editorconfig ├── .git2gus └── config.json ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── 0-code_analyzer_bug.yml │ ├── 2-vscode_extension_bug.yml │ ├── 3-github_action_bug.yml │ ├── 5-feature_request.yml │ ├── 6-general_feedback.yml │ └── config.yml └── workflows │ ├── apply-npm-tag-to-version.yml │ ├── automated-release-tasks.yml │ ├── create-github-release.yml │ ├── create-release-branch.yml │ ├── daily-smoke-tests.yml │ ├── heartbeat-tests.yml │ ├── publish-to-npm.yml │ ├── run-tests.yml │ └── validate-pr.yml ├── .gitignore ├── .husky └── pre-commit ├── .vscode └── launch.json ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── bin ├── dev.cmd ├── dev.js ├── run.cmd └── run.js ├── eslint.config.mjs ├── messages ├── action-summary-viewer.md ├── config-command.md ├── config-model.md ├── config-writer.md ├── progress-event-listener.md ├── results-viewer.md ├── results-writer.md ├── rule-viewer.md ├── rules-command.md ├── rules-writer.md ├── run-action.md ├── run-command.md ├── shared.md └── workspace-util.md ├── package.json ├── pmd-appexchange └── docs │ ├── AvoidApiSessionId.md │ ├── AvoidApiSessionIdInXML.md │ ├── AvoidAuraAppWithLockerDisabled.md │ ├── AvoidAuraCmpWithLockerDisabled.md │ ├── AvoidChangeProtectionUnprotected.md │ ├── AvoidCreateElementScriptLinkTag.md │ ├── AvoidDisableProtocolSecurity.md │ ├── AvoidDisableProtocolSecurityInXML.md │ ├── AvoidGetInstanceWithTaint.md │ ├── AvoidGlobalInstallUninstallHandlers.md │ ├── AvoidHardCodedCredentialsInAura.md │ ├── AvoidHardCodedSecretsInVFAttrs.md │ ├── AvoidHardcodedCredentialsInFieldDecls.md │ ├── AvoidHardcodedCredentialsInHttpHeader.md │ ├── AvoidHardcodedCredentialsInSetPassword.md │ ├── AvoidHardcodedCredentialsInVarAssign.md │ ├── AvoidHardcodedCredentialsInVarDecls.md │ ├── AvoidInsecureHttpRemoteSiteSetting.md │ ├── AvoidInsecureHttpRemoteSiteSettingInXML.md │ ├── AvoidInvalidCrudContentDistribution.md │ ├── AvoidJavaScriptCustomObject.md │ ├── AvoidJavaScriptHomePageComponent.md │ ├── AvoidJavaScriptWeblink.md │ ├── AvoidJsLinksInCustomObject.md │ ├── AvoidJsLinksInWebLinks.md │ ├── AvoidLmcIsExposedTrue.md │ ├── AvoidLmcIsExposedTrueInXML.md │ ├── AvoidLwcBubblesComposedTrue.md │ ├── AvoidSControls.md │ ├── AvoidSecurityEnforcedOldApiVersion.md │ ├── AvoidSystemModeInFlows.md │ ├── AvoidUnauthorizedApiSessionIdInApex.md │ ├── AvoidUnauthorizedApiSessionIdInFlows.md │ ├── AvoidUnauthorizedApiSessionIdVisualforce.md │ ├── AvoidUnauthorizedGetSessionIdInApex.md │ ├── AvoidUnauthorizedGetSessionIdInVisualforce.md │ ├── AvoidUnescapedHtml.md │ ├── AvoidUnsafePasswordManagementUse.md │ ├── LimitConnectedAppScope.md │ ├── LoadCSSApexStylesheet.md │ ├── LoadCSSLinkHref.md │ ├── LoadJavaScriptHtmlScript.md │ ├── LoadJavaScriptIncludeScript.md │ ├── ProtectSensitiveData.md │ ├── UpgradeLwcLockerSecuritySupport.md │ ├── UseHttpsCallbackUrl.md │ └── UseLwcDomManual.md ├── smoke-tests ├── smoke-test-generator.js ├── smoke-test.cmd ├── smoke-test.sh └── test-data │ ├── config-files │ └── existing-config.yml │ ├── workspace-with-apex-files │ ├── MyClass1.cls │ ├── MyClass2.cls │ └── MyClass3.cls │ └── workspace-with-mixed-files │ ├── MyClass1.cls │ └── my-script.ts ├── src ├── Constants.ts ├── commands │ └── code-analyzer │ │ ├── config.ts │ │ ├── rules.ts │ │ └── run.ts └── lib │ ├── Display.ts │ ├── Telemetry.ts │ ├── actions │ ├── ConfigAction.ts │ ├── RulesAction.ts │ └── RunAction.ts │ ├── factories │ ├── CodeAnalyzerConfigFactory.ts │ └── EnginePluginsFactory.ts │ ├── listeners │ ├── LogEventListener.ts │ ├── ProgressEventListener.ts │ └── TelemetryEventListener.ts │ ├── messages.ts │ ├── models │ └── ConfigModel.ts │ ├── utils │ ├── DateTimeUtils.ts │ ├── FileUtil.ts │ ├── StylingUtil.ts │ └── WorkspaceUtil.ts │ ├── viewers │ ├── ActionSummaryViewer.ts │ ├── ConfigViewer.ts │ ├── ResultsViewer.ts │ └── RuleViewer.ts │ └── writers │ ├── ConfigWriter.ts │ ├── LogWriter.ts │ ├── ResultsWriter.ts │ └── RulesWriter.ts ├── test ├── commands │ └── code-analyzer │ │ ├── config.test.ts │ │ ├── rules.test.ts │ │ └── run.test.ts ├── fixtures │ ├── comparison-files │ │ └── lib │ │ │ ├── actions │ │ │ ├── ConfigAction.test.ts │ │ │ │ ├── action-summaries │ │ │ │ │ ├── no-outfile-created.txt.goldfile │ │ │ │ │ ├── outfile-created.txt.goldfile │ │ │ │ │ └── pre-execution-summary.txt.goldfile │ │ │ │ ├── default-configurations │ │ │ │ │ ├── Stub1Rule1.yml.goldfile │ │ │ │ │ ├── Stub1Rule7.yml.goldfile │ │ │ │ │ ├── StubEngine1.yml.goldfile │ │ │ │ │ └── rulesSectionWithNoModifications.yml.goldfile │ │ │ │ ├── derivables-as-defaults │ │ │ │ │ ├── config_root.yml.goldfile │ │ │ │ │ └── log_folder.yml.goldfile │ │ │ │ ├── derivables-as-non-defaults │ │ │ │ │ ├── config_root.yml.goldfile │ │ │ │ │ └── log_folder.yml.goldfile │ │ │ │ ├── header-comments │ │ │ │ │ ├── config_root-section.yml.goldfile │ │ │ │ │ ├── engines-section.yml.goldfile │ │ │ │ │ ├── log_folder-section.yml.goldfile │ │ │ │ │ ├── log_level-section.yml.goldfile │ │ │ │ │ ├── rules-section.yml.goldfile │ │ │ │ │ ├── top-level-end.yml.goldfile │ │ │ │ │ └── top-level-start.yml.goldfile │ │ │ │ ├── override-configurations-only-modifications │ │ │ │ │ ├── Stub1Rule1.yml.goldfile │ │ │ │ │ ├── Stub1Rule2.yml.goldfile │ │ │ │ │ └── Stub1Rule3.yml.goldfile │ │ │ │ ├── override-configurations │ │ │ │ │ ├── Stub1Rule1.yml.goldfile │ │ │ │ │ ├── Stub1Rule2.yml.goldfile │ │ │ │ │ ├── Stub1Rule3.yml.goldfile │ │ │ │ │ ├── Stub1Rule4.yml.goldfile │ │ │ │ │ ├── Stub1Rule7.yml.goldfile │ │ │ │ │ ├── Stub1Rule8.yml.goldfile │ │ │ │ │ ├── StubEngine1.yml.goldfile │ │ │ │ │ ├── StubEngine2_forConfigWithRelativePathScenario.yml.goldfile │ │ │ │ │ └── StubEngine3.yml.goldfile │ │ │ │ └── workspace-resolution │ │ │ │ │ └── workspaceAwareRules.yml.goldfile │ │ │ ├── RulesAction.test.ts │ │ │ │ └── action-summaries │ │ │ │ │ ├── no-rules.txt.goldfile │ │ │ │ │ ├── pre-execution-summary.txt.goldfile │ │ │ │ │ ├── rules-with-outfile.txt.goldfile │ │ │ │ │ └── some-rules.txt.goldfile │ │ │ └── RunAction.test.ts │ │ │ │ └── action-summaries │ │ │ │ ├── no-violations.txt.goldfile │ │ │ │ ├── pre-execution-summary.txt.goldfile │ │ │ │ ├── some-outfiles.txt.goldfile │ │ │ │ └── some-violations.txt.goldfile │ │ │ ├── utils │ │ │ └── StylingUtil.test.ts │ │ │ │ ├── all-keys-printed.txt │ │ │ │ ├── non-existent-key-printed.txt │ │ │ │ ├── styled-comment.txt │ │ │ │ ├── styled-header-and-body.txt │ │ │ │ ├── styled-header.txt │ │ │ │ └── subset-of-keys-printed.txt │ │ │ └── viewers │ │ │ ├── ResultsViewer.test.ts │ │ │ ├── four-identical-violations-details.txt │ │ │ ├── four-unique-violations-details.txt │ │ │ └── one-multilocation-violation-details.txt │ │ │ └── RuleViewer.test.ts │ │ │ ├── one-rule-details.txt │ │ │ └── two-rules-details.txt │ ├── example-workspaces │ │ ├── ConfigAction.test.ts │ │ │ └── optional-input-config.yml │ │ ├── workspace-with-dotted-items │ │ │ ├── .dotted-directory-a │ │ │ │ ├── .dotted-file-1a.txt │ │ │ │ └── undotted-file-1a.txt │ │ │ ├── .dotted-directory-b │ │ │ │ ├── .dotted-file-1b.txt │ │ │ │ └── undotted-file-1b.txt │ │ │ ├── .dotted-file-1.txt │ │ │ ├── .dotted-file-2.txt │ │ │ ├── undotted-directory-a │ │ │ │ ├── .dotted-file-2a.txt │ │ │ │ └── undotted-file-2a.txt │ │ │ ├── undotted-directory-b │ │ │ │ ├── .dotted-file-2b.txt │ │ │ │ └── undotted-file-2b.txt │ │ │ ├── undotted-file-1.txt │ │ │ └── undotted-file-2.txt │ │ ├── workspace-with-misc-files │ │ │ ├── README.md │ │ │ ├── great.txt │ │ │ ├── hello.js │ │ │ ├── package.json │ │ │ └── world.cls │ │ ├── workspace-with-multiple-configs │ │ │ ├── code-analyzer.yaml │ │ │ └── code-analyzer.yml │ │ ├── workspace-with-yaml-config │ │ │ └── code-analyzer.yaml │ │ └── workspace-with-yml-config │ │ │ └── code-analyzer.yml │ ├── invalid-configs │ │ └── nonexistent-log-folder.yml │ └── valid-configs │ │ └── sample-config-file.yml ├── lib │ ├── actions │ │ ├── ConfigAction.test.ts │ │ ├── RulesAction.test.ts │ │ └── RunAction.test.ts │ ├── factories │ │ ├── CodeAnalyzerConfigFactory.test.ts │ │ └── EnginePluginsFactory.test.ts │ ├── listeners │ │ ├── LogEventListener.test.ts │ │ └── ProgressEventListener.test.ts │ ├── utils │ │ ├── StylingUtil.test.ts │ │ └── WorkspaceUtil.test.ts │ ├── viewers │ │ ├── ConfigViewer.test.ts │ │ ├── ResultsViewer.test.ts │ │ └── RuleViewer.test.ts │ └── writers │ │ ├── ConfigWriter.test.ts │ │ ├── LogWriter.test.ts │ │ ├── ResultsWriter.test.ts │ │ └── RulesWriter.test.ts ├── sample-code │ ├── fileA.cls │ ├── fileZ.cls │ └── someFile.cls ├── setup-tests.ts ├── stubs │ ├── SpyConfigViewer.ts │ ├── SpyConfigWriter.ts │ ├── SpyDisplay.ts │ ├── SpyLogWriter.ts │ ├── SpyResultsViewer.ts │ ├── SpyResultsWriter.ts │ ├── SpyRuleViewer.ts │ ├── SpyRuleWriter.ts │ ├── SpyTelemetryEmitter.ts │ ├── SpyWriteStream.ts │ ├── StubCodeAnalyzerConfigFactories.ts │ ├── StubConfigModel.ts │ ├── StubEnginePlugins.ts │ ├── StubEnginePluginsFactories.ts │ ├── StubFileSystem.ts │ ├── StubRuleSelection.ts │ ├── StubRules.ts │ └── StubRunResults.ts ├── test-utils.ts └── tsconfig.json ├── tsconfig.json └── vitest.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.editorconfig -------------------------------------------------------------------------------- /.git2gus/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.git2gus/config.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/0-code_analyzer_bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/ISSUE_TEMPLATE/0-code_analyzer_bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2-vscode_extension_bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/ISSUE_TEMPLATE/2-vscode_extension_bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3-github_action_bug.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/ISSUE_TEMPLATE/3-github_action_bug.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/5-feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/ISSUE_TEMPLATE/5-feature_request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/6-general_feedback.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/ISSUE_TEMPLATE/6-general_feedback.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false -------------------------------------------------------------------------------- /.github/workflows/apply-npm-tag-to-version.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/apply-npm-tag-to-version.yml -------------------------------------------------------------------------------- /.github/workflows/automated-release-tasks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/automated-release-tasks.yml -------------------------------------------------------------------------------- /.github/workflows/create-github-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/create-github-release.yml -------------------------------------------------------------------------------- /.github/workflows/create-release-branch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/create-release-branch.yml -------------------------------------------------------------------------------- /.github/workflows/daily-smoke-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/daily-smoke-tests.yml -------------------------------------------------------------------------------- /.github/workflows/heartbeat-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/heartbeat-tests.yml -------------------------------------------------------------------------------- /.github/workflows/publish-to-npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/publish-to-npm.yml -------------------------------------------------------------------------------- /.github/workflows/run-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/run-tests.yml -------------------------------------------------------------------------------- /.github/workflows/validate-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.github/workflows/validate-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npm run lint 2 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/SECURITY.md -------------------------------------------------------------------------------- /bin/dev.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | node "%~dp0\dev" %* 4 | -------------------------------------------------------------------------------- /bin/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/bin/dev.js -------------------------------------------------------------------------------- /bin/run.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | node "%~dp0\run" %* 4 | -------------------------------------------------------------------------------- /bin/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/bin/run.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /messages/action-summary-viewer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/action-summary-viewer.md -------------------------------------------------------------------------------- /messages/config-command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/config-command.md -------------------------------------------------------------------------------- /messages/config-model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/config-model.md -------------------------------------------------------------------------------- /messages/config-writer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/config-writer.md -------------------------------------------------------------------------------- /messages/progress-event-listener.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/progress-event-listener.md -------------------------------------------------------------------------------- /messages/results-viewer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/results-viewer.md -------------------------------------------------------------------------------- /messages/results-writer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/results-writer.md -------------------------------------------------------------------------------- /messages/rule-viewer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/rule-viewer.md -------------------------------------------------------------------------------- /messages/rules-command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/rules-command.md -------------------------------------------------------------------------------- /messages/rules-writer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/rules-writer.md -------------------------------------------------------------------------------- /messages/run-action.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/run-action.md -------------------------------------------------------------------------------- /messages/run-command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/run-command.md -------------------------------------------------------------------------------- /messages/shared.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/shared.md -------------------------------------------------------------------------------- /messages/workspace-util.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/messages/workspace-util.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/package.json -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidApiSessionId.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidApiSessionId.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidApiSessionIdInXML.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidApiSessionIdInXML.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidAuraAppWithLockerDisabled.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidAuraAppWithLockerDisabled.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidAuraCmpWithLockerDisabled.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidAuraCmpWithLockerDisabled.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidChangeProtectionUnprotected.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidChangeProtectionUnprotected.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidCreateElementScriptLinkTag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidCreateElementScriptLinkTag.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidDisableProtocolSecurity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidDisableProtocolSecurity.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidDisableProtocolSecurityInXML.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidDisableProtocolSecurityInXML.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidGetInstanceWithTaint.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidGetInstanceWithTaint.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidGlobalInstallUninstallHandlers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidGlobalInstallUninstallHandlers.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardCodedCredentialsInAura.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardCodedCredentialsInAura.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardCodedSecretsInVFAttrs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardCodedSecretsInVFAttrs.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardcodedCredentialsInFieldDecls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardcodedCredentialsInFieldDecls.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardcodedCredentialsInHttpHeader.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardcodedCredentialsInHttpHeader.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardcodedCredentialsInSetPassword.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardcodedCredentialsInSetPassword.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardcodedCredentialsInVarAssign.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardcodedCredentialsInVarAssign.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidHardcodedCredentialsInVarDecls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidHardcodedCredentialsInVarDecls.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSetting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSetting.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidInsecureHttpRemoteSiteSettingInXML.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidInvalidCrudContentDistribution.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidInvalidCrudContentDistribution.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidJavaScriptCustomObject.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidJavaScriptCustomObject.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidJavaScriptHomePageComponent.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidJavaScriptHomePageComponent.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidJavaScriptWeblink.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidJavaScriptWeblink.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidJsLinksInCustomObject.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidJsLinksInCustomObject.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidJsLinksInWebLinks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidJsLinksInWebLinks.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidLmcIsExposedTrue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidLmcIsExposedTrue.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidLmcIsExposedTrueInXML.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidLmcIsExposedTrueInXML.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidLwcBubblesComposedTrue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidLwcBubblesComposedTrue.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidSControls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidSControls.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidSecurityEnforcedOldApiVersion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidSecurityEnforcedOldApiVersion.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidSystemModeInFlows.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidSystemModeInFlows.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnauthorizedApiSessionIdInApex.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnauthorizedApiSessionIdInApex.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnauthorizedApiSessionIdInFlows.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnauthorizedApiSessionIdInFlows.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnauthorizedApiSessionIdVisualforce.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnauthorizedApiSessionIdVisualforce.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnauthorizedGetSessionIdInApex.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnauthorizedGetSessionIdInApex.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnauthorizedGetSessionIdInVisualforce.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnauthorizedGetSessionIdInVisualforce.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnescapedHtml.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnescapedHtml.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/AvoidUnsafePasswordManagementUse.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/AvoidUnsafePasswordManagementUse.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/LimitConnectedAppScope.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/LimitConnectedAppScope.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/LoadCSSApexStylesheet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/LoadCSSApexStylesheet.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/LoadCSSLinkHref.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/LoadCSSLinkHref.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/LoadJavaScriptHtmlScript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/LoadJavaScriptHtmlScript.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/LoadJavaScriptIncludeScript.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/LoadJavaScriptIncludeScript.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/ProtectSensitiveData.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/ProtectSensitiveData.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/UpgradeLwcLockerSecuritySupport.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/UpgradeLwcLockerSecuritySupport.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/UseHttpsCallbackUrl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/UseHttpsCallbackUrl.md -------------------------------------------------------------------------------- /pmd-appexchange/docs/UseLwcDomManual.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/pmd-appexchange/docs/UseLwcDomManual.md -------------------------------------------------------------------------------- /smoke-tests/smoke-test-generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/smoke-test-generator.js -------------------------------------------------------------------------------- /smoke-tests/smoke-test.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/smoke-test.cmd -------------------------------------------------------------------------------- /smoke-tests/smoke-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/smoke-test.sh -------------------------------------------------------------------------------- /smoke-tests/test-data/config-files/existing-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/test-data/config-files/existing-config.yml -------------------------------------------------------------------------------- /smoke-tests/test-data/workspace-with-apex-files/MyClass1.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/test-data/workspace-with-apex-files/MyClass1.cls -------------------------------------------------------------------------------- /smoke-tests/test-data/workspace-with-apex-files/MyClass2.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/test-data/workspace-with-apex-files/MyClass2.cls -------------------------------------------------------------------------------- /smoke-tests/test-data/workspace-with-apex-files/MyClass3.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/test-data/workspace-with-apex-files/MyClass3.cls -------------------------------------------------------------------------------- /smoke-tests/test-data/workspace-with-mixed-files/MyClass1.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/test-data/workspace-with-mixed-files/MyClass1.cls -------------------------------------------------------------------------------- /smoke-tests/test-data/workspace-with-mixed-files/my-script.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/smoke-tests/test-data/workspace-with-mixed-files/my-script.ts -------------------------------------------------------------------------------- /src/Constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/Constants.ts -------------------------------------------------------------------------------- /src/commands/code-analyzer/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/commands/code-analyzer/config.ts -------------------------------------------------------------------------------- /src/commands/code-analyzer/rules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/commands/code-analyzer/rules.ts -------------------------------------------------------------------------------- /src/commands/code-analyzer/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/commands/code-analyzer/run.ts -------------------------------------------------------------------------------- /src/lib/Display.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/Display.ts -------------------------------------------------------------------------------- /src/lib/Telemetry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/Telemetry.ts -------------------------------------------------------------------------------- /src/lib/actions/ConfigAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/actions/ConfigAction.ts -------------------------------------------------------------------------------- /src/lib/actions/RulesAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/actions/RulesAction.ts -------------------------------------------------------------------------------- /src/lib/actions/RunAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/actions/RunAction.ts -------------------------------------------------------------------------------- /src/lib/factories/CodeAnalyzerConfigFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/factories/CodeAnalyzerConfigFactory.ts -------------------------------------------------------------------------------- /src/lib/factories/EnginePluginsFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/factories/EnginePluginsFactory.ts -------------------------------------------------------------------------------- /src/lib/listeners/LogEventListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/listeners/LogEventListener.ts -------------------------------------------------------------------------------- /src/lib/listeners/ProgressEventListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/listeners/ProgressEventListener.ts -------------------------------------------------------------------------------- /src/lib/listeners/TelemetryEventListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/listeners/TelemetryEventListener.ts -------------------------------------------------------------------------------- /src/lib/messages.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/messages.ts -------------------------------------------------------------------------------- /src/lib/models/ConfigModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/models/ConfigModel.ts -------------------------------------------------------------------------------- /src/lib/utils/DateTimeUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/utils/DateTimeUtils.ts -------------------------------------------------------------------------------- /src/lib/utils/FileUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/utils/FileUtil.ts -------------------------------------------------------------------------------- /src/lib/utils/StylingUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/utils/StylingUtil.ts -------------------------------------------------------------------------------- /src/lib/utils/WorkspaceUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/utils/WorkspaceUtil.ts -------------------------------------------------------------------------------- /src/lib/viewers/ActionSummaryViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/viewers/ActionSummaryViewer.ts -------------------------------------------------------------------------------- /src/lib/viewers/ConfigViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/viewers/ConfigViewer.ts -------------------------------------------------------------------------------- /src/lib/viewers/ResultsViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/viewers/ResultsViewer.ts -------------------------------------------------------------------------------- /src/lib/viewers/RuleViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/viewers/RuleViewer.ts -------------------------------------------------------------------------------- /src/lib/writers/ConfigWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/writers/ConfigWriter.ts -------------------------------------------------------------------------------- /src/lib/writers/LogWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/writers/LogWriter.ts -------------------------------------------------------------------------------- /src/lib/writers/ResultsWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/writers/ResultsWriter.ts -------------------------------------------------------------------------------- /src/lib/writers/RulesWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/src/lib/writers/RulesWriter.ts -------------------------------------------------------------------------------- /test/commands/code-analyzer/config.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/commands/code-analyzer/config.test.ts -------------------------------------------------------------------------------- /test/commands/code-analyzer/rules.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/commands/code-analyzer/rules.test.ts -------------------------------------------------------------------------------- /test/commands/code-analyzer/run.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/commands/code-analyzer/run.test.ts -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/action-summaries/no-outfile-created.txt.goldfile: -------------------------------------------------------------------------------- 1 | 2 | === Summary 3 | 4 | Additional log information written to: -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/action-summaries/outfile-created.txt.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/action-summaries/outfile-created.txt.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/action-summaries/pre-execution-summary.txt.goldfile: -------------------------------------------------------------------------------- 1 | 2 | Streaming logs in real time to: -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/Stub1Rule1.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/Stub1Rule1.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/Stub1Rule7.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/Stub1Rule7.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/StubEngine1.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/StubEngine1.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/rulesSectionWithNoModifications.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/default-configurations/rulesSectionWithNoModifications.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-defaults/config_root.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-defaults/config_root.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-defaults/log_folder.yml.goldfile: -------------------------------------------------------------------------------- 1 | log_folder: null # Last calculated by the config command as: __DUMMY_LOG_FOLDER__ 2 | -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-non-defaults/config_root.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-non-defaults/config_root.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-non-defaults/log_folder.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/derivables-as-non-defaults/log_folder.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/config_root-section.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/config_root-section.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/engines-section.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/engines-section.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/log_folder-section.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/log_folder-section.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/log_level-section.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/log_level-section.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/rules-section.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/rules-section.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/top-level-end.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/top-level-end.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/top-level-start.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/header-comments/top-level-start.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations-only-modifications/Stub1Rule1.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations-only-modifications/Stub1Rule1.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations-only-modifications/Stub1Rule2.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations-only-modifications/Stub1Rule2.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations-only-modifications/Stub1Rule3.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations-only-modifications/Stub1Rule3.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule1.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule1.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule2.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule2.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule3.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule3.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule4.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule4.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule7.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule7.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule8.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/Stub1Rule8.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/StubEngine1.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/StubEngine1.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/StubEngine2_forConfigWithRelativePathScenario.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/StubEngine2_forConfigWithRelativePathScenario.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/StubEngine3.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/override-configurations/StubEngine3.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/workspace-resolution/workspaceAwareRules.yml.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/ConfigAction.test.ts/workspace-resolution/workspaceAwareRules.yml.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RulesAction.test.ts/action-summaries/no-rules.txt.goldfile: -------------------------------------------------------------------------------- 1 | 2 | === Summary 3 | 4 | Found 0 rules. 5 | 6 | Additional log information written to: -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RulesAction.test.ts/action-summaries/pre-execution-summary.txt.goldfile: -------------------------------------------------------------------------------- 1 | 2 | Streaming logs in real time to: -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RulesAction.test.ts/action-summaries/rules-with-outfile.txt.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/RulesAction.test.ts/action-summaries/rules-with-outfile.txt.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RulesAction.test.ts/action-summaries/some-rules.txt.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/RulesAction.test.ts/action-summaries/some-rules.txt.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/no-violations.txt.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/no-violations.txt.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/pre-execution-summary.txt.goldfile: -------------------------------------------------------------------------------- 1 | 2 | Streaming logs in real time to: -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/some-outfiles.txt.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/some-outfiles.txt.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/some-violations.txt.goldfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/actions/RunAction.test.ts/action-summaries/some-violations.txt.goldfile -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/all-keys-printed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/all-keys-printed.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/non-existent-key-printed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/non-existent-key-printed.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/styled-comment.txt: -------------------------------------------------------------------------------- 1 | this text is styled as a comment -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/styled-header-and-body.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/styled-header-and-body.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/styled-header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/styled-header.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/subset-of-keys-printed.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/utils/StylingUtil.test.ts/subset-of-keys-printed.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/viewers/ResultsViewer.test.ts/four-identical-violations-details.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/viewers/ResultsViewer.test.ts/four-identical-violations-details.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/viewers/ResultsViewer.test.ts/four-unique-violations-details.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/viewers/ResultsViewer.test.ts/four-unique-violations-details.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/viewers/ResultsViewer.test.ts/one-multilocation-violation-details.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/viewers/ResultsViewer.test.ts/one-multilocation-violation-details.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/viewers/RuleViewer.test.ts/one-rule-details.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/viewers/RuleViewer.test.ts/one-rule-details.txt -------------------------------------------------------------------------------- /test/fixtures/comparison-files/lib/viewers/RuleViewer.test.ts/two-rules-details.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/comparison-files/lib/viewers/RuleViewer.test.ts/two-rules-details.txt -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/ConfigAction.test.ts/optional-input-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/example-workspaces/ConfigAction.test.ts/optional-input-config.yml -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/.dotted-directory-a/.dotted-file-1a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/.dotted-directory-a/undotted-file-1a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/.dotted-directory-b/.dotted-file-1b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/.dotted-directory-b/undotted-file-1b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/.dotted-file-1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/.dotted-file-2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/undotted-directory-a/.dotted-file-2a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/undotted-directory-a/undotted-file-2a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/undotted-directory-b/.dotted-file-2b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/undotted-directory-b/undotted-file-2b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/undotted-file-1.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-dotted-items/undotted-file-2.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-misc-files/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-misc-files/great.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-misc-files/hello.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-misc-files/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-misc-files/world.cls: -------------------------------------------------------------------------------- 1 | public class World { 2 | 3 | } -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-multiple-configs/code-analyzer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/example-workspaces/workspace-with-multiple-configs/code-analyzer.yaml -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-multiple-configs/code-analyzer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/example-workspaces/workspace-with-multiple-configs/code-analyzer.yml -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-yaml-config/code-analyzer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/example-workspaces/workspace-with-yaml-config/code-analyzer.yaml -------------------------------------------------------------------------------- /test/fixtures/example-workspaces/workspace-with-yml-config/code-analyzer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/example-workspaces/workspace-with-yml-config/code-analyzer.yml -------------------------------------------------------------------------------- /test/fixtures/invalid-configs/nonexistent-log-folder.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/invalid-configs/nonexistent-log-folder.yml -------------------------------------------------------------------------------- /test/fixtures/valid-configs/sample-config-file.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/fixtures/valid-configs/sample-config-file.yml -------------------------------------------------------------------------------- /test/lib/actions/ConfigAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/actions/ConfigAction.test.ts -------------------------------------------------------------------------------- /test/lib/actions/RulesAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/actions/RulesAction.test.ts -------------------------------------------------------------------------------- /test/lib/actions/RunAction.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/actions/RunAction.test.ts -------------------------------------------------------------------------------- /test/lib/factories/CodeAnalyzerConfigFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/factories/CodeAnalyzerConfigFactory.test.ts -------------------------------------------------------------------------------- /test/lib/factories/EnginePluginsFactory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/factories/EnginePluginsFactory.test.ts -------------------------------------------------------------------------------- /test/lib/listeners/LogEventListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/listeners/LogEventListener.test.ts -------------------------------------------------------------------------------- /test/lib/listeners/ProgressEventListener.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/listeners/ProgressEventListener.test.ts -------------------------------------------------------------------------------- /test/lib/utils/StylingUtil.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/utils/StylingUtil.test.ts -------------------------------------------------------------------------------- /test/lib/utils/WorkspaceUtil.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/utils/WorkspaceUtil.test.ts -------------------------------------------------------------------------------- /test/lib/viewers/ConfigViewer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/viewers/ConfigViewer.test.ts -------------------------------------------------------------------------------- /test/lib/viewers/ResultsViewer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/viewers/ResultsViewer.test.ts -------------------------------------------------------------------------------- /test/lib/viewers/RuleViewer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/viewers/RuleViewer.test.ts -------------------------------------------------------------------------------- /test/lib/writers/ConfigWriter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/writers/ConfigWriter.test.ts -------------------------------------------------------------------------------- /test/lib/writers/LogWriter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/writers/LogWriter.test.ts -------------------------------------------------------------------------------- /test/lib/writers/ResultsWriter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/writers/ResultsWriter.test.ts -------------------------------------------------------------------------------- /test/lib/writers/RulesWriter.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/lib/writers/RulesWriter.test.ts -------------------------------------------------------------------------------- /test/sample-code/fileA.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/sample-code/fileA.cls -------------------------------------------------------------------------------- /test/sample-code/fileZ.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/sample-code/fileZ.cls -------------------------------------------------------------------------------- /test/sample-code/someFile.cls: -------------------------------------------------------------------------------- 1 | public class someFile { 2 | } 3 | -------------------------------------------------------------------------------- /test/setup-tests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/setup-tests.ts -------------------------------------------------------------------------------- /test/stubs/SpyConfigViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyConfigViewer.ts -------------------------------------------------------------------------------- /test/stubs/SpyConfigWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyConfigWriter.ts -------------------------------------------------------------------------------- /test/stubs/SpyDisplay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyDisplay.ts -------------------------------------------------------------------------------- /test/stubs/SpyLogWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyLogWriter.ts -------------------------------------------------------------------------------- /test/stubs/SpyResultsViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyResultsViewer.ts -------------------------------------------------------------------------------- /test/stubs/SpyResultsWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyResultsWriter.ts -------------------------------------------------------------------------------- /test/stubs/SpyRuleViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyRuleViewer.ts -------------------------------------------------------------------------------- /test/stubs/SpyRuleWriter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyRuleWriter.ts -------------------------------------------------------------------------------- /test/stubs/SpyTelemetryEmitter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyTelemetryEmitter.ts -------------------------------------------------------------------------------- /test/stubs/SpyWriteStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/SpyWriteStream.ts -------------------------------------------------------------------------------- /test/stubs/StubCodeAnalyzerConfigFactories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubCodeAnalyzerConfigFactories.ts -------------------------------------------------------------------------------- /test/stubs/StubConfigModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubConfigModel.ts -------------------------------------------------------------------------------- /test/stubs/StubEnginePlugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubEnginePlugins.ts -------------------------------------------------------------------------------- /test/stubs/StubEnginePluginsFactories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubEnginePluginsFactories.ts -------------------------------------------------------------------------------- /test/stubs/StubFileSystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubFileSystem.ts -------------------------------------------------------------------------------- /test/stubs/StubRuleSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubRuleSelection.ts -------------------------------------------------------------------------------- /test/stubs/StubRules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubRules.ts -------------------------------------------------------------------------------- /test/stubs/StubRunResults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/stubs/StubRunResults.ts -------------------------------------------------------------------------------- /test/test-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/test-utils.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forcedotcom/code-analyzer/HEAD/vitest.config.ts --------------------------------------------------------------------------------