Code Monkey home page Code Monkey logo

pe's Introduction

Hi there I am Jiaxiang👋

  • 😄 I am a final year recently graduated Computer Science student from the National University of Singapore (NUS).
  • 📫 How to reach me: via email

Languages and Tools:

Linux Python Java C++ C MySQL kubernetes Linux Git Linux

pe's People

Contributors

litone01 avatar

Watchers

 avatar

pe's Issues

Allowing a dog which is not born yet to enroll into a program

  1. Steps to reproduce

Dog with ID 4 is born at 2021-01-01, and it can enroll into the prorgam with ID 13 with session time of 1900-01-01 that is before its birth time. This cannot happen in reality and is not desirable for users.

image.png

image.png

command: enrol d/4 p/13

  1. Expected:

enrol command should not allow a dog with date of birth later than session time to enrol.

Actual:

enrol command allows a dog with date of birth later than session time to enrol.

  1. Screenshots
    Before:

image.png

After:

image.png

[UI] Long tag accepted and lead to incomplete display

  1. Steps to reproduce

add program n/test3 t/averylongtaggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggend

This case should be caught and handled properly. This was marked as medium because this bug can affect many other commands that involve adding or editing tag, such as add dog, add owner and all the edit commands.

  1. Expected:

tag which is too long should be prevented from being added or UI needs to be adjusted for displaying the tag name fully.

Actual:

long tag is accepted and it is not displayed completely.

  1. Screenshots
    Before:

image.png

After:

image.png

image.png

[DG] Typo in sequence diagram

  1. Issue:
    It should not be EnrolDropCommandParser in the sequence diagram, but DropCommandParser instead. I am a little bit confused over which one is correct because both are used in the content.
  2. Justify:

This is a typo and inconsistency between content and diagram.

  1. Screenshot
    content 1 :
    image.png

diagram:
image.png

content 2:

image.png

[UI] Long name is allowed and lead to incomplete display

  1. Steps to reproduce
    add program n/another very long nameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

This case should be caught and handled properly. I marked this as medium because this bug can affect many other commands that involve adding or editing the name attribute, such as add dog, add owner, and all the edit commands.

  1. Expected:

name should be displayed fully or certain measures given to prevent user from creating such a long name that cannot be completely shown.

Actual:

long name accepted and incomplete display

  1. Screenshots
    Before:

image.png

After:

image.png

image.png

[UI] Long input for breed is accepted and can lead to incomplete display

  1. Steps to reproduce

edit dog 2 b/golden retriever and testtttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt

This case should be caught and handled properly. This was marked as low instead of medium because this bug can affect less commands as compared to the issue with Name and Tag. Other commands invovled can be add dog.

  1. Expected:

breed which is too long should be prevented from being added or UI needs to be adjusted for displaying the breed name fully.

Actual:

long breed is accepted and it is not displayed completely.

  1. Screenshots
    Before:

image.png

After:

image.png

[DG] Use case 09 extension incorrect logic

  1. Issue:
    In 1a2, it says 'User supplies correct date.'
    and next line, it says 'Steps 1a1-1a2 are repeated until the command entered is correct.'

1a2 should be User supplies new date.

  1. Justify:

if 1a2 is user supplies correct date, then the next line is automatically correct. Or rather, what happens if user still gives a wrong or invalid date? This is not handled in the current use case.

  1. Screenshot

image.png

[DG] Use case 10 Help shows error message

  1. Issue and justify:

in 1a, it says 'The given command/format is invalid.' and error message will be shown to user.

However, since help command does not take in any argument, it is hard to find an example when error message is shown. Moreover, point 1 says user has entered 'help' command, so it cannot be a case where the command word is misspelled.

Thus, the logic of this use case may be wrong.

  1. Screenshot
    image.png

[Add] Add command does not work as intended with the given example in UG

  1. Steps to reproduce

command found in UG page 10 example,
add dog n/Oreo b/JackRussell Terrier d/2-02-2020 s/Female o/1 t/shy t/docile

it is located here:

image.png

  1. Expected:

the dog can be added successfully given the example.

Actual:

error message is shown and invalid date of birth is provided. Command is working as intended or expected.

  1. Screenshots
    Before:

image.png

After:

image.png

[DG] Use case 11 exit shows error message

1.Issue and justify:
in 1a, it says ‘The given command/format is invalid.’ and error message will be shown to user.

However, since exit command does not take in any argument, it is hard to find an example when error message is shown. Moreover, point 1 says user has entered ‘exit’ command, so it cannot be a case where the command word is misspelled.

Thus, the logic of this use case may be wrong.

  1. Screenshot:

image.png

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.