From 7b5f82f1b131da83a12b5af7e397d54442dab961 Mon Sep 17 00:00:00 2001 From: SDV Team <98988753+sdv-team@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:53:21 -0400 Subject: [PATCH] Latest Code Analysis (#422) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- static_code_analysis.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static_code_analysis.txt b/static_code_analysis.txt index 6befdfbd..2eed931a 100644 --- a/static_code_analysis.txt +++ b/static_code_analysis.txt @@ -1,4 +1,4 @@ -Run started:2024-04-10 18:50:16.910112 +Run started:2024-08-21 17:50:53.695155 Test results: >> Issue: [B403:blacklist] Consider possible security implications associated with pickle module. @@ -75,10 +75,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: ./copulas/univariate/base.py:477:19 -476 with open(path, 'rb') as pickle_file: -477 return pickle.load(pickle_file) -478 + Location: ./copulas/univariate/base.py:488:19 +487 with open(path, 'rb') as pickle_file: +488 return pickle.load(pickle_file) +489 -------------------------------------------------- >> Issue: [B110:try_except_pass] Try, Except, Pass detected. @@ -95,7 +95,7 @@ Test results: -------------------------------------------------- Code scanned: - Total lines of code: 3973 + Total lines of code: 3953 Total lines skipped (#nosec): 0 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0