OSD600 – Lab 1: Reviewing Code

Hi everyone, my name is Karthika Krishnan, and I’m a Computer Programming student. This week I worked on Lab 1, which focused on reviewing and testing code in the open source community.

How I Did My Code Review:

I reviewed a classmate’s project calle…


This content originally appeared on DEV Community and was authored by kkrishnan10

Hi everyone, my name is Karthika Krishnan, and I’m a Computer Programming student. This week I worked on Lab 1, which focused on reviewing and testing code in the open source community.

How I Did My Code Review:

I reviewed a classmate’s project called Repository-Context-Packager. To start, I forked and cloned the repo, installed it using npm install and npm link, and tried the commands listed in the README. I tested things like:

repo-packager . (current directory)
repo-packager . --include "*.js" (filtering files)
repo-packager . -o out.txt (output to file)

I also experimented with edge cases such as empty folders and filenames with spaces.

For communication, I mostly used GitHub Issues (async) to file problems with details, expected vs actual results, and suggestions.

Reviewing Someone Else’s Repo:

The tool worked, but I noticed some missing details and inconsistencies in the documentation. I opened multiple issues, including:

Clarify installation by mentioning Node.js version requirements
Standardize usage examples (repo-packager vs. tool-name)
Add real examples of --help and --version output
Provide a sample output file in a folder
Add at least one basic test or update README to say “tests not implemented yet”

These issues were small but specific, and I think they’ll help improve the project for new users.

Fixing Issues:

I updated my README to include clearer setup steps, adjusted some button labels in the UI, and added a short note about the output directory.

What I Learned:

Even if the code works, documentation clarity is just as important.
Testing and reviewing early helps catch things I would have missed.
Filing smaller, focused issues is much more effective than one big general issue.


This content originally appeared on DEV Community and was authored by kkrishnan10


Print Share Comment Cite Upload Translate Updates
APA

kkrishnan10 | Sciencx (2025-09-13T05:31:53+00:00) OSD600 – Lab 1: Reviewing Code. Retrieved from https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/

MLA
" » OSD600 – Lab 1: Reviewing Code." kkrishnan10 | Sciencx - Saturday September 13, 2025, https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/
HARVARD
kkrishnan10 | Sciencx Saturday September 13, 2025 » OSD600 – Lab 1: Reviewing Code., viewed ,<https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/>
VANCOUVER
kkrishnan10 | Sciencx - » OSD600 – Lab 1: Reviewing Code. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/
CHICAGO
" » OSD600 – Lab 1: Reviewing Code." kkrishnan10 | Sciencx - Accessed . https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/
IEEE
" » OSD600 – Lab 1: Reviewing Code." kkrishnan10 | Sciencx [Online]. Available: https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/. [Accessed: ]
rf:citation
» OSD600 – Lab 1: Reviewing Code | kkrishnan10 | Sciencx | https://www.scien.cx/2025/09/13/osd600-lab-1-reviewing-code/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.