Skip to content

Conversation

nbihan-mediware
Copy link
Owner

No description provided.

@SpringBootApplication
public class WorkflowApplication {

private String Password = "not real still bad";
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BLOCKER 'Password' detected in this expression, review this potentially hard-coded credential. rule
MAJOR Remove this unused "Password" private field. rule
MINOR Rename this field "Password" to match the regular expression '^[a-z][a-zA-Z0-9]*$'. rule

@nbihan-mediware
Copy link
Owner Author

SonarQube analysis reported 4 issues

  • BLOCKER 1 blocker
  • MAJOR 2 major
  • MINOR 1 minor

Watch the comments in this conversation to review them.


public static void main(String[] args) {
SpringApplication.run(WorkflowApplication.class, args);
fakeMethod(null);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR "NullPointerException" will be thrown when invoking method "fakeMethod()". rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant