-
Notifications
You must be signed in to change notification settings - Fork 49
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
Refactored code in src/webserver.js #6
base: f24
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 10719289930Details
💛 - Coveralls |
Quality Gate passedIssues Measures |
My file is responsible for running webserver and testing different server functionalities. All the newly introduced lines of code after refactoring are covered by tests. I was not able to write testcases for further coverage on the original code as this would include creating stubs, and mocks, which is beyond my capabilities given the time constraint. |
Description
Refactored code in function
listen
and reduced its Cognitive Complexity from 19 to 6.Issues Resolved
Resolved #5