-
Notifications
You must be signed in to change notification settings - Fork 25
extended wc #25
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
base: main
Are you sure you want to change the base?
extended wc #25
Conversation
added max line lenght
|
I will be reviewing this PR. |
|
I'll be reviewing this PR |
|
Verification : Issue
The implementation is solid and covers all the requirements mentioned in the documentation. Testing : I tried running the tests provided in the documentation along with some tests of my own. All the tests are returning expected outputs. The code is able to handle all edge cases correctly. Code Walkthrough : Great work!! The implementation looks clean and solid. the code is well structured. I only have a few suggestions to improve the maintainability
Documentation : The documentation is present and consists of detailed description of how to build and run the test cases. Formatting : The formatting is consistent and the code is indented. I'd suggest to add comments above the methods in wc.c to make it easier to understand their functionality High Level Checks:
Code Checks:
Overall, the implementation is solid and covers all edge cases. Maybe refactor wc_stats to improve readability and remove the system call entries. |
|
I'll be reviewing this pr request |
|
Verification : Issue
Testing : Code Walkthrough : Documentation : Formatting : High Level Checks: [ x ] PR fully resolves the task/issue [ x ] Does the code achieve its intended purpose? Great project though, and your implementation was exactly what you were trying to achieve . Great job! |
|
Verification: Issue -l : Line count (number of \n newlines) Testing: In terms of edge cases/logical errors, I wasn't able to find any there. There are a few small things but I wouldn't consider them errors. I'll explain them in later seciton. Code Walkthrough/Formatting:
Go through the code once to get an idea of what it’s doing. Run any test cases and verify they pass. Try adding new inputs / tests to see if you can break the code. Look for values that are hard-coded that may not need to be.
Checklist
Code Checks:
|
|
Looks good to me. I am not personally a fan of the very verbose output, but maybe that's because I'm old and expect Unix utilities to treat me like they hate me. So no problem there. Ok, not sure why these reviewers all felt the need to copy and paste the readme, I felt like I was losing my mind here. Maybe... oh, never mind. There is no -c option for wc in xv6. I'm not sure why your readme says that or why these reviewers are parroting it. Fixes: 4.75/5 |
Natalie and Paing - We extended the wc.c to consider multiple flags. Documentatation can be found in docs/wc.md