Giter Site home page Giter Site logo

heshanera / healthplus Goto Github PK

View Code? Open in Web Editor NEW
192.0 192.0 114.0 10.07 MB

A Management System for a Health Care Facility. The system includes Registration of patients, Making appointments, Storing patient records, Billing in the pharmacy & Pharmacy stock controlling

License: Apache License 2.0

Java 79.56% CSS 20.33% HTML 0.11%
billing health-care-facility healthcare java javafx making-appointments management-system patients pharmacy registration

healthplus's People

Contributors

dependabot[bot] avatar heshanera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

healthplus's Issues

Comparison of String parameter using == or !=

The code in Admin.Admin.createNewUser(String, String, String, String, String, String) contains a comparison of strings using ==. This can cause unexpected behaviors in the application due to comparing references rather than contents.

To reproduce:

  • Go to Admin.Admin.createNewUser(String, String, String, String, String, String) in the src/main/java folder
  • Locate the if statement on line 343
  • Identify the use of == to compare strings

Expected: The createNewUser method should compare String parameters using the equals() method for value comparison to ensure correct behavior and avoid potential bugs related to string comparison.
Actual: == is used to compare strings which compares their references rather than their contents.

Run

This looks like a really cool project from the screenshots. How do I run it?

Possible Null pointer dereference

The code in Admin.Admin.getSupplierNames() contains a possible null pointer dereference where the variable "data" is dereferenced without first checking if it is null. This can cause potential crashes when the application is ran.

To reproduce:

  • Go to Admin.Admin.getSupplierNames() in the src/main/java folder
  • Go to line 834 and locate the "size" initialization
  • Identify that it doesn't check if "data" is null before using it

Expected: Variables should be checked if they're null before dereferencing to avoid potential NullPointerExceptions and ensure stability and reliability
Actual: The code doesn't check for null which may result in a crash under certain circumstances.

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.