cs-450-project / se-phase2

Phase 2 project handoff
0 stars 0 forks source link

Clone Phase 2 repository and make a list of bugs. #1

Open chloehumphrey opened 5 days ago

chloehumphrey commented 5 days ago

I've updated the README with steps to execute the program. This ONLY works using Windows Command Prompt (not PowerShell, bash, or any variation of Linux/Mac). If you're on Mac, you can't run it right now. Just look through the code to find bugs.

chloehumphrey commented 2 days ago

Bugs

YaminiKrubha commented 2 days ago
  1. In URLParser.ts, the error handling logs an error message but does not throw or return the error.
  2. Some of the tests lack proper setup or teardown, which leads to inconsistent results.
  3. The current test suite lacks coverage for edge cases, such as invalid URLs or network errors, which could lead to undetected bugs.
  4. In Responsivemaintainers.ts, the logic for calculating date differences could be consolidated to reduce redundancy.
  5. Jest coverage are not met because test suite lacks sufficient tests to execute all statements, branches, lines, and functions.
WillKissel02 commented 12 hours ago

Output

image

Bugs

  1. testingRepo folder is never deleted after clone
  2. rampScore calculation just checks for a bunch of readme headings in a very inefficient stack of if statements
  3. RepoClone contains ramp score calculation, perhaps the class should be renamed or split
  4. cloneRepository has no logging on successful runs
  5. analyzeReadme has no logging or error handling
jtwellsp commented 10 hours ago

Screenshot 2024-10-15 213148

Note:

It now runs if you try it in Powershell

Bugs:

  1. Does not run in WSL and also does not support Linux running because of the node out format
  2. License metric is does not work properly and displays 0 even if it has the license
  3. Netscore has rounding issues that would cause it to fail autograder
  4. The jest, test files don't have full line coverage
  5. Autograder does not even run for this program
adhabib commented 9 hours ago