Repository Analysis

FRRouting/frr

The FRRouting Protocol Suite

5.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of FRRouting/frr, a C project with 4,205 GitHub stars. SynthScan v2.0 examined 1,527,471 lines of code across 4115 source files, recording 5379 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 5.5 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).

5.5
Adjusted Score
5.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.2K
Stars
C
Language
1.5M
Lines of Code
4.1K
Files
5.4K
Pattern Hits
2026-07-14
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 572MEDIUM 362LOW 4445

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 5379 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 Repetition421 hits · 2105 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
361 more matches not shown…
Hyper-Verbose Identifiers1494 hits · 1386 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
1434 more matches not shown…
Over-Commented Block1277 hits · 1264 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.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_DEFREQUIREDMINRX (300 * 1000) /* microseconds. */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_MSG_HELLO 1 /* OSPF Hello Message. */COMMENT
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.h1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_nsm.h21#define NSM_Exchange 7COMMENT
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_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
LOWospfd/ospf_ism.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
LOWospfd/ospf_gr.c1// SPDX-License-Identifier: GPL-2.0-or-laterCOMMENT
1217 more matches not shown…
Decorative Section Separators248 hits · 830 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.py95# ------------COMMENT
MEDIUMtests/topotests/ospfapi/test_ospf_clientapi.py97# ------------COMMENT
MEDIUMtests/topotests/rip_no_neighbor/test_rip_no_neighbor.py71# ===================COMMENT
MEDIUMtests/topotests/rip_no_neighbor/test_rip_no_neighbor.py73# ===================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
MEDIUMtests/topotests/msdp_topo5/test_msdp_topo5.py106# ===================COMMENT
MEDIUMtests/topotests/msdp_topo5/test_msdp_topo5.py108# ===================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
MEDIUM…otests/bgp_link_state_srv6/test_bgp_link_state_srv6.py87# ---------------------------------------------------------------------------COMMENT
MEDIUM…otests/bgp_link_state_srv6/test_bgp_link_state_srv6.py89# ---------------------------------------------------------------------------COMMENT
MEDIUM…otests/bgp_link_state_srv6/test_bgp_link_state_srv6.py164# ---------------------------------------------------------------------------COMMENT
MEDIUM…otests/bgp_link_state_srv6/test_bgp_link_state_srv6.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/topotests/lib/topogen.py252 # ---------------------------COMMENT
MEDIUMtests/topotests/lib/topogen.py254 # ---------------------------COMMENT
MEDIUMtests/topotests/lib/topogen.py264 # ------------------------------COMMENT
MEDIUMtests/topotests/lib/topogen.py266 # ------------------------------COMMENT
MEDIUMtests/topotests/lib/topogen.py272 # ----------------COMMENT
MEDIUMtests/topotests/lib/topogen.py274 # ----------------COMMENT
MEDIUMtests/topotests/lib/fe_client.py40# =====================COMMENT
MEDIUMtests/topotests/lib/fe_client.py42# =====================COMMENT
188 more matches not shown…
Cross-Language Confusion141 hits · 742 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/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.py585 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.py662 h_src.run(f"ip addr add {source}/16 dev h_src-eth1 || true")STRING
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py664 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.py708 h_src.run(f"ip route del {WRONGVIF_TUNNEL_GW}/32 || true")STRING
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py709 h_src.run(f"ip addr del {source}/16 dev h_src-eth1 || true")STRING
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py710 h_src.run(f"ip addr del {source}/16 dev h_src-eth0 || true")STRING
HIGH…otests/pim_nocache_forward/test_pim_nocache_forward.py711 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.py712 h_src.run("ip route replace default via 10.10.4.1 || true")STRING
HIGH…gp_evpn_rt2_local_leak/test_bgp_evpn_rt2_local_leak.py145 | with_entries(select(.value != null))CODE
HIGH…gp_evpn_rt2_local_leak/test_bgp_evpn_rt2_local_leak.py164 | with_entries(select(.value != null))CODE
HIGH…gp_evpn_rt2_local_leak/test_bgp_evpn_rt2_local_leak.py185 | with_entries(select(.value != null))CODE
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.py837 "SKIPPED final check on StdErr output: Disabled (TOPOTESTS_CHECK_STDERR undefined)\n"CODE
HIGHtests/topotests/ldp_topo1/test_ldp_topo1.py869 "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
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py672 "ip link del vlan4001 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py674 "ip link set dev vxlan48 down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py675 "ip link del vxlan48 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py676 "ip link set dev br_default down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py677 "ip link del br_default 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py679 "ip link set dev vrf1 down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py680 "ip link set dev vrf2 down 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py681 "ip link del vrf1 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py682 "ip link del vrf2 2>/dev/null || true",CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py742 router.run("/sbin/sysctl -w net.ipv6.conf.all.accept_dad=0 2>/dev/null || true")CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py744 "/sbin/sysctl -w net.ipv6.conf.all.dad_transmits=0 2>/dev/null || true"CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py747 "/sbin/sysctl -w net.ipv6.conf.default.accept_dad=0 2>/dev/null || true"CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py750 "/sbin/sysctl -w net.ipv6.conf.default.dad_transmits=0 2>/dev/null || true"CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py767 "/sbin/sysctl -w net.ipv6.conf.{}.accept_dad=0 2>/dev/null || true".format(CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py772 "/sbin/sysctl -w net.ipv6.conf.{}.dad_transmits=0 2>/dev/null || true".format(CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py450 node.run("ip link del br_default 2>/dev/null || true")CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py473 node.run("ip link del vxlan48 2>/dev/null || true")CODE
HIGH…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py557 node.run(f"ip link add {vrf} type vrf table {table} 2>/dev/null || true")CODE
81 more matches not shown…
Unused Imports416 hits · 404 pts
SeverityFileLineSnippetContext
LOWtools/fixup-deprecated.py10CODE
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/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
LOW…ts/topotests/bgp_srv6_unicast/test_bgp_srv6_unicast.py41CODE
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
LOWtests/topotests/mgmt_tests/test_yang_mgmt.py43CODE
LOWtests/topotests/mgmt_tests/test_yang_mgmt.py43CODE
LOWtests/topotests/pim_mrib/test_pim_mrib.py14CODE
356 more matches not shown…
Verbosity Indicators306 hits · 346 pts
SeverityFileLineSnippetContext
LOWzebra/zebra_evpn_neigh.c1501 /* Before we program this in BGP, we need to check if MAC is locallyCOMMENT
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.py357 # 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.py367 # Step 4: only the two permitted groups should be proxiedCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py532 # Step 4: groups from r1-eth0 must not appearCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py537 # Step 5: remove the route-map; all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py386 # 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.py417 # Step 6: remove the route-map and cycle proxy — all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py513 # Step 3: only groups reported on r1-eth2 should be proxiedCOMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py134 # Step 4: add a second more-specific 10.1.2.0/24 from r2.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py144 # Step 5: verify aggregateCount=2 for both aggregates.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py271 # Step 10: withdraw 10.2.0.0/16 from r2. count_8 drops to 0.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py280 # Step 11: verify the outer /8 aggregate is also removed.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py83 # Step 1: verify the more-specific 10.1.1.0/24 is installed on r1.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py94 # Step 2: verify the inner aggregate 10.1.0.0/16 has aggregateCount=1.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py112 # Step 3: verify the outer aggregate 10.0.0.0/8 has aggregateCount=1.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py183 # Step 6: add 10.2.0.0/16 from r2. This prefix falls under the /8COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py195 # Step 7: verify count_16=2, count_8=3.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py230 # Step 8: withdraw both /24s from r2. count_16 drops to 0 (inner /16COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py242 # Step 9: verify the inner /16 aggregate is removed and the outer /8COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py466 # Step 1: Create PEER-GROUP2 without GSHUTCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py628 # Step 1: Enable GSHUT on PEER-GROUP1COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py212 # Step 1: Wait for initial BGP convergenceCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py228 # Step 2: Verify initial route state without GSHUTCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py239 # Step 3: Enable GSHUT on peer groupCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py261 # Step 4: Disable GSHUTCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py318 # Step 1: Enable GSHUT at global levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py339 # Step 2: Enable GSHUT at neighbor levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py358 # Step 3: Disable GSHUT at global levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py398 # Step 4: Enable GSHUT at peer-group levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py417 # Step 5: Disable GSHUT at neighbor levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py436 # Step 6: Disable GSHUT at peer-group levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py496 # Step 2: Enable GSHUT on PEER-GROUP1COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py513 # Step 3: Move both R1 and R2 from PEER-GROUP1 to PEER-GROUP2COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py569 # Step 4: Move both R1 and R2 back to PEER-GROUP1COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py606 # Step 5: CleanupCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py645 # Step 2: Restart FRR on R2COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py838 # Step 1: Get initial BGP session stateCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py858 # Step 2: Enable GSHUT and verify stabilityCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py890 # Step 3: Disable GSHUT and verify stabilityCOMMENT
LOWtests/topotests/lib/evpn.py2008 # Step 1: Get route information with JSON outputCOMMENT
LOWtests/topotests/lib/evpn.py2026 # Step 2: Extract nhid (nexthop group ID) from routeCOMMENT
LOWtests/topotests/lib/evpn.py2038 # Step 3: Get nexthop group detailsCOMMENT
LOWtests/topotests/lib/evpn.py2056 # Step 4: Extract individual nexthop IDs from groupCOMMENT
LOWtests/topotests/lib/evpn.py2073 # Step 5: Query each individual nexthop and extract gateway IPCOMMENT
LOWtests/topotests/lib/evpn.py2125 # Step 6: Compare actual nexthops with expectedCOMMENT
LOWtests/topotests/bgp_auth/test_bgp_auth5.py126 # Step 2: Verify peers are established in VRF blueCOMMENT
LOWtests/topotests/bgp_auth/test_bgp_auth5.py136 # Step 3: Configure peers in default VRFCOMMENT
LOWtests/topotests/bgp_auth/test_bgp_auth5.py156 # Step 4: Verify peers are established in all VRFsCOMMENT
LOWtests/topotests/static_weight/test_static_weight.py78 # Step 1: single nexthop (expected weight: 255)COMMENT
LOWtests/topotests/static_weight/test_static_weight.py92 # Step 2: add second nexthop (expected weights: 25 and 255)STRING
LOWtests/topotests/static_weight/test_static_weight.py106 # Step 3: update first nexthop (expected weights: 127 and 255)STRING
LOWtests/topotests/static_weight/test_static_weight.py121 # Step 4: remove second nexthop (expected weight: 255)STRING
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1474 # Step 1: Remove static routes from tor-21COMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py2052 # Step 3: Verify RMAC update and check for duplicatesCOMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1341 # Step 1: Without config - VRF-leaked path uses source AS (long), so doesn't winCOMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1352 # Step 2: Enable 'bgp bestpath use-imported-attributes'COMMENT
246 more matches not shown…
Structural Annotation Overuse301 hits · 339 pts
SeverityFileLineSnippetContext
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.py357 # 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.py367 # Step 4: only the two permitted groups should be proxiedCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py532 # Step 4: groups from r1-eth0 must not appearCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py537 # Step 5: remove the route-map; all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py386 # 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.py417 # Step 6: remove the route-map and cycle proxy — all groups should returnCOMMENT
LOW…/topotests/pim_basic_igmp_proxy/test_pim_igmp_proxy.py513 # Step 3: only groups reported on r1-eth2 should be proxiedCOMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py134 # Step 4: add a second more-specific 10.1.2.0/24 from r2.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py144 # Step 5: verify aggregateCount=2 for both aggregates.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py271 # Step 10: withdraw 10.2.0.0/16 from r2. count_8 drops to 0.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py280 # Step 11: verify the outer /8 aggregate is also removed.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py83 # Step 1: verify the more-specific 10.1.1.0/24 is installed on r1.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py94 # Step 2: verify the inner aggregate 10.1.0.0/16 has aggregateCount=1.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py112 # Step 3: verify the outer aggregate 10.0.0.0/8 has aggregateCount=1.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py183 # Step 6: add 10.2.0.0/16 from r2. This prefix falls under the /8COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py195 # Step 7: verify count_16=2, count_8=3.COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py230 # Step 8: withdraw both /24s from r2. count_16 drops to 0 (inner /16COMMENT
LOW…ests/bgp_aggregate_nested/test_bgp_aggregate_nested.py242 # Step 9: verify the inner /16 aggregate is removed and the outer /8COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py466 # Step 1: Create PEER-GROUP2 without GSHUTCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py628 # Step 1: Enable GSHUT on PEER-GROUP1COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py212 # Step 1: Wait for initial BGP convergenceCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py228 # Step 2: Verify initial route state without GSHUTCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py239 # Step 3: Enable GSHUT on peer groupCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py261 # Step 4: Disable GSHUTCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py318 # Step 1: Enable GSHUT at global levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py339 # Step 2: Enable GSHUT at neighbor levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py358 # Step 3: Disable GSHUT at global levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py398 # Step 4: Enable GSHUT at peer-group levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py417 # Step 5: Disable GSHUT at neighbor levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py436 # Step 6: Disable GSHUT at peer-group levelCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py496 # Step 2: Enable GSHUT on PEER-GROUP1COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py513 # Step 3: Move both R1 and R2 from PEER-GROUP1 to PEER-GROUP2COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py569 # Step 4: Move both R1 and R2 back to PEER-GROUP1COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py606 # Step 5: CleanupCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py645 # Step 2: Restart FRR on R2COMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py838 # Step 1: Get initial BGP session stateCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py858 # Step 2: Enable GSHUT and verify stabilityCOMMENT
LOW…otests/bgp_peergroup_gshut/test_bgp_peergroup_gshut.py890 # Step 3: Disable GSHUT and verify stabilityCOMMENT
LOWtests/topotests/lib/evpn.py2008 # Step 1: Get route information with JSON outputCOMMENT
LOWtests/topotests/lib/evpn.py2026 # Step 2: Extract nhid (nexthop group ID) from routeCOMMENT
LOWtests/topotests/lib/evpn.py2038 # Step 3: Get nexthop group detailsCOMMENT
LOWtests/topotests/lib/evpn.py2056 # Step 4: Extract individual nexthop IDs from groupCOMMENT
LOWtests/topotests/lib/evpn.py2073 # Step 5: Query each individual nexthop and extract gateway IPCOMMENT
LOWtests/topotests/lib/evpn.py2125 # Step 6: Compare actual nexthops with expectedCOMMENT
LOWtests/topotests/bgp_auth/test_bgp_auth5.py126 # Step 2: Verify peers are established in VRF blueCOMMENT
LOWtests/topotests/bgp_auth/test_bgp_auth5.py136 # Step 3: Configure peers in default VRFCOMMENT
LOWtests/topotests/bgp_auth/test_bgp_auth5.py156 # Step 4: Verify peers are established in all VRFsCOMMENT
LOWtests/topotests/static_weight/test_static_weight.py78 # Step 1: single nexthop (expected weight: 255)COMMENT
LOWtests/topotests/static_weight/test_static_weight.py92 # Step 2: add second nexthop (expected weights: 25 and 255)STRING
LOWtests/topotests/static_weight/test_static_weight.py106 # Step 3: update first nexthop (expected weights: 127 and 255)STRING
LOWtests/topotests/static_weight/test_static_weight.py121 # Step 4: remove second nexthop (expected weight: 255)STRING
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1474 # Step 1: Remove static routes from tor-21COMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py2052 # Step 3: Verify RMAC update and check for duplicatesCOMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1341 # Step 1: Without config - VRF-leaked path uses source AS (long), so doesn't winCOMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1352 # Step 2: Enable 'bgp bestpath use-imported-attributes'COMMENT
LOW…evpn_three_tier_clos_topo1/test_bgp_evpn_v4_v6_vtep.py1363 # Step 3: With config - VRF-leaked path uses imported AS (short/stripped), so it winsCOMMENT
241 more matches not shown…
Deep Nesting357 hits · 272 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.py318CODE
LOWtools/frr-reload.py1040CODE
LOWtools/frr-reload.py1073CODE
LOWtools/frr-reload.py1117CODE
LOWtools/frr-reload.py1204CODE
LOWtools/frr-reload.py1235CODE
LOWtools/frr-reload.py1462CODE
LOWtools/frr-reload.py1944CODE
LOWtools/frr-reload.py2000CODE
LOWtools/frr-reload.py711CODE
LOWtools/frr-reload.py834CODE
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
297 more matches not shown…
Self-Referential Comments89 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.py1205 # This method handles deletion of bgp neighbor configs,COMMENT
MEDIUMtools/frr-reload.py1236 # This method handles deletion of bgp peer group config.COMMENT
MEDIUMtools/frr-reload.py1259 # Create a dictionary of config context (i.e. router bgp vrf x).COMMENT
MEDIUMtools/frr-reload.py2505 # Create a Config object from the config generated by newconfCOMMENT
MEDIUMtools/frr-reload.py2515 # 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
29 more matches not shown…
Excessive Try-Catch Wrapping186 hits · 198 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.py180 except Exception as error:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py228 except Exception as error:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py450 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py934 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1149 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1633 except Exception:CODE
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1748 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
LOWtests/topotests/mgmt_notif/oper.py79 except Exception as e:CODE
LOWtests/topotests/mgmt_notif/test_ds_notify.py417 except Exception as error:CODE
LOW…sts/topotests/two_layer_wucmp/test_two_layer_wuecmp.py982 except Exception as e:CODE
LOWtests/topotests/bgp_gr_multihop/test_bgp_gr_multihop.py120 except Exception:CODE
LOWtests/topotests/bgp_gr_multihop/test_bgp_gr_multihop.py231 except Exception as e:CODE
LOWtests/topotests/bgp_gr_multihop/test_bgp_gr_multihop.py327 except Exception as e:CODE
LOW…/topotests/ospf_rfc4222_dscp/test_ospf_rfc4222_dscp.py127 except Exception:CODE
LOWtests/topotests/mgmt_fe_client/oper.py79 except Exception as e:CODE
LOW…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py776 except Exception as e:CODE
LOW…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py353 except Exception as exc: # pragma: no cover - defensiveCODE
LOW…otests/bgp_evpn_mh_v4_v6_num/test_evpn_mh_v4_v6_num.py388 except Exception as exc: # pragma: no cover - defensiveCODE
LOW…rfc4222_inactive_tmr/test_ospf_rfc4222_inactive_tmr.py125 except Exception:CODE
126 more matches not shown…
Redundant / Tautological Comments102 hits · 146 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.py2069 # Check if key chain is being deleted:COMMENT
LOWtests/topotests/ospfapi/test_ospf_clientapi.py1031 # 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
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…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.py564 # 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
LOW…ute_map_forwarding/test_ospfv3_route_map_forwarding.py389 # Check if sequence number has incrementedCOMMENT
LOW…/bgp_dampening_per_safi/test_bgp_dampening_per_safi.py164 # Check if the route becomes non-dampened again after some time.COMMENT
LOW…deletion/test_frr_reload_interface_section_deletion.py88 # Check if array is emptyCOMMENT
LOWtests/topotests/babel_topo1/test_babel_topo1.py266 # Check if r2-eth0 neighbor is marked as downCOMMENT
LOWtests/topotests/bgp_link_bw_ip/test_bgp_linkbw_ip.py321 # Check if bandwidth is properly encoded with non IEEE floatig-point (uint32) format on r3COMMENT
LOWtests/topotests/high_ecmp/test_high_ecmp_unnumbered.py111 # Check if the interface exists and get its current stateCOMMENT
LOWtests/topotests/lib/topotest.py1998 # Check if any datastore is lockedCOMMENT
LOWtests/topotests/lib/topotest.py1944 # Check if have mplsCOMMENT
LOWtests/topotests/lib/topotest.py2479 # Check if the daemons are runningCOMMENT
42 more matches not shown…
Docstring Block Structure9 hits · 45 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
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.py230 # 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.py2116 # 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.c2698 "%% 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.c1430 * Don't forget to call `nb_cli_apply_changes` after this.COMMENT
AI Structural Patterns10 hits · 8 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/common_config.py3195CODE
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.cpp79 assert(id); // TODO: implement an algorithm for unique reusableCODE