Skip to content
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

Sonar intergration #30

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open

Sonar intergration #30

wants to merge 23 commits into from

Conversation

Ashan224019868
Copy link
Collaborator

What are the changes?

Who worked on the changes?

New Components/Features

Enhanced Components/Features

Other Changes/Fixes

Additional Notes

TODOs

  • Example Checkbox

Checklist

  • Existing, relevant documentation has been updated to reflect my changes

Screenshots or example output

@Ashan224019868 Ashan224019868 requested review from a team as code owners December 17, 2024 23:49
Copy link

Security Scan Results

Advanced Vulnerability Scan Results for ./amir.py:
Total lines of code: 195

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./Chatbot_model/chat.py:
Total lines of code: 383

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./Chatbot_model/.ipynb_checkpoints/chat-checkpoint.py:
Total lines of code: 443

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/main.py:
Total lines of code: 99

Detected Vulnerabilities:
- Bandit: B614: Use of unsafe PyTorch load or save
  Severity: MEDIUM, Confidence: HIGH
  Location: Line 90
  Code: torch.save(model.state_dict(), 'bigram_language_model.pth')



Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/chatbotpy.py:
Total lines of code: 35

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/models/language_model.py:
Total lines of code: 239

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/training/train_model.py:
Total lines of code: 88

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/utils/data_loader.py:
Total lines of code: 68

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.



Vulnerabilities detected. Please address these issues before merging.

Copy link

Security Scan Results

Advanced Vulnerability Scan Results for ./amir.py:
Total lines of code: 195

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./Chatbot_model/chat.py:
Total lines of code: 383

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./Chatbot_model/.ipynb_checkpoints/chat-checkpoint.py:
Total lines of code: 443

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/main.py:
Total lines of code: 99

Detected Vulnerabilities:
- Bandit: B614: Use of unsafe PyTorch load or save
  Severity: MEDIUM, Confidence: HIGH
  Location: Line 90
  Code: torch.save(model.state_dict(), 'bigram_language_model.pth')



Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/chatbotpy.py:
Total lines of code: 35

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/models/language_model.py:
Total lines of code: 239

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/training/train_model.py:
Total lines of code: 88

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.


Advanced Vulnerability Scan Results for ./chatbot_attention_mechanism/utils/data_loader.py:
Total lines of code: 68

Detected Vulnerabilities:
No high-confidence vulnerabilities detected.



Vulnerabilities detected. Please address these issues before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants