AI Slop Code RIsk Monitor

FRRouting/frr

The FRRouting Protocol Suite

6.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for FRRouting/frr, a C project with 4,317 GitHub stars. SynthScan examined 1,587,439 lines of code across 4320 source files, recording 6390 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 6.4 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.4
Adjusted Signal
6.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
4.3K
Stars
C
Language
1.6M
Lines of Code
4.3K
Files
6.4K
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 13.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 4640 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.2/100 · LOW

Are imports declared and package/API names verified? 620 finding(s).

Agent Over-Engineering Ratio 16.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 3074 finding(s).

PR Review Velocity Impact 29.0/100 · MEDIUM

Which changes need focused human review? 6390 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 690MEDIUM 517LOW 5183

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 6390 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition426 hits · 2130 pts
SeverityFileLineSnippetContext
HIGH…/bgp_redistribute_table/test_bgp_redistribute_table.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGH…_per_nexthop_label/test_bgp_vpnv6_per_nexthop_label.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGH…_per_nexthop_label/test_bgp_vpnv4_per_nexthop_label.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGH…gp_vrf_lite_ipv6_rtadv/test_bgp_vrf_lite_ipv6_rtadv.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGHtests/topotests/bgp_vpnv4_gre/test_bgp_vpnv4_gre.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGHtests/topotests/bgp_evpn_rt5/test_bgp_evpn.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGHtests/topotests/bgp_evpn_rt5/test_bgp_evpn_v6_vtep.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGH…opotests/bgp_evpn_rt5_implied/test_bgp_evpn_implied.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGHtests/topotests/bgp_vpnv4_ebgp/test_bgp_vpnv4_ebgp.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGHtests/topotests/bgp_ipv6_rtadv/test_bgp_ipv6_rtadv.py0assert that all protocols have converged statuses as they depend on it.STRING
HIGH…pim6_static_rp_topo1/test_multicast_pim6_static_rp2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…pim6_static_rp_topo1/test_multicast_pim6_static_rp1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…st_pim_uplink_topo4/test_multicast_pim_uplink_topo4.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…st_pim_uplink_topo3/test_multicast_pim_uplink_topo3.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ticast_mld_join_topo1/test_multicast_mld_local_join.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…otests/bgp_multi_vrf_topo1/test_bgp_multi_vrf_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…/bgp_tcp_ip_transparent/test_bgp_tcp_ip_transparent.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…/multicast_pim_sm_topo1/test_multicast_pim_sm_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ts/bgp_communities_topo1/test_bgp_communities_topo2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…opotests/bgp_communities_topo1/test_bgp_communities.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…st_pim_uplink_topo2/test_multicast_pim_uplink_topo2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…/topotests/bgp_prefix_list_topo1/test_prefix_modify.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…s/topotests/bgp_prefix_list_topo1/test_prefix_lists.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ndr_test/test_pim_dr_nondr_with_static_routes_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…pim_dr_nondr_test/test_pim_dr_nondr_with_ospf_topo2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…dr_test/test_pim_dr_nondr_with_transit_router_topo3.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…tests/bgp_local_asn_dot/test_bgp_local_asn_dot_ecmp.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…otests/bgp_local_asn_dot/test_bgp_local_asn_dot_agg.py0sets up the pytest environment * `mod`: module nameSTRING
HIGHtests/topotests/bgp_tcp_mss/test_bgp_vrf_tcp_mss.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…nctionality_topo1/test_bgp_gr_functionality_topo1-2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…nctionality_topo1/test_bgp_gr_functionality_topo1-3.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…nctionality_topo1/test_bgp_gr_functionality_topo1-4.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…nctionality_topo1/test_bgp_gr_functionality_topo1-1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…opotests/bgp_route_aggregation/test_bgp_aggregation.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…p_multi_hop/test_bgp_recursive_route_ebgp_multi_hop.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…lways_compare_med/test_bgp_always_compare_med_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…multiple_links/test_example_topojson_multiple_links.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…st/test_topo_json_single_link/test_example_topojson.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…opo_json_single_link_loopback/test_example_topojson.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…potests/bgp_distance_change/test_bgp_admin_dist_vrf.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…s/topotests/bgp_distance_change/test_bgp_admin_dist.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…sts/topotests/bgp_gshut_topo1/test_ibgp_gshut_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…sts/topotests/bgp_gshut_topo1/test_ebgp_gshut_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…otests/ospfv3_basic_functionality/test_ospfv3_nssa2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…potests/ospfv3_basic_functionality/test_ospfv3_ecmp.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…pfv3_basic_functionality/test_ospfv3_authentication.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…ts/ospfv3_basic_functionality/test_ospfv3_routemaps.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…potests/ospfv3_basic_functionality/test_ospfv3_nssa.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…/ospfv3_basic_functionality/test_ospfv3_single_area.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…sts/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…sts/ospfv3_basic_functionality/test_ospfv3_rte_calc.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…_basic_functionality/test_ospfv3_asbr_summary_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…otests/bgp_multi_vrf_topo2/test_bgp_multi_vrf_topo2.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…/multicast_pim_sm_topo3/test_multicast_pim_sm_topo4.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…/multicast_pim_sm_topo3/test_multicast_pim_sm_topo3.py0sets up the pytest environment * `mod`: module nameSTRING
HIGHtests/topotests/bgp_route_map/test_route_map_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
HIGH…st_pim_uplink_topo1/test_multicast_pim_uplink_topo1.py0sets up the pytest environment * `mod`: module nameSTRING
366 more matches not shown…
Hyper-Verbose Identifiers1933 hits · 1755 pts
SeverityFileLineSnippetContext
LOW⚡tools/frr_babeltrace.py415def parse_frr_bfd_vrf_lifecycle(event):CODE
LOW⚡tools/frr_babeltrace.py425def parse_frr_bfd_dplane_init_error(event):CODE
LOW⚡tools/frr_babeltrace.py434def parse_frr_bfd_packet_validation_error(event):CODE
LOW⚡tools/frr_babeltrace.py622def parse_frr_bfd_echo_mode_change(event):CODE
LOW⚡tools/frr_babeltrace.py628def parse_frr_bfd_control_client_event(event):CODE
LOW⚡tools/frr_babeltrace.py634def parse_frr_bfd_dplane_session_update(event):CODE
LOW⚡tools/frr_babeltrace.py640def parse_frr_bfd_dplane_echo(event):CODE
LOW⚡tools/frr_babeltrace.py646def parse_frr_bfd_zebra_interface_event(event):CODE
LOW⚡tools/frr_babeltrace.py656def parse_frr_bfd_zebra_address_event(event):CODE
LOW⚡tools/frr_babeltrace.py855def parse_frr_bgp_evpn_mh_local_es_del_zrecv(event):CODE
LOW⚡tools/frr_babeltrace.py865def parse_frr_bgp_evpn_mh_local_es_evi_add_zrecv(event):CODE
LOW⚡tools/frr_babeltrace.py875def parse_frr_bgp_evpn_mh_local_es_evi_del_zrecv(event):CODE
LOW⚡tools/frr_babeltrace.py885def parse_frr_bgp_evpn_mh_es_evi_vtep_add(event):CODE
LOW⚡tools/frr_babeltrace.py1025def parse_frr_bgp_gr_eor_peer(event):CODE
LOW⚡tools/frr_babeltrace.py1035def parse_frr_bgp_gr_start_deferred_path_selection(event):CODE
LOW⚡tools/frr_babeltrace.py1041def parse_frr_bgp_gr_send_fbit_capability(event):CODE
LOW⚡tools/frr_babeltrace.py1047def parse_frr_bgp_gr_continue_deferred_path_selection(event):CODE
LOW⚡tools/frr_babeltrace.py1053def parse_frr_bgp_gr_zebra_update(event):CODE
LOW⚡tools/frr_babeltrace.py1059def parse_frr_zebra_gr_client_not_found(event):CODE
LOW⚡tools/frr_babeltrace.py1067def location_bgp_session_state_change(field_val):CODE
LOW⚡tools/frr_babeltrace.py1118def parse_frr_bgp_session_state_change(event):CODE
LOW⚡tools/frr_babeltrace.py1128def connection_status_to_string(field_val):CODE
LOW⚡tools/frr_babeltrace.py1133def parse_frr_bgp_connection_attempt(event):CODE
LOW⚡tools/frr_babeltrace.py1171def parse_frr_bgp_bgp_zebra_process_local_ip_prefix_zrecv(event):CODE
LOW⚡tools/frr_babeltrace.py1176def parse_frr_bgp_bgp_zebra_vxlan_flood_control(event):CODE
LOW⚡tools/frr_babeltrace.py1183def parse_frr_bgp_bgp_zebra_route_notify_owner(event):CODE
LOW⚡tools/frr_babeltrace.py1192def parse_frr_bgp_bgp_zebra_evpn_advertise_type(event):CODE
LOW⚡tools/frr_babeltrace.py1315def parse_frr_zebra_if_vrf_change(event):CODE
LOW⚡tools/frr_babeltrace.py1325def parse_frr_zebra_if_dplane_result(event):CODE
LOW⚡tools/frr_babeltrace.py1330def parse_frr_zebra_if_dplane_ifp_handling(event):CODE
LOW⚡tools/frr_babeltrace.py1394def parse_frr_bgp_router_id_update_zrecv(event):CODE
LOW⚡tools/frr_babeltrace.py1399def parse_frr_bgp_ug_bgp_aggregate_install(event):CODE
LOW⚡tools/frr_babeltrace.py1408def parse_frr_bgp_ug_create_delete(event):CODE
LOW⚡tools/frr_babeltrace.py1418def parse_frr_bgp_ug_subgroup_create_delete(event):CODE
LOW⚡tools/frr_babeltrace.py1428def parse_frr_bgp_ug_subgroup_add_remove_peer(event):CODE
LOW⚡tools/frr_babeltrace.py1438def parse_frr_bgp_upd_rmac_is_self_mac(event):CODE
LOW⚡tools/frr_babeltrace.py1443def parse_frr_bgp_attr_type_unsupported(event):CODE
LOW⚡tools/frr_babeltrace.py1465def parse_frr_bgp_upd_mp_unrecognized_afi_safi(event):CODE
LOW⚡tools/frr_babeltrace.py1475def parse_frr_zebra_get_iflink_speed(event):CODE
LOW⚡tools/frr_babeltrace.py1485def parse_frr_zebra_netlink_macfdb_change(event):CODE
LOW⚡tools/frr_babeltrace.py1493def parse_frr_zebra_netlink_neigh_update_msg_encode(event):CODE
LOW⚡tools/frr_babeltrace.py1502def parse_frr_zebra_netlink_nexthop_msg_encode_err(event):CODE
LOW⚡tools/frr_babeltrace.py1513def parse_frr_zebra_netlink_route_multipath_msg_encode(event):CODE
LOW⚡tools/frr_babeltrace.py1518def parse_frr_zebra_netlink_vrf_change(event):CODE
LOW⚡tools/frr_babeltrace.py1528def parse_frr_zebra_netlink_msg_err(event):CODE
LOW⚡tools/frr_babeltrace.py1555def parse_frr_zebra_interface_nhg_reinstall(event):CODE
LOW⚡tools/frr_babeltrace.py1565def parse_frr_zebra_zebra_nhg_dplane_result(event):CODE
LOW⚡tools/frr_babeltrace.py1570def parse_frr_zebra_nhg_install(event):CODE
LOW⚡tools/frr_babeltrace.py1580def parse_frr_zebra_zread_nhg_add(event):CODE
LOW⚡tools/frr_babeltrace.py1585def parse_frr_zebra_zread_nhg_del(event):CODE
LOW⚡tools/frr_babeltrace.py1590def parse_frr_zebra_dplane_vtep_add_del(event):CODE
LOW⚡tools/frr_babeltrace.py1639def parse_frr_zebra_zebra_vxlan_handle_vni_transition(event):CODE
LOW⚡tools/frr_babeltrace.py1649def parse_frr_zebra_zebra_vxlan_remote_macip_add(event):CODE
LOW⚡tools/frr_babeltrace.py1659def parse_frr_zebra_zebra_vxlan_remote_macip_del(event):CODE
LOW⚡tools/frr_babeltrace.py1664def parse_frr_zebra_zebra_vxlan_remote_vtep_add(event):CODE
LOW⚡tools/frr_babeltrace.py1669def parse_frr_zebra_zebra_vxlan_remote_vtep_del(event):CODE
LOW⚡tools/frr_babeltrace.py1674def parse_frr_zebra_evpn_dplane_remote_nh_add(event):CODE
LOW⚡tools/frr_babeltrace.py1679def parse_frr_zebra_evpn_dplane_remote_nh_del(event):CODE
LOW⚡tools/frr_babeltrace.py1684def parse_frr_zebra_evpn_dplane_remote_rmac_add(event):CODE
LOW⚡tools/frr_babeltrace.py1689def parse_frr_zebra_evpn_dplane_remote_rmac_del(event):CODE
1873 more matches not shown…
Decorative Section Separators395 hits · 1362 pts
SeverityFileLineSnippetContext
MEDIUMospfclient/ospfclient.py31# ------------------------COMMENT
MEDIUMospfclient/ospfclient.py33# ------------------------COMMENT
MEDIUMospfclient/ospfclient.py62# --------------------------COMMENT
MEDIUMospfclient/ospfclient.py64# --------------------------COMMENT
MEDIUMospfclient/ospfclient.py133# -------------------COMMENT
MEDIUMospfclient/ospfclient.py135# -------------------COMMENT
MEDIUMospfclient/ospfclient.py185# ------------------------------COMMENT
MEDIUMospfclient/ospfclient.py187# ------------------------------COMMENT
MEDIUMospfclient/ospfclient.py213# -----------------------------COMMENT
MEDIUMospfclient/ospfclient.py215# -----------------------------COMMENT
MEDIUMospfclient/ospfclient.py255# --------------COMMENT
MEDIUMospfclient/ospfclient.py257# --------------COMMENT
MEDIUMospfclient/ospfclient.py1089# ================COMMENT
MEDIUMospfclient/ospfclient.py1091# ================COMMENT
MEDIUMtests/topotests/conftest.py654 # -----------------------------------------------------COMMENT
MEDIUMtests/topotests/conftest.py656 # ---------------------------------------------------COMMENT
MEDIUMtests/topotests/ospfapi/test_ospf_clientapi.py53# ----------COMMENT
MEDIUMtests/topotests/ospfapi/test_ospf_clientapi.py55# ----------COMMENT
MEDIUMtests/topotests/ospfapi/test_ospf_clientapi.py93# ------------COMMENT
MEDIUMtests/topotests/ospfapi/test_ospf_clientapi.py95# ------------COMMENT
MEDIUMtests/topotests/rip_no_neighbor/test_rip_no_neighbor.py75# ===================COMMENT
MEDIUMtests/topotests/rip_no_neighbor/test_rip_no_neighbor.py77# ===================COMMENT
MEDIUM…otests/frr_reload_vrf/test_frr_reload_vrf_dataplane.py133# ---------------------------------------------------------------------------COMMENT
MEDIUM…otests/frr_reload_vrf/test_frr_reload_vrf_dataplane.py135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…otests/frr_reload_vrf/test_frr_reload_vrf_dataplane.py387# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…otests/frr_reload_vrf/test_frr_reload_vrf_dataplane.py389# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/vrf_knobs.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/vrf_knobs.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/vrf_knobs.py164# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/vrf_knobs.py180# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/vrf_knobs.py278# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/vrf_knobs.py280# ---------------------------------------------------------------------------COMMENT
MEDIUM…/topotests/frr_reload_vrf/test_frr_reload_vrf_scale.py341# ---------------------------------------------------------------------------COMMENT
MEDIUM…/topotests/frr_reload_vrf/test_frr_reload_vrf_scale.py343# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/dataplane_lib.py156# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/dataplane_lib.py158# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/dataplane_lib.py212# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/frr_reload_vrf/dataplane_lib.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/grpc_basic/test_basic_grpc.py122# ===================COMMENT
MEDIUMtests/topotests/grpc_basic/test_basic_grpc.py124# ===================COMMENT
MEDIUMtests/topotests/rip_distance/test_rip_distance.py75# ===================COMMENT
MEDIUMtests/topotests/rip_distance/test_rip_distance.py77# ===================COMMENT
MEDIUM…in_routes/test_bgp_gr_preserve_already_stale_routes.py66# ---------------------------------------------------------------------------COMMENT
MEDIUM…in_routes/test_bgp_gr_preserve_already_stale_routes.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…in_routes/test_bgp_gr_preserve_already_stale_routes.py135# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…in_routes/test_bgp_gr_preserve_already_stale_routes.py137# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/topotests/bgp_upa_no_zebra/test_bgp_upa_no_zebra.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/topotests/bgp_upa_no_zebra/test_bgp_upa_no_zebra.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/topotests/bgp_upa_no_zebra/test_bgp_upa_no_zebra.py114# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/topotests/bgp_upa_no_zebra/test_bgp_upa_no_zebra.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/topotests/msdp_topo5/test_msdp_topo5.py106# ===================COMMENT
MEDIUM⚡tests/topotests/msdp_topo5/test_msdp_topo5.py108# ===================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1697 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1699 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1793 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1795 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1842 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1844 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1900 # ========================================================================COMMENT
MEDIUM⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1902 # ========================================================================COMMENT
335 more matches not shown…
Over-Commented Block1296 hits · 1275 pts
SeverityFileLineSnippetContext
LOWversion.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp_packet.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp_main.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp_northbound.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp_zebra.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWvrrpd/vrrp.h21#include "lib/frrevent.h"COMMENT
LOWvrrpd/vrrp_vty.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWbfdd/bfd_packet.c21#endifCOMMENT
LOWbfdd/bfd_dplane_listener.c21#include <errno.h>COMMENT
LOWbfdd/bfd.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWbfdd/bfd.h21#include "lib/queue.h"COMMENT
LOWbfdd/bfd.h181 };COMMENT
LOWbfdd/bfd.h501/* Retrieved from ptm_timer.h from Cumulus PTM sources. */COMMENT
LOWbfdd/dplane.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWbfdd/dplane.c21COMMENT
LOWbfdd/bfdd_cli.c21#include "bfd.h"COMMENT
LOWbfdd/bfdd.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_te.c21#include "table.h"COMMENT
LOWospfd/ospf_te.c41#include "ospfd/ospf_lsdb.h"COMMENT
LOWospfd/ospf_vty.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_vty.c21#include <lib/json.h>COMMENT
LOWospfd/ospf_sr.c21#include <stdlib.h>COMMENT
LOWospfd/ospf_sr.c41#include "vty.h"COMMENT
LOWospfd/ospf_dump.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_dump.h21#define OSPF_DEBUG_DETAIL 0x04COMMENT
LOWospfd/ospf_dump.h41#define OSPF_DEBUG_ZEBRA 0x03COMMENT
LOWospfd/ospf_dump.h101COMMENT
LOWospfd/ospf_packet.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_packet.h21#define OSPF_LS_ACK_MIN_SIZE 0UCOMMENT
LOWospfd/ospf_ism.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_ism.h21#define ISM_DR 7COMMENT
LOWospfd/ospf_lsa.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_lsa.c21#include "network.h"COMMENT
LOWospfd/ospf_lsdb.h21 unsigned long total;COMMENT
LOWospfd/ospf_gr_helper.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_gr_helper.c21#include "lib/lib_errors.h"COMMENT
LOWospfd/ospf_auth.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_auth.c21#include "ospfd/ospfd.h"COMMENT
LOWospfd/ospf_api.h101#define MSG_SYNC_ISM 8COMMENT
LOWospfd/ospf_api.h181 uint8_t flags; /* delete flags */COMMENT
LOWospfd/ospf_route.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_nsm.h21 */COMMENT
LOWospfd/ospf_nsm.h41#define NSM_TwoWayReceived 3COMMENT
LOWospfd/ospf_ia.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_ia.c21#include "ospfd/ospf_asbr.h"COMMENT
LOWospfd/ospf_opaque.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_opaque.c21#include "sockunion.h" /* for inet_aton() */COMMENT
LOWospfd/ospf_interface.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_interface.h41 uint8_t P##__config : 1COMMENT
LOWospfd/ospf_ri.c21#include "stream.h"COMMENT
LOWospfd/ospf_spf.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_spf.c21#include "ospfd/ospf_ism.h"COMMENT
LOWospfd/ospf_zebra.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_zebra.c21#include "route_opaque.h"COMMENT
LOWospfd/ospfd.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospfd.h21#include "ospf_dump_api.h"COMMENT
LOWospfd/ospfd.h41/* For Interface authentication setting default */COMMENT
LOWospfd/ospf_ext.h61/* Flags to manage Extended Link/Prefix Opaque LSA */COMMENT
1236 more matches not shown…
Cross-Language Confusion186 hits · 954 pts
SeverityFileLineSnippetContext
HIGHtools/symalyzer.py355 sys.stderr.write("./configure && make need to have completed successfully\n")CODE
HIGHtests/topotests/conftest.py606 "\n make clean && make && sudo make install"CODE
HIGH…ests/all_protocol_startup/test_all_protocol_startup.py223 "SKIPPED final check on StdErr output: Disabled (TOPOTESTS_CHECK_STDERR undefined)\n"CODE
HIGH…ests/all_protocol_startup/test_all_protocol_startup.py2073 "SKIPPED final check on StdErr output: Disabled (TOPOTESTS_CHECK_STDERR undefined)\n"CODE
HIGH…ests/all_protocol_startup/test_all_protocol_startup.py2133 "SKIPPED final check on Memory leaks: Disabled (TOPOTESTS_CHECK_MEMLEAK undefined)\n"CODE
HIGHtests/topotests/bgp_io_cpu_spin/test_bgp_io_cpu_spin.py236 "cat {} 2>/dev/null || echo 'no log file'".format(log_file)CODE
HIGHtests/topotests/ospf_4222_recommendation_5/util_pcap.py68 out = router.cmd("which tcpdump || true")CODE
HIGHtests/topotests/ospf_4222_recommendation_5/util_pcap.py89 router.cmd(f"kill -TERM {pid} >/dev/null 2>&1 || true")CODE
HIGHtests/topotests/ospf_4222_recommendation_5/util_pcap.py94 router.cmd(f"kill -KILL {pid} >/dev/null 2>&1 || true")CODE
HIGH…endation_5/test_ospf_broadcast_router_static_pacing.py104 router.cmd(f"kill -TERM {pid} >/dev/null 2>&1 || true")STRING
HIGH…endation_5/test_ospf_broadcast_router_static_pacing.py105 router.cmd(f"kill -KILL {pid} >/dev/null 2>&1 || true")STRING
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py501 f"test -r {log_path} && echo OK || echo NOTOK"CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py518 tgen.net["r1"].cmd("tc qdisc del dev r1-eth0 root 2>/dev/null || true")CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py524 tgen.net["r1"].cmd("modprobe sch_netem 2>/dev/null || true")CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py538 tgen.net["r2"].cmd("tc qdisc del dev r2-eth0 root 2>/dev/null || true")CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py545 tgen.net[_rname].cmd(f"tc qdisc del dev {_rname}-eth0 root 2>/dev/null || true")CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py548 "vtysh -c 'conf t' -c 'router ospf' -c 'no redistribute connected' 2>/dev/null || true"CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py551 tgen.net["r1"].cmd(f"ip addr del 198.51.110.{i}/32 dev lo 2>/dev/null || true")CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py552 tgen.net["r1"].cmd(f"ip addr del 198.51.111.{i}/32 dev lo 2>/dev/null || true")CODE
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py679 tgen.net["r1"].cmd(f"ip addr del 198.51.120.{i}/32 dev lo 2>/dev/null || true")STRING
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py712 "vtysh -c 'conf t' -c 'router ospf' -c 'no redistribute connected' 2>/dev/null || true"STRING
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py715 tgen.net["r1"].cmd(f"ip addr del 198.51.120.{i}/32 dev lo 2>/dev/null || true")STRING
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py716 tgen.net["r1"].cmd("tc qdisc del dev r1-eth0 root 2>/dev/null || true")STRING
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py721 tgen.net["r2"].cmd("tc qdisc del dev r2-eth0 root 2>/dev/null || true")STRING
HIGH⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py723 tgen.net[_rname].cmd(f"tc qdisc del dev {_rname}-eth0 root 2>/dev/null || true")STRING
HIGH…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py117 router.cmd(f"kill -TERM {pid} >/dev/null 2>&1 || true")STRING
HIGH…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py118 router.cmd(f"kill -KILL {pid} >/dev/null 2>&1 || true")STRING
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py183 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sCODE
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py196 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sCODE
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py253 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sCODE
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py266 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sCODE
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py306 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sCODE
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py358 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sCODE
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py723 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sSTRING
HIGHtests/topotests/mgmt_tests/test_yang_mgmt.py799 "mgmt set-config /frr-routing:routing/control-plane-protocols/control-plane-protocol[type='frr-staticd:sSTRING
HIGH…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py102 out = router.cmd("pidof ospfd || true").strip()CODE
HIGH…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py110 "timeout %s vtysh -c 'show ip ospf neighbor json' >/dev/null; echo $?"CODE
HIGH…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py131 out = router.cmd("kill -0 %s 2>/dev/null; echo $?" % pid).strip()CODE
HIGH…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py187 err = router.cmd("cat %s 2>/dev/null || true" % shlex.quote(err_path))CODE
HIGH⚡…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py201 router.cmd("kill -TERM %s >/dev/null 2>&1 || true" % pid)CODE
HIGH⚡…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py203 router.cmd("kill -KILL %s >/dev/null 2>&1 || true" % pid)CODE
HIGH⚡…ts/topotests/ospf_dd_dup_hang/test_ospf_dd_dup_hang.py208 err = router.cmd("cat %s 2>/dev/null || true" % shlex.quote(err_path))CODE
HIGH…ecific_query_frag/test_pim_igmp_specific_query_frag.py265 f"wait $PID 2>/dev/null; "CODE
HIGH…/zebra_ipv6_dad/test_zebra_ipv6_tentative_connected.py116 r1.run("ip link del {} >/dev/null 2>&1 || true".format(IFNAME))CODE
HIGHtests/topotests/ripng_topo1/test_ripng_topo1.py346 "SKIPPED final check on StdErr output: Disabled (TOPOTESTS_CHECK_STDERR undefined)\n"CODE
HIGHtests/topotests/ripng_topo1/test_ripng_topo1.py375 "SKIPPED final check on Memory leaks: Disabled (TOPOTESTS_CHECK_MEMLEAK undefined)\n"CODE
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py590 h_src.run("ip addr del 10.10.4.2/24 dev h_src-eth0 || true")STRING
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py667 h_src.run(f"ip addr add {source}/16 dev h_src-eth1 || true")STRING
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py669 h_src.run(f"ip route replace {WRONGVIF_TUNNEL_GW}/32 dev h_src-eth1 || true")STRING
HIGH⚡…otests/pim_nocache_forward/test_pim_nocache_forward.py713 h_src.run(f"ip route del {WRONGVIF_TUNNEL_GW}/32 || true")STRING
HIGH⚡…otests/pim_nocache_forward/test_pim_nocache_forward.py714 h_src.run(f"ip addr del {source}/16 dev h_src-eth1 || true")STRING
HIGH⚡…otests/pim_nocache_forward/test_pim_nocache_forward.py715 h_src.run(f"ip addr del {source}/16 dev h_src-eth0 || true")STRING
HIGH⚡…otests/pim_nocache_forward/test_pim_nocache_forward.py716 h_src.run("ip addr add 10.10.4.2/24 dev h_src-eth0 || true")STRING
HIGH⚡…otests/pim_nocache_forward/test_pim_nocache_forward.py717 h_src.run("ip route replace default via 10.10.4.1 || true")STRING
HIGH…timer_af_delete/test_bgp_llgr_stale_timer_af_delete.py62 router.cmd("test -d /proc/$(cat /var/run/frr/bgpd.pid) && echo alive || true")CODE
HIGHtests/topotests/ldp_topo1/test_ldp_topo1.py950 "SKIPPED final check on StdErr output: Disabled (TOPOTESTS_CHECK_STDERR undefined)\n"CODE
HIGHtests/topotests/ldp_topo1/test_ldp_topo1.py982 "SKIPPED final check on Memory leaks: Disabled (TOPOTESTS_CHECK_MEMLEAK undefined)\n"CODE
HIGH⚡…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py661 "ip link set dev vlan1000 down 2>/dev/null || true",CODE
HIGH⚡…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py662 "ip link set dev vlan1001 down 2>/dev/null || true",CODE
HIGH⚡…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py663 "ip link set dev vlan1002 down 2>/dev/null || true",CODE
126 more matches not shown…
Verbosity Indicators387 hits · 427 pts
SeverityFileLineSnippetContext
LOWzebra/zebra_evpn_neigh.c1524 /* Before we program this in BGP, we need to check if MAC is locallyCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py84 # Step 1: Configure dynamic pacing with custom thresholds on r1's eth1COMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py121 # Step 1: Configure dynamic pacing with thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py162 # Step 1: Configure dynamic pacing with thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py200 # Step 1: Configure dynamic pacing with thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py287 # Step 1: Configure dynamic pacing WITHOUT custom thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py93 # Step 2: Verify configuration via show running-configSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py101 # Step 3: Write memorySTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py104 # Step 4: Read the saved config fileSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py130 # Step 2: Shutdown and no shutdown the interfaceSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py147 # Step 3: Verify configuration is still present after flapSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py171 # Step 2: Save configuration to frr.confSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py174 # Step 3: Kill and restart ospfd to re-read frr.conf from diskSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py183 # Step 4: Verify configuration is still active after daemon re-read frr.confSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py209 # Step 2: Verify configuration is presentSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py214 # Step 3: Remove threshold configurationSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py222 # Step 4: Verify thresholds are removed but dynamic mode remainsSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py295 # Step 2: Verify mode is in config but no threshold line is writtenSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py332 # Step 2: Verify pacing is configuredSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py339 # Step 3: Create some adjacency activity by flapping r2's interfaceSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py356 # Step 4: Disable adjacency pacingSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py364 # Step 5: Verify pacing is removed from configSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py369 # Step 6: Verify cleanup message in outputSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py374 # Step 7: Check OSPF interface to ensure neighbors can form properlySTRING
LOW…f_4222_recommendation_5/test_ospf_adj_pacing_config.py320 # Step 1: Configure dynamic pacing with custom thresholdsSTRING
LOW…f_4222_recommendation_5/test_ospf_adj_pacing_config.py400 # Step 8: Verify that we can re-enable pacing without issuesSTRING
LOW⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py510 # Step 1: Remove the tc qdisc bandwidth constraint for this test.COMMENT
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py572 # Step 2: Set thresholds H=15, L=6.COMMENT
LOW⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py671 # Step 6: Clear LSAs.STRING
LOW⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py681 # Step 7: All three neighbors must reach Full within 20s. Widened fromSTRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py596 # Step 3: Inject 100 external LSAs to drive U above H=15.STRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py607 # Step 4: Mark start of the congestion/recovery observation window, thenSTRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py653 # Step 5: Now wait for AIMD to detect congestion.STRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py696 # Step 8: Log check for kick diagnostic (informational only).STRING
LOW…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py86 # Step 1: verify the more-specific 10.0.0.0/24 is installed on r1.COMMENT
LOW…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py97 # Step 2: verify the aggregate is installed and aggregateCount=1.COMMENT
LOW⚡…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py117 # Step 3: withdraw 10.0.0.0/24 from r2.COMMENT
LOW⚡…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py126 # Step 4: verify the aggregate 10.0.0.0/8 is removed from r1.COMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py425 # Step 3: cycle proxy so pim_if_gm_proxy_init is called with the filter activeCOMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py435 # Step 4: only the two permitted groups should be proxiedCOMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py625 # Step 4: groups from r1-eth0 must not appearCOMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py630 # Step 5: remove the route-map; all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py473 # Step 5: add a new join that the route-map denies (225.9.9.9) — must NOT appearCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py504 # Step 6: remove the route-map and cycle proxy — all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py606 # Step 3: only groups reported on r1-eth2 should be proxiedCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py388 # Step 2: R5 withdraws BOTH constituents -> R4 withdraws to R1 -> R1 originates UPACOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py398 # Step 3: Check R1 originates UPA (R1 has the aggregate, loses ALL constituents)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py863 # Step 2: Verify R2 receives the static route (baseline check)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py879 # Step 3: Withdraw constituents to trigger UPACOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py891 # Step 4: Wait for UPA propagation to R2COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py895 # Step 5: THE TEST - Verify R2 has both route types with correct attributesCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1027 # Step 1: Verify baseline - R2 has 'neighbor upa'COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1035 # Step 2: Trigger UPA origination by withdrawing ALL constituents from R5COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1101 # Step 4: Dynamically DISABLE 'neighbor upa' for R2COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1159 # Step 7: Dynamically RE-ENABLE 'neighbor upa' for R2COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1383 # Step 4: Simulate BGP peer restart to trigger Graceful RestartCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1392 # Step 5: Verify routes are marked STALE on R1 (key GR behavior)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1430 # Step 6: CRITICAL GR TEST - Verify UPA is NOT originated while routes are STALECOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1467 # Step 7: Clear stale routes to trigger UPACOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1475 # Step 8: NOW verify UPA IS originated (after stale routes cleared)COMMENT
327 more matches not shown…
Structural Annotation Overuse382 hits · 420 pts
SeverityFileLineSnippetContext
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py84 # Step 1: Configure dynamic pacing with custom thresholds on r1's eth1COMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py121 # Step 1: Configure dynamic pacing with thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py162 # Step 1: Configure dynamic pacing with thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py200 # Step 1: Configure dynamic pacing with thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py287 # Step 1: Configure dynamic pacing WITHOUT custom thresholdsCOMMENT
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py93 # Step 2: Verify configuration via show running-configSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py101 # Step 3: Write memorySTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py104 # Step 4: Read the saved config fileSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py130 # Step 2: Shutdown and no shutdown the interfaceSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py147 # Step 3: Verify configuration is still present after flapSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py171 # Step 2: Save configuration to frr.confSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py174 # Step 3: Kill and restart ospfd to re-read frr.conf from diskSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py183 # Step 4: Verify configuration is still active after daemon re-read frr.confSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py209 # Step 2: Verify configuration is presentSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py214 # Step 3: Remove threshold configurationSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py222 # Step 4: Verify thresholds are removed but dynamic mode remainsSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py295 # Step 2: Verify mode is in config but no threshold line is writtenSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py332 # Step 2: Verify pacing is configuredSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py339 # Step 3: Create some adjacency activity by flapping r2's interfaceSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py356 # Step 4: Disable adjacency pacingSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py364 # Step 5: Verify pacing is removed from configSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py369 # Step 6: Verify cleanup message in outputSTRING
LOW⚡…f_4222_recommendation_5/test_ospf_adj_pacing_config.py374 # Step 7: Check OSPF interface to ensure neighbors can form properlySTRING
LOW…f_4222_recommendation_5/test_ospf_adj_pacing_config.py320 # Step 1: Configure dynamic pacing with custom thresholdsSTRING
LOW…f_4222_recommendation_5/test_ospf_adj_pacing_config.py400 # Step 8: Verify that we can re-enable pacing without issuesSTRING
LOW⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py510 # Step 1: Remove the tc qdisc bandwidth constraint for this test.COMMENT
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py572 # Step 2: Set thresholds H=15, L=6.COMMENT
LOW⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py671 # Step 6: Clear LSAs.STRING
LOW⚡…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py681 # Step 7: All three neighbors must reach Full within 20s. Widened fromSTRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py596 # Step 3: Inject 100 external LSAs to drive U above H=15.STRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py607 # Step 4: Mark start of the congestion/recovery observation window, thenSTRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py653 # Step 5: Now wait for AIMD to detect congestion.STRING
LOW…ndation_5/test_ospf_broadcast_router_dynamic_pacing.py696 # Step 8: Log check for kick diagnostic (informational only).STRING
LOW…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py86 # Step 1: verify the more-specific 10.0.0.0/24 is installed on r1.COMMENT
LOW…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py97 # Step 2: verify the aggregate is installed and aggregateCount=1.COMMENT
LOW⚡…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py117 # Step 3: withdraw 10.0.0.0/24 from r2.COMMENT
LOW⚡…regate_suppress_fib/test_bgp_aggregate_suppress_fib.py126 # Step 4: verify the aggregate 10.0.0.0/8 is removed from r1.COMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py425 # Step 3: cycle proxy so pim_if_gm_proxy_init is called with the filter activeCOMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py435 # Step 4: only the two permitted groups should be proxiedCOMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py625 # Step 4: groups from r1-eth0 must not appearCOMMENT
LOW⚡…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py630 # Step 5: remove the route-map; all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py473 # Step 5: add a new join that the route-map denies (225.9.9.9) — must NOT appearCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py504 # Step 6: remove the route-map and cycle proxy — all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py606 # Step 3: only groups reported on r1-eth2 should be proxiedCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py388 # Step 2: R5 withdraws BOTH constituents -> R4 withdraws to R1 -> R1 originates UPACOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py398 # Step 3: Check R1 originates UPA (R1 has the aggregate, loses ALL constituents)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py863 # Step 2: Verify R2 receives the static route (baseline check)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py879 # Step 3: Withdraw constituents to trigger UPACOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py891 # Step 4: Wait for UPA propagation to R2COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py895 # Step 5: THE TEST - Verify R2 has both route types with correct attributesCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1027 # Step 1: Verify baseline - R2 has 'neighbor upa'COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1035 # Step 2: Trigger UPA origination by withdrawing ALL constituents from R5COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1101 # Step 4: Dynamically DISABLE 'neighbor upa' for R2COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1159 # Step 7: Dynamically RE-ENABLE 'neighbor upa' for R2COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1383 # Step 4: Simulate BGP peer restart to trigger Graceful RestartCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1392 # Step 5: Verify routes are marked STALE on R1 (key GR behavior)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1430 # Step 6: CRITICAL GR TEST - Verify UPA is NOT originated while routes are STALECOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1467 # Step 7: Clear stale routes to trigger UPACOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1475 # Step 8: NOW verify UPA IS originated (after stale routes cleared)COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1525 # Step 9: Verify UPA propagates to R2 (has 'neighbor upa')COMMENT
322 more matches not shown…
Unused Imports434 hits · 420 pts
SeverityFileLineSnippetContext
LOWtools/frr-reload.py15CODE
LOWtools/frr-reload.py15CODE
LOWpython/callgraph-dot.py6CODE
LOWpython/tiabwarfo.py6CODE
LOWpython/xrelfo.py24CODE
LOWpython/runtests.py7CODE
LOWpython/clidef.py6CODE
LOWpython/clidef.py9CODE
LOWpython/clippy/__init__.py14CODE
LOWpython/clippy/__init__.py15CODE
LOWpython/clippy/__init__.py15CODE
LOWpython/clippy/__init__.py15CODE
LOWpython/clippy/__init__.py15CODE
LOWpython/clippy/elf.py24CODE
LOWtests/topotests/conftest.py35CODE
LOWtests/topotests/conftest.py35CODE
LOWtests/topotests/weighted_ecmp/test_weighted_ecmp.py14CODE
LOWtests/topotests/weighted_ecmp/test_weighted_ecmp.py25CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py31CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py37CODE
LOWtests/topotests/bfd_isis_topo1/test_bfd_isis_topo1.py61CODE
LOWtests/topotests/bfd_isis_topo1/test_bfd_isis_topo1.py62CODE
LOWtests/topotests/bgp_rpki_topo1/r1/rtrd.py6CODE
LOWtests/topotests/bgp_rpki_topo1/r1/rtrd.py8CODE
LOWtests/topotests/bgp_rpki_topo1/r3/rtrd.py6CODE
LOWtests/topotests/bgp_rpki_topo1/r3/rtrd.py8CODE
LOWtests/topotests/bgp_peer_solo/test_bgp_peer_solo.py5CODE
LOW…pim6_static_rp_topo1/test_multicast_pim6_static_rp2.py34CODE
LOW…gp_l3vpn_to_bgp_direct/test_bgp_l3vpn_to_bgp_direct.py17CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py24CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py24CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py30CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py31CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py31CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py31CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py31CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py39CODE
LOW…ts/topotests/bgp_srv6_unicast/test_bgp_srv6_unicast.py35CODE
LOWtests/topotests/tshark/test_tshark.py25CODE
LOWtests/topotests/tshark/test_tshark.py28CODE
LOWtests/topotests/tshark/test_tshark.py29CODE
LOW…p_prefer_global/test_bgp_ipv6_nexthop_prefer_global.py36CODE
LOW…oad_segment_routing/test_frr_reload_segment_routing.py29CODE
LOW…pref_add_substract/test_bgp_localpref_add_substract.py5CODE
LOW…imum_prefix_restart/test_bgp_maximum_prefix_restart.py38CODE
LOW…/bgp_tcp_ip_transparent/test_bgp_tcp_ip_transparent.py14CODE
LOWtests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py61CODE
LOWtests/topotests/bfd_ospf_topo1/test_bfd_ospf_topo1.py62CODE
LOW…otests/ospf6_loopback_cost/test_ospf6_loopback_cost.py22CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py28CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py38CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py40CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py40CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py40CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py40CODE
LOW…_routerid/test_bgp_bestpath_reason_compare_routerid.py43CODE
LOW…_routerid/test_bgp_bestpath_reason_compare_routerid.py49CODE
LOW…_routerid/test_bgp_bestpath_reason_compare_routerid.py50CODE
LOW…f_4222_recommendation_5/test_ospf_adj_pacing_config.py654CODE
LOWtests/topotests/mgmt_tests/test_yang_mgmt.py43CODE
374 more matches not shown…
Empty Error Handlers67 hits · 335 pts
SeverityFileLineSnippetContext
HIGHtools/frr_babeltrace.py137except:CODE
HIGHtools/frr-reload.py2015except ValueError:CODE
HIGHtools/frr-reload.py2021except ValueError:CODE
HIGHtools/frr-reload.py2519except OSError:CODE
HIGHtools/frr-reload.py802except ValueError:CODE
HIGHtools/frr-reload.py1128except ValueError:CODE
HIGHyang/embedmodel.py18except FileExistsError:CODE
HIGHpython/xref2vtysh.py25except ImportError:CODE
HIGHpython/clippy/__init__.py71except:CODE
HIGHtests/topotests/conftest.py43except (AttributeError, ImportError):CODE
HIGHtests/topotests/exec_log_durations.py76except ValueError:CODE
HIGH…ests/all_protocol_startup/test_all_protocol_startup.py1113except AttributeError:CODE
HIGHtests/topotests/bgp_io_cpu_spin/test_bgp_io_cpu_spin.py172except ValueError:CODE
HIGHtests/topotests/bgp_io_cpu_spin/peer1/bgp_sender.py158except BlockingIOError:CODE
HIGHtests/topotests/bgp_io_cpu_spin/peer1/bgp_sender.py177except BlockingIOError:CODE
HIGHtests/topotests/ospf_4222_recommendation_5/util_pcap.py40except OSError:CODE
HIGHtests/topotests/ospf_4222_recommendation_5/util_pcap.py45except OSError:CODE
HIGHtests/topotests/ospf_dd_dup_hang/capture_ospf.py60except Exception:CODE
HIGHtests/topotests/ospf_dd_dup_hang/capture_ospf.py68except OSError:CODE
HIGH…gp_evpn_ead_evi_routes/test_bgp_evpn_ead_evi_routes.py139except:CODE
HIGH…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1411except:CODE
HIGH…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1420except:CODE
HIGHtests/topotests/mgmt_notif/oper.py77except KeyError:CODE
HIGH…sts/ospfv3_basic_functionality/test_ospfv3_ecmp_lan.py144except OSError:CODE
HIGHtests/topotests/mgmt_fe_client/oper.py77except KeyError:CODE
HIGH…potests/ospf_basic_functionality/test_ospf_ecmp_lan.py136except OSError:CODE
HIGH…ts/topotests/ospf_basic_functionality/test_ospf_lan.py135except OSError:CODE
HIGHtests/topotests/fpm_testing_topo1/test_fpm_topo1.py390except (json.JSONDecodeError, KeyError, IndexError):CODE
HIGHtests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py148except OSError:CODE
HIGHtests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py147except OSError:CODE
HIGHtests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py147except OSError:CODE
HIGHtests/topotests/mgmt_regress/test_validate_fail.py45except Exception:CODE
HIGHtests/topotests/lib/topotest.py787except Exception:CODE
HIGHtests/topotests/lib/topotest.py812except Exception:CODE
HIGHtests/topotests/lib/topotest.py837except Exception:CODE
HIGHtests/topotests/lib/topotest.py1707except IOError:CODE
HIGHtests/topotests/lib/topotest.py2767except Exception:CODE
HIGHtests/topotests/lib/topotest.py1787except (subprocess.CalledProcessError, ValueError):CODE
HIGHtests/topotests/lib/topotest.py1814except (FileNotFoundError, ValueError):CODE
HIGHtests/topotests/lib/topotest.py1811except OSError:CODE
HIGHtests/topotests/lib/exa-receive.py52except KeyboardInterrupt:CODE
HIGHtests/topotests/lib/exa-receive.py54except IOError:CODE
HIGHtests/topotests/lib/mcast-tester.py251except socket.timeout:CODE
HIGHtests/topotests/lib/mcast-tester.py253except BlockingIOError:CODE
HIGHtests/topotests/lib/topogen.py610except Exception:CODE
HIGHtests/topotests/lib/topogen.py620except Exception:CODE
HIGHtests/topotests/lib/topogen.py630except Exception:CODE
HIGHtests/topotests/lib/ospf.py1741except KeyError:CODE
HIGH…_route_replay/test_zebra_reconnect_route_replay_vrf.py121except OSError:CODE
HIGH…ts/bfd_dplane_auth_topo1/test_bfd_dplane_auth_topo1.py116except FileNotFoundError:CODE
HIGHtests/topotests/mgmt_oper/oper.py77except KeyError:CODE
HIGHtests/topotests/ospf_rfc4222_r4/util_pcap.py40except OSError:CODE
HIGHtests/topotests/ospf_rfc4222_r4/util_pcap.py45except OSError:CODE
HIGH…ion_linkbw_as_test/test_bgp_confederation_linkbw_as.py296except:CODE
HIGH…ion_linkbw_as_test/test_bgp_confederation_linkbw_as.py601except:CODE
HIGHtests/topotests/munet/native.py32except ImportError:CODE
HIGHtests/topotests/munet/cleanup.py32except Exception:CODE
HIGHtests/topotests/munet/cleanup.py61except Exception:CODE
HIGHtests/topotests/munet/cli.py986except EOFError:CODE
HIGHtests/topotests/munet/base.py1113except ChildProcessError:CODE
7 more matches not shown…
Deep Nesting395 hits · 294 pts
SeverityFileLineSnippetContext
LOWtools/release_notes.py29CODE
LOWtools/symalyzer.py141CODE
LOWtools/generate_support_bundle.py24CODE
LOWtools/frr_babeltrace.py34CODE
LOWtools/frr_babeltrace.py51CODE
LOWtools/frr_babeltrace.py254CODE
LOWtools/frr_babeltrace.py268CODE
LOWtools/frr_babeltrace.py355CODE
LOWtools/frr-reload.py298CODE
LOWtools/frr-reload.py384CODE
LOWtools/frr-reload.py1109CODE
LOWtools/frr-reload.py1142CODE
LOWtools/frr-reload.py1186CODE
LOWtools/frr-reload.py1273CODE
LOWtools/frr-reload.py1304CODE
LOWtools/frr-reload.py1531CODE
LOWtools/frr-reload.py2027CODE
LOWtools/frr-reload.py2083CODE
LOWtools/frr-reload.py777CODE
LOWtools/frr-reload.py900CODE
LOWospfclient/ospfclient.py1105CODE
LOWpython/callgraph-dot.py75CODE
LOWpython/callgraph-dot.py219CODE
LOWpython/callgraph-dot.py253CODE
LOWpython/xref2vtysh.py240CODE
LOWpython/xref2vtysh.py366CODE
LOWpython/tiabwarfo.py24CODE
LOWpython/tiabwarfo.py131CODE
LOWpython/xrelfo.py332CODE
LOWpython/clidef.py289CODE
LOWpython/clippy/elf.py283CODE
LOWtests/topotests/conftest.py372CODE
LOWtests/topotests/conftest.py777CODE
LOWtests/topotests/exec_log_durations.py45CODE
LOWtests/topotests/exec_log_durations.py82CODE
LOWtests/topotests/analyze.py231CODE
LOWtests/topotests/analyze.py272CODE
LOWtests/topotests/analyze.py286CODE
LOW…/bgp_redistribute_table/test_bgp_redistribute_table.py82CODE
LOWtests/topotests/isis_lfa_topo1/test_isis_lfa_topo1.py66CODE
LOWtests/topotests/bgp_rpki_topo1/r1/rtrd.py26CODE
LOWtests/topotests/bgp_rpki_topo1/r1/rtrd.py280CODE
LOWtests/topotests/bgp_rpki_topo1/r3/rtrd.py26CODE
LOWtests/topotests/bgp_rpki_topo1/r3/rtrd.py280CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py201CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py317CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py266CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py334CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py400CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py440CODE
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py531CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py130CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py164CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py183CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py367CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py445CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py524CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py735CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py234CODE
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py264CODE
335 more matches not shown…
Self-Referential Comments95 hits · 244 pts
SeverityFileLineSnippetContext
MEDIUMtools/build-debian-package.sh6# This file is public domainCOMMENT
MEDIUMtools/checkpatch.pl817#Create a search pattern for all these functions to speed up a loop belowCOMMENT
MEDIUMtools/checkpatch.pl838#Create a search pattern for all these strings to speed up a loop belowCOMMENT
MEDIUMtools/checkpatch.pl873#Create a search pattern for all these strings to speed up a loop belowCOMMENT
MEDIUMtools/frr-reload.py1274 # This method handles deletion of bgp neighbor configs,COMMENT
MEDIUMtools/frr-reload.py1305 # This method handles deletion of bgp peer group config.COMMENT
MEDIUMtools/frr-reload.py1328 # Create a dictionary of config context (i.e. router bgp vrf x).COMMENT
MEDIUMtools/frr-reload.py3055 # Create a Config object from the config generated by newconfCOMMENT
MEDIUMtools/frr-reload.py3065 # Create a Config object from the running configCOMMENT
MEDIUMtests/topotests/weighted_ecmp/test_weighted_ecmp.py84 # Create a nexthop group with weighted nexthopsCOMMENT
MEDIUMtests/topotests/bgp_l3vpn_to_bgp_direct/customize.py102 # Create a switch with just one router connected to it to simulate aSTRING
MEDIUMtests/topotests/zebra_nhg_check/test_zebra_nhg.py165 # Create a function to check BGP peer status on r1COMMENT
MEDIUMtests/topotests/zebra_nhg_check/test_zebra_nhg.py213 # Create a function to check the route count on r2COMMENT
MEDIUMtests/topotests/zebra_nhg_check/test_zebra_nhg.py237 # Create a function to check the FIB route countCOMMENT
MEDIUMtests/topotests/zebra_nhg_check/test_zebra_nhg.py265 # Create a function to check the nexthop group member countCOMMENT
MEDIUMtests/topotests/zebra_nhg_check/test_zebra_nhg.py399 # Create a function to check BGP peer status on r2COMMENT
MEDIUMtests/topotests/zebra_nhg_check/test_zebra_nhg.py497 # Create a function to check that all BGP peers are establishedCOMMENT
MEDIUM…ebra_received_nhe_kept/test_zebra_received_nhe_kept.py33 # Create a switch to connect to r1's interfaceCOMMENT
MEDIUM…ests/all_protocol_startup/test_all_protocol_startup.py533 # Create a lib nexthop-groupCOMMENT
MEDIUM…ests/all_protocol_startup/test_all_protocol_startup.py1512 # Create a lib nexthop-groupCOMMENT
MEDIUM…/topotests/frr_reload_vrf/test_frr_reload_vrf_scale.py137 # Create the kernel VRFs up front so both individual and scale tests can useCOMMENT
MEDIUMtests/topotests/bgp_instance_del_test/customize.py110 # Create a switch with just one router connected to it to simulate aSTRING
MEDIUMtests/topotests/msdp_topo3/test_msdp_topo3.py61 # Create a host connected and direct at r1:COMMENT
MEDIUMtests/topotests/msdp_topo3/test_msdp_topo3.py67 # Create a host connected and direct at r2:COMMENT
MEDIUM…/topotests/bgp_rfapi_basic_sanity_config2/customize.py76 # Create a switch with just one router connected to it to simulate aSTRING
MEDIUM⚡…f_bgp_route_leak/test_ospf_multi_vrf_bgp_route_leak.py71 # Create a empty network for router 1STRING
MEDIUM⚡…f_bgp_route_leak/test_ospf_multi_vrf_bgp_route_leak.py75 # Create a empty network for router 2STRING
MEDIUM⚡…f_bgp_route_leak/test_ospf_multi_vrf_bgp_route_leak.py79 # Create a empty network for router 3STRING
MEDIUM⚡…f_bgp_route_leak/test_ospf_multi_vrf_bgp_route_leak.py83 # Create a empty network for router 4STRING
MEDIUM…tic_cross_vrf_nexthop/test_static_cross_vrf_nexthop.py43 # Create a switch with a link to r1 and r2COMMENT
MEDIUMtests/topotests/pim_acl/test_pim_acl.py115 # Create the main routerSTRING
MEDIUMtests/topotests/pim_acl/test_pim_acl.py118 # Create the PIM RP routersSTRING
MEDIUM…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py240 # Create the routersCOMMENT
MEDIUM⚡…multipoint/test_ospf_unnumbered_point_to_multipoint.py46 # Create a empty network for router 1COMMENT
MEDIUM⚡…multipoint/test_ospf_unnumbered_point_to_multipoint.py50 # Create a empty network for router 2COMMENT
MEDIUM⚡…multipoint/test_ospf_unnumbered_point_to_multipoint.py54 # Create a empty network for router 3COMMENT
MEDIUM…/topotests/ospf_rfc4222_dscp/test_ospf_rfc4222_dscp.py29 # Create a p2p connection between r1 and r2COMMENT
MEDIUMtests/topotests/ospf_unnumbered/test_ospf_unnumbered.py47 # Create a empty network for router 1COMMENT
MEDIUMtests/topotests/ospf_unnumbered/test_ospf_unnumbered.py51 # Create a empty network for router 2COMMENT
MEDIUMtests/topotests/bgp_rfapi_basic_sanity/customize.py76 # Create a switch with just one router connected to it to simulate aSTRING
MEDIUMtests/topotests/bgp_l3vpn_to_bgp_vrf/customize.py110 # Create a switch with just one router connected to it to simulate aSTRING
MEDIUM⚡tests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py97 # Create a empty network for router 1STRING
MEDIUM⚡tests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py101 # Create a empty network for router 2STRING
MEDIUM⚡tests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py105 # Create a empty network for router 3STRING
MEDIUM⚡tests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py109 # Create a empty network for router 4STRING
MEDIUMtests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py43 # Create a empty network for router 1COMMENT
MEDIUMtests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py47 # Create a empty network for router 2COMMENT
MEDIUM⚡tests/topotests/ospf6_topo1/test_ospf6_topo1.py92 # Create a empty network for router 1STRING
MEDIUM⚡tests/topotests/ospf6_topo1/test_ospf6_topo1.py96 # Create a empty network for router 2STRING
MEDIUM⚡tests/topotests/ospf6_topo1/test_ospf6_topo1.py100 # Create a empty network for router 3STRING
MEDIUM⚡tests/topotests/ospf6_topo1/test_ospf6_topo1.py104 # Create a empty network for router 4STRING
MEDIUMtests/topotests/bgp_peer_group/test_bgp_peer-group.py212 # Define the expected structure based on the exact JSON format sharedCOMMENT
MEDIUM…rfc4222_inactive_tmr/test_ospf_rfc4222_inactive_tmr.py27 # Create a p2p connection between r1 and r2COMMENT
MEDIUMtests/topotests/bgp_rr_ibgp/test_bgp_rr_ibgp_topo1.py141 # Create a test function that checks BGP neighbor stateCOMMENT
MEDIUMtests/topotests/bgp_rr_ibgp/test_bgp_rr_ibgp_topo1.py181 # Create a test function that compares router output with expected JSONCOMMENT
MEDIUM⚡…ts/topotests/ospf6_no_new_bdr/test_ospf6_no_new_bdr.py82 # Create a empty network for router 1STRING
MEDIUM⚡…ts/topotests/ospf6_no_new_bdr/test_ospf6_no_new_bdr.py86 # Create a empty network for router 2STRING
MEDIUM⚡…ts/topotests/ospf6_no_new_bdr/test_ospf6_no_new_bdr.py90 # Create a empty network for router 3STRING
MEDIUMtests/topotests/lib/micronet_compat.py36 # Create a new mounted FS for tracking nested network namespaces created by theCOMMENT
MEDIUM⚡tests/topotests/lib/exa-receive.py26 # Create a new log directoryCOMMENT
35 more matches not shown…
Excessive Try-Catch Wrapping236 hits · 233 pts
SeverityFileLineSnippetContext
LOWospfclient/ospfclient.py277 except Exception:CODE
LOWospfclient/ospfclient.py280 except Exception:CODE
LOWospfclient/ospfclient.py342 except Exception:CODE
LOWospfclient/ospfclient.py451 except Exception:CODE
LOWospfclient/ospfclient.py1168 except Exception as error:CODE
LOWospfclient/ospfclient.py1217 except Exception as error:CODE
LOWpython/clidef.py433 except Exception as e:CODE
MEDIUMpython/clidef.py289def process_one(fn, entry, cond_stack, ofd, dumpfd, all_defun, macros) -> int:CODE
LOWtests/topotests/conftest.py421 except Exception as e:CODE
LOWtests/topotests/ospfapi/ctester.py144 except Exception as error:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py178 except Exception as error:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py226 except Exception as error:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py448 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py932 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1147 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1631 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1746 except Exception:CODE
LOWtests/topotests/bgp_rpki_topo1/r1/rtrd.py45 except Exception as e:CODE
LOWtests/topotests/bgp_rpki_topo1/r3/rtrd.py45 except Exception as e:CODE
LOW…ests/all_protocol_startup/test_all_protocol_startup.py2051 except Exception as e:CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py365def check_route(router, route):CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py421def check_gr_config(router):CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py445def get_route_count(router):CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py488def check_bgp_daemon_stopped():CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py565def check_routes_not_deleted_on_r3():CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py640def check_bgp_daemon_ready():CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py737def verify_bgp_running_simple():CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py789def check_route(router, route):CODE
MEDIUM…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py829def check_gr_status_comprehensive():CODE
LOW⚡…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py185 except Exception as e:CODE
LOW⚡…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py635 except Exception as e:CODE
LOW⚡…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py646 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py256 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py261 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py387 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py434 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py465 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py561 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py598 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py675 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py706 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py729 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py760 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py811 except Exception as e:CODE
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py896 except Exception as e:CODE
LOW⚡…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py171 except Exception as e:STRING
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py103 except Exception as e:STRING
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py136 except Exception as e:STRING
LOWtests/topotests/ospf_dd_dup_hang/capture_ospf.py47 except Exception as exc:CODE
LOWtests/topotests/ospf_dd_dup_hang/capture_ospf.py60 except Exception:CODE
LOW…ts/topotests/pim_igmp_specific_query_frag/igmp_send.py81 except Exception as e:CODE
LOW…ts/topotests/pim_igmp_specific_query_frag/igmp_send.py102 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py382 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py873 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1094 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1153 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1377 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1457 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1517 except Exception as e:CODE
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1541 except Exception as e:CODE
176 more matches not shown…
Redundant / Tautological Comments114 hits · 156 pts
SeverityFileLineSnippetContext
LOWtools/checkpatch.pl2944# Check if the commit log has what seems like a diff which can confuse patchCOMMENT
LOWtools/checkpatch.pl3022# Check if MAINTAINERS is being updated. If so, there's probably no need toCOMMENT
LOWtools/checkpatch.pl3207# Check if the commit log is in a possible stack dumpCOMMENT
LOWtools/checkpatch.pl3365# Check if it's the start of a commit logCOMMENT
LOWtools/checkpatch.pl3375# Check if there is UTF-8 in a commit log when a mail header has explicitlyCOMMENT
LOWtools/checkpatch.pl4361 # Check if either of these lines are modified, elseCOMMENT
LOWtools/frr-reload.py2170 # Check if key chain is being deleted:COMMENT
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1029 # Check if "ospf" appears in the client listCOMMENT
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py170 # Check if r2's peer is in Established stateCOMMENT
LOWtests/topotests/zebra_nhg_check/test_zebra_nhg.py408 # Check if peer name matches r2-eth[30-49]COMMENT
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py119 # Check if there are any router failuresCOMMENT
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py145 # Check if we're entering the target VRF sectionCOMMENT
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py148 # Check if we've exited the current router bgp sectionCOMMENT
LOW…_vrf_import_route_map/test_bgp_vrf_import_route_map.py355 # Check if metric was set correctlyCOMMENT
LOWtests/topotests/tshark/test_tshark.py84 # Check if there are ICMP echo requestsCOMMENT
LOWtests/topotests/tshark/test_tshark.py96 # Check if there are ICMP echo repliesCOMMENT
LOW⚡…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py642 # Check if BGP daemon is respondingCOMMENT
LOW⚡…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py650 # Check if BGP has router identifier (indicates config loaded)COMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py239 # Check if we have at least 2 established neighborsCOMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py370 # Check if routes exist based on actual JSON structureCOMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py494 # Check if we have a valid router ID - if not, daemon is stopped/not readyCOMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py549 # Check if next hop is R2 (192.168.12.2)COMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py586 # Check if next hop is R2 (192.168.23.2)COMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py682 # Check if we have expected neighbors configuredCOMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py794 # Check if routes exist based on actual JSON structureCOMMENT
LOW…otests/bgp_gr_fib_suppress/test_bgp_gr_fib_suppress.py91 # Check if modes match expectationsSTRING
LOW…_peer/test_bgp_conditional_advertisement_track_peer.py100 # Verify if R2 does not send any routes to R1COMMENT
LOW…_peer/test_bgp_conditional_advertisement_track_peer.py137 # Verify if R1 received 172.16.255.2/32 from R2. The conditional-advertisementCOMMENT
LOW⚡…_peer/test_bgp_conditional_advertisement_track_peer.py266 # Verify if R2 is not sending any routes to R1 againCOMMENT
LOW…f_4222_recommendation_5/test_ospf_adj_pacing_config.py385 # Check if there are any neighborsSTRING
LOWtests/topotests/ospf6_topo2/test_ospf6_topo2.py292 # Check if r3 reinstalled 2001:db8:500::/64 using the new metric type and value.STRING
LOWtests/topotests/ospf6_topo2/test_ospf6_topo2.py356 # Check if areaScopedLinkStateDb exists and has elementsSTRING
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py665 # Verify if that rp is installedCOMMENT
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py688 # Verify if that rp is installedCOMMENT
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py797 # Verify if b1 is still chosen as bsrCOMMENT
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py802 # Verify if that rp is installedCOMMENT
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py885 # Verify if RP with highest hash value is chosenCOMMENT
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py965 # Verify if bsrp list is same across f1, i1 and l1COMMENT
LOW…ests/multicast_pim_bsm_topo2/test_mcast_pim_bsmp_02.py1014 # Verify if bsrp list is same across f1, i1 and l1COMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1439 # Check if any path has UPA ExtComCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1620 # Check if any path has UPA ExtCom from selfCOMMENT
LOW⚡…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1623 # Check if locally originatedCOMMENT
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py209 # Check if BGP is running and advertising networksCOMMENT
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py761 # Check if this is IPv4 UnicastCOMMENT
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py788 # Check if groups exist at allCOMMENT
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py795 # Check if all peers were foundCOMMENT
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1314 # Check if GR is enabled/advertisedCOMMENT
LOW…tic_cross_vrf_nexthop/test_static_cross_vrf_nexthop.py104 # Check if there are any nexthops at allCOMMENT
LOW⚡…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py679 # Check if NHG ID is stableCOMMENT
LOW⚡…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py684 # Check if route count is stableCOMMENT
LOW⚡…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py691 # Check if ECMP paths reduced by 1 (one link down)COMMENT
LOW…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py761 # Check if ECMP paths are back to full (64 paths after link up)COMMENT
LOW…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py833 # Check if ECMP paths reduced by 16 (16 links down)COMMENT
LOW…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py906 # Check if ECMP paths are back to full (64 paths after partial links up)COMMENT
LOW…/bgp_dampening_per_peer/test_bgp_dampening_per_peer.py146 # Check if the route becomes non-dampened again after some time.COMMENT
LOWtests/topotests/ldp_topo1/test_ldp_topo1.py581 # Check if we have implicit labels - if not, then remove them from referenceSTRING
LOW…otests/bgp_bestpath_reason/test_bgp_bestpath_reason.py125 # Check if all expected peers are establishedCOMMENT
LOW…ts/topotests/srv6_sid_manager/test_srv6_sid_manager.py232 # Verify if kernel requirements are satisfiedCOMMENT
LOW…ute_map_forwarding/test_ospfv3_route_map_forwarding.py209 # Check if sequence number has incrementedCOMMENT
LOW…ute_map_forwarding/test_ospfv3_route_map_forwarding.py324 # Check if sequence number has incrementedCOMMENT
54 more matches not shown…
Docstring Block Structure10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHospfclient/ospfclient.py419Send a message to OSPF API and wait for error code reply. Args: mt: the messaage type mSTRING
HIGHtests/topotests/lib/fe_client.py341Lock or unlock a datastore. Args: lock (bool, optional): Whether to lock (True) or unlock (False) tSTRING
HIGHtests/topotests/lib/fe_client.py374Retrieve data from the mgmtd server based on an XPath query. Args: query (str): The XPath query strSTRING
HIGHtests/topotests/lib/fe_client.py429Receive a notification message, optionally setting up XPath filters first. Args: xpaths (list of stSTRING
HIGH…ion_linkbw_as_test/test_bgp_confederation_linkbw_as.py147 Validate that link-bandwidth extended community has the correct AS number. Args: router: Router objectSTRING
HIGHtests/topotests/munet/base.py707Create a spawned send/expect process. Args: cmd: list of args to exec/popen with, or an already opeSTRING
HIGHtests/topotests/munet/base.py816Create an async spawned send/expect process. Args: cmd: list of args to exec/popen with, or an alreSTRING
HIGHtests/topotests/munet/base.py1290Execute a command. Raise an exception on errors. Args: cmd: `str` or `list` of the command to execuSTRING
HIGHtests/topotests/munet/base.py1376Execute a command. Raise an exception on errors. Args: cmd: `str` or `list` of the command to execuSTRING
HIGHtests/topotests/munet/mutest/__main__.py106Find the common root between 2 paths. Args: path1: Path path2: Path Returns: Path: the STRING
AI Slop Vocabulary7 hits · 15 pts
SeverityFileLineSnippetContext
LOWtests/topotests/analyze.py427 # User doesn't want to save results just use them inplaceCOMMENT
MEDIUMtests/topotests/mgmt_notif/test_ds_notify.py240 # When we do have a comprehensive solution (1) for the multiple ownerCOMMENT
MEDIUM…sts/topotests/bfd_auth_replay_topo1/bfd_replay_peer.py97 # refuses for the meticulous variant.COMMENT
LOW…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py324 # Fallback: just return what we were givenCOMMENT
LOWtests/topotests/lib/topotest.py2178 # specific daemons, otherwise just use our own configuration.COMMENT
MEDIUM…fd_ospf_quicknbr_topo1/test_bfd_ospf_quicknbr_topo1.py204 # Extract the interface stanza in a simple, robust way.COMMENT
LOW⚡tests/topotests/munet/base.py2044 # unet.nsenter_fork == False and we just use p.pid as it will be unshare afterCOMMENT
Slop Phrases7 hits · 9 pts
SeverityFileLineSnippetContext
LOWospfd/ospf_apiserver.c1555 options |= OSPF_OPTION_O; /* Don't forget to set option bit */CODE
LOWospfclient/ospf_apiclient.c711 /* Don't forget to free this message */COMMENT
LOWzebra/zebra_cli.c2721 "%% Don't forget to save your configuration.\n");CODE
MEDIUMtests/topotests/munet/mutest/userapi.py42Here's a simple example test script which first checks that a specific forwarding entrySTRING
LOWpimd/mtracebis_netlink.c373 /* Don't forget to skip that message. */COMMENT
LOWpimd/pim_join.c687 * **NOTE** Don't forget to converge `grp->joins` and `grp->prunes` toCOMMENT
LOWpimd/pim_cmd.c1561 * Don't forget to call `nb_cli_apply_changes` after this.COMMENT
AI Structural Patterns11 hits · 9 pts
SeverityFileLineSnippetContext
LOW…f_bgp_route_leak/test_ospf_multi_vrf_bgp_route_leak.py158CODE
LOW…opotests/bgp_snmp_bgp4v2mib/test_bgp_snmp_bgp4v2mib.py266CODE
LOW…opotests/bgp_snmp_bgp4v2mib/test_bgp_snmp_bgp4v2mib.py292CODE
LOWtests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py130CODE
LOWtests/topotests/lib/bgp_rfc7606.py54CODE
LOWtests/topotests/lib/common_config.py3196CODE
LOWtests/topotests/lib/packet/igmp/igmp_v3.py34CODE
LOWtests/topotests/munet/native.py869CODE
LOWtests/topotests/munet/parser.py293CODE
LOWtests/topotests/munet/base.py1414CODE
LOWtests/topotests/munet/base.py1887CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHinclude/linux/netlink.h59#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */COMMENT
Modern Structural Boilerplate6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/topotests/bgp_rpki_topo1/r1/rtrd.py53 def set_serial(self, serial: int) -> None:CODE
LOWtests/topotests/bgp_rpki_topo1/r3/rtrd.py53 def set_serial(self, serial: int) -> None:CODE
LOW…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py102logger = logging.getLogger(__name__)STRING
LOWtests/topotests/munet/__init__.py24__all__ = [CODE
LOWtests/topotests/munet/cli.py42logger = logging.getLogger(__name__)CODE
LOWdoc/developer/conf.py22logger = logging.getLogger(__name__)CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/topotests/rip_bfd_topo1/test_rip_bfd_topo1.py93 def test_function():CODE
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlib/northbound_grpc.cpp83 assert(id); // TODO: implement an algorithm for unique reusableCODE