Skip to content

coderabbit suggestions implemented

5e83bf0
Select commit
Loading
Failed to load commit list.
Open

Feature/Issue#3_supabase #27

coderabbit suggestions implemented
5e83bf0
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jul 15, 2025 in 0s

14 new issues (0 max.) of at least minor severity.

Annotations

Check warning on line 42 in src/tests/test_database.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/tests/test_database.py#L42

Method test_database_operations has 68 lines of code (limit is 50)

Check warning on line 42 in src/tests/test_database.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/tests/test_database.py#L42

Method test_database_operations has a cyclomatic complexity of 9 (limit is 8)

Check warning on line 8 in src/utils/db.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db.py#L8

Unused Client imported from supabase

Check warning on line 226 in src/utils/db.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db.py#L226

Detected MD5 hash algorithm which is considered insecure.

Check warning on line 226 in src/utils/db.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db.py#L226

Use of weak MD5 hash for security. Consider usedforsecurity=False

Check warning on line 227 in src/utils/db.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db.py#L227

Access to member '_cache' before its definition line 255

Check warning on line 228 in src/utils/db.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db.py#L228

Access to member '_cache' before its definition line 255

Check warning on line 5 in src/utils/db_schema.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db_schema.py#L5

Unused Path imported from pathlib

Check warning on line 6 in src/utils/db_schema.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db_schema.py#L6

Unused Client imported from supabase

Check warning on line 86 in src/utils/db_schema.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db_schema.py#L86

Method create_vector_similarity_function has 62 lines of code (limit is 50)

Check warning on line 89 in src/utils/db_schema.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/utils/db_schema.py#L89

Possible SQL injection vector through string-based query construction.

Check warning on line 18 in src/verifact_manager.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/verifact_manager.py#L18

Unused SimilarClaimResult imported from src.utils.db

Check warning on line 43 in src/verifact_manager.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/verifact_manager.py#L43

Method run has 124 lines of code (limit is 50)

Check warning on line 43 in src/verifact_manager.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/verifact_manager.py#L43

Method run has a cyclomatic complexity of 54 (limit is 8)