Skip to content
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ Get the IP address of the docker container

access the IP address with your browser. then you can see the website.



someone
3 changes: 3 additions & 0 deletions VulnerableApplication/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ public ActionResult Contact()
public string Hello() {
return "this is not on the coding rules.";
}

private static string ChangePassword = "PassWord917231";
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

CODE_SMELL

4 more lines of code need to be covered by tests to reach the minimum threshold of 65.0% lines coverage.
See details

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

/falsepositive

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

The issue marked as falsepositive. For more detail.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

CODE_SMELL

10 more comment lines need to be written to reach the minimum threshold of 25.0% comment density.
See details

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

/workitem

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

WorkItem 906 Created see workItem.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

CODE_SMELL

Add or update the header of this file.
See details

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

/falsepositive

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

The issue marked as falsepositive. For more detail.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

CODE_SMELL

Remove the unused private field 'ChangePassword'.
See details

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

/workitem

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

WorkItem 907 Created see workItem.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

VULNERABILITY

'password' detected in this expression, review this potentially hardcoded credential.
See details

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

CODE_SMELL

The field 'HomeController.ChangePassword' is assigned but its value is never used
See details

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

CODE_SMELL

Remove this method and declare a constant for this value.
See details


}
}