Repository Analysis

mingrammer/diagrams

:art: Diagram as Code for prototyping cloud system architectures

20.2 Moderate AI signal View on GitHub
20.2
Adjusted Score
20.2
Raw Score
100%
Time Factor
2026-05-19
Last Push
42,307
Stars
Python
Language
35,526
Lines of Code
312
Files
250
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 235LOW 15

Pattern Findings

250 matches across 3 categories. Click a row to expand file-level details.

Self-Referential Comments235 hits · 705 pts
SeverityFileLineSnippet
MEDIUMdiagrams/openstack/containerservices.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/user.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/billing.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/sharedservices.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/deployment.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/workloadprovisioning.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/monitoring.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/lifecyclemanagement.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/baremetal.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/optimization.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/frontend.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/orchestration.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/operations.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/nfv.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/networking.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/packaging.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/storage.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/adjacentenablers.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/apiproxies.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/applicationlifecycle.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/multiregion.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/openstack/compute.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/outscale/security.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/outscale/storage.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/outscale/network.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/outscale/compute.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/elasticsearch.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/security.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/saas.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/observability.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/orchestration.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/beats.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/agent.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/elastic/enterprisesearch.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/intune.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/databases.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/web.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/monitor.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/containers.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/database.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/managementgovernance.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/security.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/mobile.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/other.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/hybridmulticloud.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/appservices.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/devops.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/aimachinelearning.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/integration.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/ml.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/menu.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/networking.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/storage.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/network.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/azureecosystem.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/blockchain.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/newicons.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/analytics.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/mixedreality.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
MEDIUMdiagrams/azure/migration.py1# This module is automatically generated by autogen.sh. DO NOT EDIT.
175 more matches not shown…
Hyper-Verbose Identifiers14 hits · 13 pts
SeverityFileLineSnippet
LOWtests/test_diagram.py246 def test_nodes_to_node_with_additional_attributes(self):
LOWtests/test_diagram.py260 def test_node_to_node_with_attributes(self):
LOWtests/test_diagram.py281 def test_node_to_node_with_additional_attributes(self):
LOWtests/test_diagram.py305 def test_nodes_to_node_with_attributes_loop(self):
LOWtests/test_diagram.py330 def test_nodes_to_node_with_attributes_bothdirectional(self):
LOWtests/test_diagram.py341 def test_nodes_to_node_with_attributes_bidirectional(self):
LOWtests/test_diagram.py352 def test_nodes_to_node_with_attributes_onedirectional(self):
LOWtests/test_diagram.py368 def test_nodes_to_node_with_additional_attributes_directional(self):
LOWtests/test_diagram.py407 def test_resources_exist_and_render(self):
LOWtests/test_c4.py60 def test_edge_without_constraint(self):
LOWtests/test_cli.py52 def test_run_with_multiple_files(self):
LOWtests/test_cli.py78 def test_run_with_no_arguments(self):
LOWtests/test_cli.py85 def test_run_with_nonexistent_file(self):
LOWtests/test_cli.py90 def test_run_with_invalid_python_code(self):
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippet
LOW.devcontainer/devcontainer.json1// For format details, see https://aka.ms/devcontainer.json. For config options, see the