Repository Analysis

FRRouting/frr

The FRRouting Protocol Suite

6.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of FRRouting/frr, a C project with 4,273 GitHub stars. SynthScan v2.0 examined 1,563,349 lines of code across 4209 source files, recording 6089 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 6.1 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.1
Adjusted Score
6.1
Raw Score
100%
Time Factor
2026-08-28
Last Push
4.3K
Stars
C
Language
1.6M
Lines of Code
4.2K
Files
6.1K
Pattern Hits
2026-08-29
Scan Date
0.14
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 605MEDIUM 490LOW 4994

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 6089 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-File Repetition425 hits · 2125 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
365 more matches not shown…
Hyper-Verbose Identifiers1777 hits · 1620 pts
SeverityFileLineSnippetContext
LOWtools/frr_babeltrace.py415def parse_frr_bfd_vrf_lifecycle(event):CODE
LOWtools/frr_babeltrace.py425def parse_frr_bfd_dplane_init_error(event):CODE
LOWtools/frr_babeltrace.py434def parse_frr_bfd_packet_validation_error(event):CODE
LOWtools/frr_babeltrace.py622def parse_frr_bfd_echo_mode_change(event):CODE
LOWtools/frr_babeltrace.py628def parse_frr_bfd_control_client_event(event):CODE
LOWtools/frr_babeltrace.py634def parse_frr_bfd_dplane_session_update(event):CODE
LOWtools/frr_babeltrace.py640def parse_frr_bfd_dplane_echo(event):CODE
LOWtools/frr_babeltrace.py646def parse_frr_bfd_zebra_interface_event(event):CODE
LOWtools/frr_babeltrace.py656def parse_frr_bfd_zebra_address_event(event):CODE
LOWtools/frr_babeltrace.py842def parse_frr_bgp_evpn_mh_local_es_del_zrecv(event):CODE
LOWtools/frr_babeltrace.py852def parse_frr_bgp_evpn_mh_local_es_evi_add_zrecv(event):CODE
LOWtools/frr_babeltrace.py862def parse_frr_bgp_evpn_mh_local_es_evi_del_zrecv(event):CODE
LOWtools/frr_babeltrace.py872def parse_frr_bgp_evpn_mh_es_evi_vtep_add(event):CODE
LOWtools/frr_babeltrace.py1012def parse_frr_bgp_gr_eor_peer(event):CODE
LOWtools/frr_babeltrace.py1022def parse_frr_bgp_gr_start_deferred_path_selection(event):CODE
LOWtools/frr_babeltrace.py1028def parse_frr_bgp_gr_send_fbit_capability(event):CODE
LOWtools/frr_babeltrace.py1034def parse_frr_bgp_gr_continue_deferred_path_selection(event):CODE
LOWtools/frr_babeltrace.py1040def parse_frr_bgp_gr_zebra_update(event):CODE
LOWtools/frr_babeltrace.py1046def parse_frr_zebra_gr_client_not_found(event):CODE
LOWtools/frr_babeltrace.py1054def location_bgp_session_state_change(field_val):CODE
LOWtools/frr_babeltrace.py1105def parse_frr_bgp_session_state_change(event):CODE
LOWtools/frr_babeltrace.py1115def connection_status_to_string(field_val):CODE
LOWtools/frr_babeltrace.py1120def parse_frr_bgp_connection_attempt(event):CODE
LOWtools/frr_babeltrace.py1158def parse_frr_bgp_bgp_zebra_process_local_ip_prefix_zrecv(event):CODE
LOWtools/frr_babeltrace.py1163def parse_frr_bgp_bgp_zebra_vxlan_flood_control(event):CODE
LOWtools/frr_babeltrace.py1170def parse_frr_bgp_bgp_zebra_route_notify_owner(event):CODE
LOWtools/frr_babeltrace.py1179def parse_frr_bgp_bgp_zebra_evpn_advertise_type(event):CODE
LOWtools/frr_babeltrace.py1302def parse_frr_zebra_if_vrf_change(event):CODE
LOWtools/frr_babeltrace.py1312def parse_frr_zebra_if_dplane_result(event):CODE
LOWtools/frr_babeltrace.py1317def parse_frr_zebra_if_dplane_ifp_handling(event):CODE
LOWtools/frr_babeltrace.py1381def parse_frr_bgp_router_id_update_zrecv(event):CODE
LOWtools/frr_babeltrace.py1386def parse_frr_bgp_ug_bgp_aggregate_install(event):CODE
LOWtools/frr_babeltrace.py1395def parse_frr_bgp_ug_create_delete(event):CODE
LOWtools/frr_babeltrace.py1405def parse_frr_bgp_ug_subgroup_create_delete(event):CODE
LOWtools/frr_babeltrace.py1415def parse_frr_bgp_ug_subgroup_add_remove_peer(event):CODE
LOWtools/frr_babeltrace.py1425def parse_frr_bgp_upd_rmac_is_self_mac(event):CODE
LOWtools/frr_babeltrace.py1430def parse_frr_bgp_attr_type_unsupported(event):CODE
LOWtools/frr_babeltrace.py1452def parse_frr_bgp_upd_mp_unrecognized_afi_safi(event):CODE
LOWtools/frr_babeltrace.py1462def parse_frr_zebra_get_iflink_speed(event):CODE
LOWtools/frr_babeltrace.py1472def parse_frr_zebra_netlink_macfdb_change(event):CODE
LOWtools/frr_babeltrace.py1480def parse_frr_zebra_netlink_neigh_update_msg_encode(event):CODE
LOWtools/frr_babeltrace.py1489def parse_frr_zebra_netlink_nexthop_msg_encode_err(event):CODE
LOWtools/frr_babeltrace.py1500def parse_frr_zebra_netlink_route_multipath_msg_encode(event):CODE
LOWtools/frr_babeltrace.py1505def parse_frr_zebra_netlink_vrf_change(event):CODE
LOWtools/frr_babeltrace.py1515def parse_frr_zebra_netlink_msg_err(event):CODE
LOWtools/frr_babeltrace.py1542def parse_frr_zebra_interface_nhg_reinstall(event):CODE
LOWtools/frr_babeltrace.py1552def parse_frr_zebra_zebra_nhg_dplane_result(event):CODE
LOWtools/frr_babeltrace.py1557def parse_frr_zebra_nhg_install(event):CODE
LOWtools/frr_babeltrace.py1567def parse_frr_zebra_zread_nhg_add(event):CODE
LOWtools/frr_babeltrace.py1572def parse_frr_zebra_zread_nhg_del(event):CODE
LOWtools/frr_babeltrace.py1577def parse_frr_zebra_dplane_vtep_add_del(event):CODE
LOWtools/frr_babeltrace.py1626def parse_frr_zebra_zebra_vxlan_handle_vni_transition(event):CODE
LOWtools/frr_babeltrace.py1636def parse_frr_zebra_zebra_vxlan_remote_macip_add(event):CODE
LOWtools/frr_babeltrace.py1646def parse_frr_zebra_zebra_vxlan_remote_macip_del(event):CODE
LOWtools/frr_babeltrace.py1651def parse_frr_zebra_zebra_vxlan_remote_vtep_add(event):CODE
LOWtools/frr_babeltrace.py1656def parse_frr_zebra_zebra_vxlan_remote_vtep_del(event):CODE
LOWtools/frr_babeltrace.py1661def parse_frr_zebra_evpn_dplane_remote_nh_add(event):CODE
LOWtools/frr_babeltrace.py1666def parse_frr_zebra_evpn_dplane_remote_nh_del(event):CODE
LOWtools/frr_babeltrace.py1671def parse_frr_zebra_evpn_dplane_remote_rmac_add(event):CODE
LOWtools/frr_babeltrace.py1676def parse_frr_zebra_evpn_dplane_remote_rmac_del(event):CODE
1717 more matches not shown…
Decorative Section Separators375 hits · 1296 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
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
MEDIUMtests/topotests/msdp_topo5/test_msdp_topo5.py106# ===================COMMENT
MEDIUMtests/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
MEDIUM…_same_prefix_flush/test_ospf_nssa_same_prefix_flush.py71# ===================COMMENT
MEDIUM…_same_prefix_flush/test_ospf_nssa_same_prefix_flush.py73# ===================COMMENT
MEDIUM…/bgp_evpn_rmac_conflict/test_bgp_evpn_rmac_conflict.py88 # ------------------------------------------------------------------COMMENT
MEDIUM…/bgp_evpn_rmac_conflict/test_bgp_evpn_rmac_conflict.py90 # ------------------------------------------------------------------COMMENT
MEDIUM…/bgp_evpn_rmac_conflict/test_bgp_evpn_rmac_conflict.py117 # ------------------------------------------------------------------COMMENT
MEDIUM…/bgp_evpn_rmac_conflict/test_bgp_evpn_rmac_conflict.py119 # ------------------------------------------------------------------COMMENT
MEDIUM…opotests/rip_default_metric/test_rip_default_metric.py74# ===================COMMENT
MEDIUM…opotests/rip_default_metric/test_rip_default_metric.py76# ===================COMMENT
MEDIUM…ts/topotests/rip_del_instance/test_rip_del_instance.py67# ===================COMMENT
MEDIUM…ts/topotests/rip_del_instance/test_rip_del_instance.py69# ===================COMMENT
MEDIUM…/topotests/rip_split_horizon/test_rip_split_horizon.py64# ===================STRING
MEDIUM…/topotests/rip_split_horizon/test_rip_split_horizon.py66# ===================STRING
MEDIUM…ests/bgp_unnumbered_subif/test_bgp_unnumbered_subif.py110# ---------------------------------------------------------------------------COMMENT
MEDIUM…ests/bgp_unnumbered_subif/test_bgp_unnumbered_subif.py112# ---------------------------------------------------------------------------COMMENT
MEDIUM…ests/bgp_unnumbered_subif/test_bgp_unnumbered_subif.py149# ---------------------------------------------------------------------------COMMENT
MEDIUM…ests/bgp_unnumbered_subif/test_bgp_unnumbered_subif.py151# ---------------------------------------------------------------------------COMMENT
315 more matches not shown…
Over-Commented Block1285 hits · 1271 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 uint64_t time_sent_sec;COMMENT
LOWbfdd/bfd.h501#define BFD_DEFDETECTMULT 3COMMENT
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
1225 more matches not shown…
Cross-Language Confusion169 hits · 885 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…ecific_query_frag/test_pim_igmp_specific_query_frag.py200 f"wait $PID 2>/dev/null; "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.py872 "SKIPPED final check on StdErr output: Disabled (TOPOTESTS_CHECK_STDERR undefined)\n"CODE
HIGHtests/topotests/ldp_topo1/test_ldp_topo1.py904 "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
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py664 "ip link set dev vlan1003 down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py665 "ip link set dev vlan4000 down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py666 "ip link set dev vlan4001 down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py667 "ip link del vlan1000 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py668 "ip link del vlan1001 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py669 "ip link del vlan1002 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py670 "ip link del vlan1003 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py671 "ip link del vlan4000 2>/dev/null || true",CODE
109 more matches not shown…
Verbosity Indicators387 hits · 429 pts
SeverityFileLineSnippetContext
LOWzebra/zebra_evpn_neigh.c1501 /* 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 · 421 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 Imports430 hits · 416 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…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
LOWtests/topotests/mgmt_tests/test_yang_mgmt.py43CODE
370 more matches not shown…
Deep Nesting383 hits · 286 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.py249CODE
LOWtools/frr-reload.py335CODE
LOWtools/frr-reload.py1057CODE
LOWtools/frr-reload.py1090CODE
LOWtools/frr-reload.py1134CODE
LOWtools/frr-reload.py1221CODE
LOWtools/frr-reload.py1252CODE
LOWtools/frr-reload.py1479CODE
LOWtools/frr-reload.py1961CODE
LOWtools/frr-reload.py2017CODE
LOWtools/frr-reload.py728CODE
LOWtools/frr-reload.py851CODE
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.py285CODE
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.py102CODE
LOWtests/topotests/analyze.py154CODE
LOWtests/topotests/analyze.py168CODE
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
323 more matches not shown…
Self-Referential Comments90 hits · 234 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.py1222 # This method handles deletion of bgp neighbor configs,COMMENT
MEDIUMtools/frr-reload.py1253 # This method handles deletion of bgp peer group config.COMMENT
MEDIUMtools/frr-reload.py1276 # Create a dictionary of config context (i.e. router bgp vrf x).COMMENT
MEDIUMtools/frr-reload.py2522 # Create a Config object from the config generated by newconfCOMMENT
MEDIUMtools/frr-reload.py2532 # 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
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
MEDIUMtests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py97 # Create a empty network for router 1STRING
MEDIUMtests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py101 # Create a empty network for router 2STRING
MEDIUMtests/topotests/ospf6_topo1_vrf/test_ospf6_topo1_vrf.py105 # Create a empty network for router 3STRING
MEDIUMtests/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
MEDIUMtests/topotests/ospf6_topo1/test_ospf6_topo1.py92 # Create a empty network for router 1STRING
MEDIUMtests/topotests/ospf6_topo1/test_ospf6_topo1.py96 # Create a empty network for router 2STRING
MEDIUMtests/topotests/ospf6_topo1/test_ospf6_topo1.py100 # Create a empty network for router 3STRING
MEDIUMtests/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
MEDIUMtests/topotests/lib/micronet_compat.py36 # Create a new mounted FS for tracking nested network namespaces created by theCOMMENT
MEDIUMtests/topotests/lib/exa-receive.py26 # Create a new log directoryCOMMENT
MEDIUMtests/topotests/example_test/test_template.py53 # Create a p2p connection between r1 and r2COMMENT
MEDIUMtests/topotests/example_test/test_template.py56 # Create a switch with one router connected to it to simulate a empty network.COMMENT
MEDIUMtests/topotests/example_test/test_template.py60 # Create a p2p connection between r1 and r2COMMENT
MEDIUM…_point_to_multipoint/test_ospf6_point_to_multipoint.py92 # Create a empty network for router 1STRING
30 more matches not shown…
Excessive Try-Catch Wrapping229 hits · 228 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
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
LOW…ts/topotests/pim_igmp_specific_query_frag/igmp_send.py54 except Exception as e:CODE
LOW…ts/topotests/pim_igmp_specific_query_frag/igmp_send.py75 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
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1566 except Exception as e:CODE
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1599 except Exception as e:CODE
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1629 except Exception as e:CODE
LOW…/topotests/bgp_upa_multipeer/test_bgp_upa_multipeer.py1742 except Exception as e:CODE
169 more matches not shown…
Redundant / Tautological Comments114 hits · 155 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.py2086 # 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.py97 # Verify if R2 does not send any routes to R1COMMENT
LOW…_peer/test_bgp_conditional_advertisement_track_peer.py134 # Verify if R1 received 172.16.255.2/32 from R2. The conditional-advertisementCOMMENT
LOW…_peer/test_bgp_conditional_advertisement_track_peer.py263 # 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 Vocabulary6 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/topotests/analyze.py308 # 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
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.py2158 # 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
LOWtests/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