-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename new bad file #71
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- View detailed results in CodeScene
- Quality Gates: FAILED
- Issues Detected: (46)
- Issues Improved: (0)
- Affected Hotspots: (???) 🔥
- Recommended Review Level: Detailed -- Inspect the code that degrades in code health.
Violations summary:
-
Code Duplication
- bad2.c: zoo_awget Code Health: 2.62 Details
-
Deep, Nested Complexity
- bad2.c: check_events Code Health: 0.65 Details
- bad2.c: init_ssl_for_socket Code Health: 0.43 Details
- bad2.c: resolve_hosts Code Health: 0.54 Details
- bad2.c: zookeeper_interest Code Health: 0.54 Details
-
Excess Number of Function Arguments
- bad2.c: Request_path_watch_init Code Health: 0.0 Details
- bad2.c: add_completion Code Health: 0.01 Details
- bad2.c: add_completion_deregistration Code Health: 0.01 Details
- bad2.c: add_data_completion Code Health: 0.0 Details
- bad2.c: add_multi_completion Code Health: 0.0 Details
- bad2.c: add_stat_completion Code Health: 0.0 Details
- bad2.c: add_strings_completion Code Health: 0.0 Details
- bad2.c: add_strings_stat_completion Code Health: 0.0 Details
- bad2.c: aremove_watches Code Health: 0.01 Details
- bad2.c: create_completion_entry Code Health: 0.0 Details
- bad2.c: create_completion_entry_deregistration Code Health: 0.0 Details
- bad2.c: do_create_completion_entry Code Health: 0.01 Details
- bad2.c: null_watcher_fn Code Health: 0.0 Details
- bad2.c: remove_watches Code Health: 0.0 Details
- bad2.c: zoo_add_auth Code Health: 0.0 Details
- bad2.c: zoo_adelete Code Health: 0.0 Details
- bad2.c: zoo_aexists Code Health: 0.0 Details
- bad2.c: zoo_aget Code Health: 0.0 Details
- bad2.c: zoo_aget_children Code Health: 0.0 Details
- bad2.c: zoo_aget_children2 Code Health: 0.0 Details
- bad2.c: zoo_amulti Code Health: 0.0 Details
- bad2.c: zoo_areconfig Code Health: 0.0 Details
- bad2.c: zoo_aremove_all_watches Code Health: 0.0 Details
- bad2.c: zoo_aremove_watches Code Health: 0.01 Details
- bad2.c: zoo_aset Code Health: 0.0 Details
- bad2.c: zoo_awexists Code Health: 0.0 Details
- bad2.c: zoo_awget Code Health: 0.0 Details
- bad2.c: zoo_awget_children Code Health: 0.0 Details
- bad2.c: zoo_awget_children2 Code Health: 0.0 Details
- bad2.c: zoo_awget_children2_ Code Health: 0.0 Details
- bad2.c: zoo_awget_children_ Code Health: 0.0 Details
- bad2.c: zoo_awgetconfig Code Health: 0.0 Details
- bad2.c: zoo_remove_watches Code Health: 0.0 Details
- bad2.c: zoo_set Code Health: 0.0 Details
- bad2.c: zookeeper_init Code Health: 0.0 Details
- bad2.c: zookeeper_init2 Code Health: 0.0 Details
- bad2.c: zookeeper_init_internal Code Health: 0.01 Details
- bad2.c: zookeeper_init_sasl Code Health: 0.01 Details
- bad2.c: zookeeper_init_ssl Code Health: 0.0 Details
-
Lines of Code in a Single File
-
Number of Functions in a Single Module
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Lines of Code in a Single File Impact on Code Health Score 0.87
This module has 4342 lines of code, improve code health by reducing it to 1000
Why does this problem occur?
The number of Lines of Code in a single file.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Number of Functions in a Single Module Impact on Code Health Score 0.43
This module has 204 functions, threshold = 110
Why does this problem occur?
The total number of functions in each module.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Code Duplication Impact on Code Health Score 2.62
The module contains 12 functions with similar structure: zoo_acreate2_ttl,zoo_acreate_ttl,zoo_adelete,zoo_aget_acl and 8 more functions
Why does this problem occur?
The amount of similar code across the functions in a module.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Deep, Nested Complexity Impact on Code Health Score 0.65
check_events has a nested complexity depth of 6, threshold = 4
Why does this problem occur?
Measures the maximum nesting depth inside each function.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Deep, Nested Complexity Impact on Code Health Score 0.54
resolve_hosts has a nested complexity depth of 5, threshold = 4
Why does this problem occur?
Measures the maximum nesting depth inside each function.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Excess Number of Function Arguments
zoo_set has 5 arguments, threshold = 4
Why does this problem occur?
Measures the maximum number of function arguments of any function in a module.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Excess Number of Function Arguments
remove_watches has 7 arguments, threshold = 4
Why does this problem occur?
Measures the maximum number of function arguments of any function in a module.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Excess Number of Function Arguments
zoo_remove_watches has 6 arguments, threshold = 4
Why does this problem occur?
Measures the maximum number of function arguments of any function in a module.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Excess Number of Function Arguments Impact on Code Health Score 0.01
zoo_aremove_watches has 8 arguments, threshold = 4
Why does this problem occur?
Measures the maximum number of function arguments of any function in a module.
@@ -0,0 +1,5682 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ New issue: Excess Number of Function Arguments
zoo_aremove_all_watches has 6 arguments, threshold = 4
Why does this problem occur?
Measures the maximum number of function arguments of any function in a module.
Change-Id: Ida972e85167672e15b1eb975c9bf30d24d698689
b74a962
to
98cdda2
Compare
No description provided.