Code Quality
Weight 20%avg_cc=2.42, max_cc=84, duplication=70.71%, dead_code=9
| Primary Language | Python |
|---|---|
| Primary Framework | Unknown |
| Technology Stack | Python, CI/CD |
| Default Branch | main |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:12:54 AM |
| Source Repository | Open on GitHub |
b172347594a4634517f925f9e30522fe987dbb9czulip/python-zulip-apib172347594a4634517f925f9e30522fe987dbb9cgraph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
send_message["send_message : CLI_COMMAND"]:::atlasJob
upload_file["upload_file : CLI_COMMAND"]:::atlasJob
update_message["update_message : CLI_COMMAND"]:::atlasJob
delete_message["delete_message : CLI_COMMAND"]:::atlasJob
add_reaction["add_reaction : CLI_COMMAND"]:::atlasJob
remove_reaction["remove_reaction : CLI_COMMAND"]:::atlasJob
get_message_history["get_message_history : CLI_COMMAND"]:::atlasJob
mark_all_as_read["mark_all_as_read : CLI_COMMAND"]:::atlasJob
get_subscriptions["get_subscriptions : CLI_COMMAND"]:::atlasJob
handle_bot["handle_bot : API_ROUTE"]:::atlasJob
repo_root(["zulip/python-zulip-api"]):::atlasRoot
repo_root --> add_reaction
repo_root --> delete_message
repo_root --> get_message_history
repo_root --> get_subscriptions
repo_root --> handle_bot
repo_root --> mark_all_as_read
repo_root --> remove_reaction
repo_root --> send_message
repo_root --> update_message
repo_root --> upload_file
zulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip/zulip/cli.py): CLI_COMMANDzulip_botserver/zulip_botserver/server.py): API_ROUTEF (51.90/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 32.00 | 0.20 | avg_cc=2.42, max_cc=84, duplication=70.71%, dead_code=9 |
| Dependency Health | B | 85.00 | 0.15 | dependencies=38, outdated=0, vulnerable=0, has_lockfile=False |
| Maintainability | F | 37.00 | 0.15 | avg_cognitive=2.31, max_cognitive=199, fitness_violations=3, oversized_files=8 |
| Pipeline Health | A | 90.00 | 0.15 | workflows=2, operational_antipatterns=4, parallel_branches=True |
| Security | F | 16.00 | 0.20 | vulnerabilities=0, secrets=4, pipeline_security_findings=1 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (70.71) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (199.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (84.0) exceeds policy threshold (20.0).ATRUSS-SEC-005 at zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:13 ("consumer_key": "abcd***REDACTED***",)ATRUSS-SEC-005 at zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:14 ("consumer_secret": "aabb***REDACTED***",)ATRUSS-SEC-005 at zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:15 ("access_token": "1234***REDACTED***",)ATRUSS-SEC-005 at zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:16 ("access_token_secret": "yf0S***REDACTED***",)Trac 1.2.2 (PyPI, zulip/integrations/trac/requirements.txt)apiai * (PyPI, zulip_bots/zulip_bots/bots/dialogflow/requirements.txt)chess * (PyPI, zulip_bots/zulip_bots/bots/chessbot/requirements.txt)crayons * (PyPI, requirements.txt)dropbox * (PyPI, zulip_bots/zulip_bots/bots/dropbox_share/requirements.txt)feedparser 6.0.10 (PyPI, zulip/integrations/rss/requirements.txt)gitlint 0.13.0 (PyPI, requirements.txt)google-api-python-client 1.7.9 (PyPI, zulip/integrations/google/requirements.txt)google-auth-httplib2 0.0.3 (PyPI, zulip/integrations/google/requirements.txt)google-auth-oauthlib 0.4.0 (PyPI, zulip/integrations/google/requirements.txt)irc 20.3 (PyPI, zulip/integrations/bridge_with_irc/requirements.txt)litellm * (PyPI, zulip/integrations/litellm/requirements.txt)matrix-nio * (PyPI, zulip/integrations/bridge_with_matrix/requirements.txt)mercurial 4.3.1 (PyPI, zulip/integrations/hg/requirements.txt)mock * (PyPI, requirements.txt)mypy 1.8.0 (PyPI, requirements.txt)platformdirs * (PyPI, zulip/integrations/codebase/requirements.txt)platformdirs * (PyPI, zulip/integrations/log2zulip/requirements.txt)pysvn 0.1.0 (PyPI, zulip/integrations/svn/requirements.txt)pytest * (PyPI, requirements.txt)pytest-cov * (PyPI, requirements.txt)python-dateutil * (PyPI, zulip/integrations/google/requirements.txt)pytz * (PyPI, zulip/integrations/google/requirements.txt)ruff 0.2.2 (PyPI, requirements.txt)setuptools * (PyPI, requirements.txt)simple_salesforce * (PyPI, zulip_bots/zulip_bots/bots/salesforce/requirements.txt)slack-sdk 3.11.2 (PyPI, zulip/integrations/bridge_with_slack/requirements.txt)sleekxmpp 1.3.2 (PyPI, zulip/integrations/jabber/requirements.txt)tweepy * (PyPI, zulip_bots/zulip_bots/bots/twitpost/requirements.txt)twine * (PyPI, requirements.txt)flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_zulip["zulip"]:::atlasCategory
mod_zulip_bots["zulip_bots"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_zulip_ci_yml_tests["zulip-ci.yml#tests"]:::atlasJob
job_zulip_tests_yml_static_analysis["zulip-tests.yml#static-analysis"]:::atlasJob
job_zulip_tests_yml_test["zulip-tests.yml#test"]:::atlasJob
end
mod_zulip -->|BUILT_BY| job_zulip_ci_yml_tests
mod_zulip -->|BUILT_BY| job_zulip_tests_yml_static_analysis
mod_zulip -->|BUILT_BY| job_zulip_tests_yml_test
mod_zulip_bots -->|BUILT_BY| job_zulip_ci_yml_tests
zulip (code_module) —[BUILT_BY]—> zulip-ci.yml#tests (ci_job)zulip (code_module) —[BUILT_BY]—> zulip-tests.yml#static-analysis (ci_job)zulip (code_module) —[BUILT_BY]—> zulip-tests.yml#test (ci_job)zulip_bots (code_module) —[BUILT_BY]—> zulip-ci.yml#tests (ci_job)graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["zulip/python-zulip-api"]):::atlasRoot
subgraph Zulip_server_CI_0["Zulip server CI"]
direction TB
0_tests["tests"]:::atlasJob
end
pipeline_root --> 0_tests
subgraph build_1["build"]
direction TB
1_static_analysis["static-analysis"]:::atlasJob
1_test["test"]:::atlasJob
end
pipeline_root --> 1_static_analysisavg_cc=2.42, max_cc=84, duplication=70.71%, dead_code=9
vulnerabilities=0, secrets=4, pipeline_security_findings=1
avg_cognitive=2.31, max_cognitive=199, fitness_violations=3, oversized_files=8
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=38, outdated=0, vulnerable=0, has_lockfile=False
workflows=2, operational_antipatterns=4, parallel_branches=True
format_commit_messagezulip/integrations/git/zulip_git_config.py:40hookzulip/integrations/hg/zulip_changegroup.py:107deployment_notice_destinationzulip/integrations/openshift/zulip_openshift_config.py:25get_global_timezulip/integrations/openshift/zulip_openshift_config.py:36format_deployment_messagezulip/integrations/openshift/zulip_openshift_config.py:52api_show_userszulip_bots/zulip_bots/bots/idonethis/idonethis.py:66draw_gridzulip_bots/zulip_bots/bots/merels/libraries/interface.py:14reset_gamezulip_bots/zulip_bots/bots/merels/libraries/mechanics.py:315get_bots_directory_pathzulip_bots/zulip_bots/lib.py:30ATRUSS-ARCH-005COMPLEXITY_THRESHOLDzulip/integrations/perforce/git_p4.py:1Repository duplication_pct (70.71) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDzulip/integrations/perforce/git_p4.py:1Repository max_cognitive_complexity (199.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDzulip/integrations/perforce/git_p4.py:1Repository max_cyclomatic_complexity (84.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 38 parsed dependencies.
ATRUSS-SEC-005zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:13High-entropy credential candidate (H=4.64 > 4.5) detected.
"consumer_key": "abcd***REDACTED***",ATRUSS-SEC-005zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:14High-entropy credential candidate (H=4.64 > 4.5) detected.
"consumer_secret": "aabb***REDACTED***",ATRUSS-SEC-005zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:15High-entropy credential candidate (H=4.58 > 4.5) detected.
"access_token": "1234***REDACTED***",ATRUSS-SEC-005zulip_bots/zulip_bots/bots/twitpost/test_twitpost.py:16High-entropy credential candidate (H=4.72 > 4.5) detected.
"access_token_secret": "yf0S***REDACTED***",Single-package repository or no monorepo workspace manifests.