CloudVector API Shark - Coverage analysis plugin



{{ api_stats.get("total_apis_in_spec",0) }} APIs in SPEC
{{ api_stats.get("total_apis_captured",0) }} Unique APIs captured
{{ api_stats.get("total_api_events_captured",0) }} Total APIs captured
{{ api_stats.get("apis_in_spec_not_captured")|length }} API in SPEC but not captured

API Coverage details:

{% for api, details in api_details.items() %}

mandatory {% for param in details.get("mandatory_params_in_spec") %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% if details.get("mandatory") %} {% if details["mandatory"][param] == "recorded" and param not in ["_","coverage"] %} {% elif details["mandatory"][param] == "not recorded" and param not in ["_","coverage"] %} {% endif %} {% else %} {% endif %}  -  {% endfor %}
optional {% for param in details.get("optional_params_in_spec") %} {% if param not in ["_","coverage"] %} {{ param }} {% endif %} {% if details.get("optional") %} {% if details["optional"][param] == "recorded" and param not in ["_","coverage"] %} {% elif details["optional"][param] == "not recorded" and param not in ["_","coverage"] %} {% endif %} {% else %} {% endif %}  -  {% endfor %}
mandatory params (coverage: {{ details['coverage'] }}%)
optional params (coverage: {{ details['optional_coverage'] }}%)

{% endfor %}

Missing API(s) details:

{% for api in api_stats.get("apis_in_spec_not_captured") %} {{ api }} |  {% endfor %}


Missing Parameter(s) details:

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 1 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 2 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 3 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) == 4 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("mandatory_missing",[]) >= 5 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 1 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 2 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 3 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) == 4 %} {{ api }}  |  {% endif %} {% endfor %}

{% for api, details in api_details.items() %} {% if details.get("optional_missing",[]) >= 5 %} {{ api }}  |  {% endif %} {% endfor %}


Community Edition: {{ ce_url }}

Recording: {{ ce_recorder }}