Open
Conversation
…20193602033641.py
Owner
Author
|
Issues
======
- Added 11
Complexity increasing per file
==============================
- py_error_20193602033641.py 4
- py_xss_20193602033641.py 1
- py_unittest_20193602033641.py 1
Clones added
============
- py_error_20193602033641.py 1
- py_xss_20193602033641.py 1
See the complete overview on Codacy |
codacydemo
commented
Sep 2, 2019
|
|
||
| def calc(number,times): | ||
| program = 'a = 5\nb=10\nprint("Sum =", a+b)' | ||
| exec(program) |
codacydemo
commented
Sep 2, 2019
| @@ -0,0 +1,46 @@ | |||
| import lxml | |||
codacydemo
commented
Sep 2, 2019
| class C20193602033641(): | ||
| "This is an example class" | ||
| a = 10 | ||
| def func(self): |
codacydemo
commented
Sep 2, 2019
| @@ -0,0 +1,10 @@ | |||
| function hello() { | |||
| let a = "dummy" | |||
codacydemo
commented
Sep 2, 2019
| return "Hello"; | ||
| } | ||
|
|
||
| function world() { |
Owner
Author
There was a problem hiding this comment.
Issue found: 'world' is defined but never used.
codacydemo
commented
Sep 2, 2019
| @@ -0,0 +1,10 @@ | |||
| function hello() { | |||
Owner
Author
There was a problem hiding this comment.
Issue found: 'hello' is defined but never used.
codacydemo
commented
Sep 2, 2019
|
|
||
| def calc(number,times): | ||
| program = 'a = 5\nb=10\nprint("Sum =", a+b)' | ||
| exec(program) |
codacydemo
commented
Sep 2, 2019
| get_input = web.input() | ||
| param1 = get_input['param1'] if 'param1' in get_input else None | ||
| if (param1): | ||
| x = eval(param1) |
Owner
Author
There was a problem hiding this comment.
codacydemo
commented
Sep 2, 2019
|
|
||
| function world() { | ||
| password a = "dummy" | ||
| let b = "line" |
codacydemo
commented
Sep 2, 2019
| @@ -0,0 +1,46 @@ | |||
| import lxml | |||
Owner
Author
There was a problem hiding this comment.
codacydemo
commented
Sep 2, 2019
| get_input = web.input() | ||
| param1 = get_input['param1'] if 'param1' in get_input else None | ||
| if (param1): | ||
| x = eval(param1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.