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

Merged Project 1 changes(src/webserver.js) #26

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Merged Project 1 changes(src/webserver.js) #26

merged 2 commits into from
Sep 19, 2024

Conversation

roma2023
Copy link

@roma2023 roma2023 commented Sep 18, 2024

Merged changes from Project 1 into this repository.

Changes

Changes were made in src/webserver.js, refactoring existing code to allow the code complexity from 19. I modularized the listen function into many helper functions. It reduces the amount of conditionals and nested loops or conditions. Helper functions make the code more efficient and readable, which should ultimately reduce complexity.

In this situation, resolving Issue #27 .

@roma2023 roma2023 self-assigned this Sep 18, 2024
@roma2023 roma2023 requested a review from kwarraich September 18, 2024 15:01
@roma2023 roma2023 linked an issue Sep 18, 2024 that may be closed by this pull request
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10924841296

Details

  • 16 of 29 (55.17%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.002%) to 82.669%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/webserver.js 16 29 55.17%
Totals Coverage Status
Change from base Build 10923854250: -0.002%
Covered Lines: 22327
Relevant Lines: 25588

💛 - Coveralls

@roma2023 roma2023 linked an issue Sep 18, 2024 that may be closed by this pull request
@kwarraich kwarraich merged commit 8baa8a3 into f24 Sep 19, 2024
1 check passed
@Abdallah-Abdaljalil Abdallah-Abdaljalil added the p1 Changes related to Project 1 label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 Changes related to Project 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge changes from Project 1 rsaparkh
4 participants