Skip to content

Commit

Permalink
Latest Code Analysis (#664)
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
sdv-team and github-actions[bot] authored Nov 15, 2024
1 parent 5193369 commit 973114e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions static_code_analysis.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Run started:2024-09-25 19:32:12.685068
Run started:2024-11-15 03:09:38.348077

Test results:
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Expand Down Expand Up @@ -36,10 +36,10 @@ Test results:
Severity: Medium Confidence: High
CWE: CWE-502 (https://cwe.mitre.org/data/definitions/502.html)
More Info: https://bandit.readthedocs.io/en/1.7.7/blacklists/blacklist_calls.html#b301-pickle
Location: ./sdmetrics/reports/base_report.py:309:21
308 with open(filepath, 'rb') as f:
309 report = pickle.load(f)
310 if current_version != report._package_version:
Location: ./sdmetrics/reports/base_report.py:310:21
309 with open(filepath, 'rb') as f:
310 report = pickle.load(f)
311 if current_version != report._package_version:

--------------------------------------------------
>> Issue: [B101:assert_used] Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Expand Down Expand Up @@ -89,7 +89,7 @@ Test results:
Location: ./sdmetrics/single_table/privacy/util.py:72:4
71 dist = 0
72 assert len(target) == len(test), (
73 'Tuples must have the same length in the' 'calculation of hamming distance!'
73 'Tuples must have the same length in thecalculation of hamming distance!'
74 )
75

Expand Down Expand Up @@ -117,7 +117,7 @@ Test results:
--------------------------------------------------

Code scanned:
Total lines of code: 9225
Total lines of code: 9453
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 973114e

Please sign in to comment.