chore(codeql): readonly fields and TryGetValue cleanups #592
Annotations
11 warnings
|
Upload test results to Codecov
Unexpected input(s) 'report-type', valid inputs are ['base_sha', 'binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'disable_telem', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'force', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'recurse_submodules', 'report_code', 'report_type', 'root_dir', 'run_command', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'use_pypi', 'verbose', 'version', 'working-directory']
|
|
Run tests with coverage:
web/Areas/Effort/Services/EvalHarvestService.cs#L222
'CreateAdHocEvaluationAsync' has a cyclomatic complexity of '28'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/Effort/Services/EvalHarvestService.cs#L34
'GetCourseEvaluationStatusAsync' has a cyclomatic complexity of '33'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/Effort/Services/EffortRecordService.cs#L71
'CreateEffortRecordAsync' has a cyclomatic complexity of '27'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/Effort/Services/EffortAuditService.cs#L665
'BuildFilteredQuery' has a cyclomatic complexity of '41'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/Directory/Controllers/DirectoryController.cs#L101
'GetUCD' has a cyclomatic complexity of '26'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/CTS/Controllers/AssessmentController.cs#L38
'GetAssessments' has a cyclomatic complexity of '29'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/ClinicalScheduler/Services/ScheduleEditService.cs#L51
'AddInstructorAsync' has a cyclomatic complexity of '37'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Areas/ClinicalScheduler/Controllers/CliniciansController.cs#L126
'GetClinicianSchedule' has a cyclomatic complexity of '29'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Program.cs#L1
'<Main>$' has a cyclomatic complexity of '31'. Rewrite or refactor the code to decrease its complexity below '26'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1502)
|
|
Run tests with coverage:
web/Program.cs#L45
'Program' has a maintainability index of '5'. Rewrite or refactor the code to increase its maintainability index (MI) above '9'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1505)
|
background
wait
wait-all
cancel
parallel
Loading