Giter Club home page Giter Club logo

pe's People

Contributors

tyuyang avatar

Watchers

 avatar

pe's Issues

Application does not have a list of valid ingredients

The user is unable to find out what all the valid ingredients are, since it is not listed anywhere in the user guide and from what I can see, you cannot retrieve a list of valid ingredients in the app itself. This becomes an issue when minor spelling mistake come into play, since 'eggs' is not considered a valid ingredient, and so the user is unable to find out what is the valid syntax for that ingredient conveniently (ie. without having to trial and error).

Application should warn users when corrupted savefile is detected

Since a corrupted save file is considered an error, there should at least be a warning or error message shown when such defects are detected. Currently, the app simply fails to load the ingredient list without giving a reason.

In addition, since there is no self correcting measures in place for corrupted save files, the user is unable to tell why the program fails to save their information even after restarting the program. This means that they will not be able to fix the program, despite the method being on the user guide, precisely because they do not know the reason why the program is failing

Feature does not work as advertised in user guide

image.png

From the image in the user guide above, if the user types in the command "ingredients search" or the command ""ingredients search ", the ingredients list should show up. However, errors were thrown every single time.

image.png

Bug: Error thrown is does not represent the actual error

To reproduce
Type in :
add ground chicken /qty 10000000000000000000000000000000000000
Expected
Either this /qty is too large! or accept quantity with no issues. A huge number is still a number
Actual
Error thrown says argument entered is not a number.
image.png

Flaw: Allergens not stored after exit

If the feature for adding allergens is added, there should be a method for saving the information for allergens, since firstly people will assume that allergens are saved and then get the wrong information with the command "possible recipes" after exiting.

Sequence diagram arrows are wrong

In the storage feature section of the developer guide, there is a sequence diagram shown. Picture below:

image.png

The return arrows are supposed to be dashed arrows, rather than solid arrows.

Return arrow looping the wrong way

Recipe possible command section, sequence diagram:

image.png

How in the world did you actually manage to make it loop the other way??? Technically a bug since I don't think you are allowed to loop the return arrow anti clockwise, plus it intersects with parts of the diagram which is not desirable. But wow I actually did not know PlantUML can do this.

Bug: No feedback when ingredients search does not find any ingredients

To reproduce
type in:
ingredients search eggs

Expected:
A message saying no ingredients are found or something along those lines

Actual:

image.png

There was no feedback message. This was especially startling since nearly every other command tested will have some form of feedback if nothing was found. User cannot be blamed if they thought the program actually hung.

(hihi was a command that I typed in to make sure that there was no infinite loop or something along those lines)

Loop box seems to be encompassing the wrong area

In the storage feature section of the developer guide, there is a sequence diagram shown.

image.png

As seen above, the loop encompasses only the return part of the function writeIngredientToFile(), which is probably an error since this implies that the function is invoked only once before the loop and returns multiple times during the loop.

Bug: Error thrown is not representative of the error

To reproduce:
Type in:
add ground chicken /qty 10.1

Expected:
Either the flag /qty is not an integer! or program runs as per normal

Actual:
The error claims that a non-integer is not a number, which is technically not true.

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.