Skip to content

Commit

Permalink
Latest Code Analysis (#2194)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Aug 23, 2024
1 parent 513f390 commit 199a741
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions static_code_analysis.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Run started:2024-07-11 19:44:16.993309
Run started:2024-08-23 00:37:57.536879

Test results:
>> Issue: [B105:hardcoded_password_string] Possible hardcoded password: '# Release Notes
Expand All @@ -17,21 +17,21 @@ Test results:
Severity: Low Confidence: High
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b110_try_except_pass.html
Location: ./sdv/_utils.py:320:8
319
320 except Exception:
321 pass
322
Location: ./sdv/_utils.py:326:8
325
326 except Exception:
327 pass
328

--------------------------------------------------
>> Issue: [B105:hardcoded_password_string] Possible hardcoded password: '#'
Severity: Low Confidence: Medium
CWE: CWE-259 (https://cwe.mitre.org/data/definitions/259.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b105_hardcoded_password_string.html
Location: ./sdv/constraints/tabular.py:1125:16
1124 def _get_diff_column_name(self, table_data):
1125 token = '#'
1126 columns = [self._column_name, self._low_value, self._high_value]
Location: ./sdv/constraints/tabular.py:1128:16
1127 def _get_diff_column_name(self, table_data):
1128 token = '#'
1129 columns = [self._column_name, self._low_value, self._high_value]

--------------------------------------------------
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Expand All @@ -48,28 +48,28 @@ Test results:
Severity: Low Confidence: High
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b110_try_except_pass.html
Location: ./sdv/metadata/single_table.py:536:12
535
536 except Exception:
537 pass
538
Location: ./sdv/metadata/single_table.py:538:12
537
538 except Exception:
539 pass
540

--------------------------------------------------
>> Issue: [B110:try_except_pass] Try, Except, Pass detected.
Severity: Low Confidence: High
CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b110_try_except_pass.html
Location: ./sdv/multi_table/hma.py:340:12
339 index.append(foreign_key_value)
340 except Exception:
341 # Skip children rows subsets that fail
342 pass
343
Location: ./sdv/multi_table/hma.py:355:12
354 index.append(foreign_key_value)
355 except Exception:
356 # Skip children rows subsets that fail
357 pass
358

--------------------------------------------------

Code scanned:
Total lines of code: 12224
Total lines of code: 12451
Total lines skipped (#nosec): 0
Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Expand Down

0 comments on commit 199a741

Please sign in to comment.