Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring code in src/install.js #3

Open
mrahmed2026 opened this issue Aug 28, 2024 · 4 comments · May be fixed by #70
Open

Refactoring code in src/install.js #3

mrahmed2026 opened this issue Aug 28, 2024 · 4 comments · May be fixed by #70
Assignees

Comments

@mrahmed2026
Copy link

https://sonarcloud.io/project/issues?open=AZGVh-Bo4m3Xmlma-BBo&id=CMU-17313Q_NodeBB
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed

src/install.js

@mrahmed2026
Copy link
Author

I would like to work on this please!

Copy link

Great! I assigned you (@mrahmed2026) to the issue. Have fun working on it!

@EduardoFF
Copy link
Contributor

The current tests do not cover this file. Therefore, you have two options to complete the last part of P1B:

(a) Write tests from scratch to cover that file OR
(b) Select another file currently covered by tests (under src/) that is NOT fully covered and do the following:

  • Increase the coverage of the file by at least one line.
  • Commit your changes to the same branch referenced in the PR.
  • For the final part of the task (manual testing), activate at least one function of the file you selected from the user interface (UI).

@mrahmed2026
Copy link
Author

mrahmed2026 commented Sep 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants