Repository Analysis

nmap/nmap

Nmap - the Network Mapper. Github mirror of official SVN repository.

4.0 Likely human-written View on GitHub
4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-05-28
Last Push
12,969
Stars
C
Language
659,086
Lines of Code
1193
Files
1925
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 49HIGH 19MEDIUM 325LOW 1532

Pattern Findings

1925 matches across 15 categories. Click a row to expand file-level details.

Over-Commented Block1287 hits · 1174 pts
SeverityFileLineSnippet
LOWutils.h61/* $Id$ */
LOWltmain.sh1# Generated from ltmain.m4sh.
LOWltmain.sh21# WITHOUT ANY WARRANTY; without even the implied warranty of
LOWltmain.sh41# --quiet, --silent don't print informational messages
LOWltmain.sh61# include the following information:
LOWltmain.sh141'
LOWltmain.sh2701{
LOWltmain.sh2921 exit 1
LOWltmain.sh2961# is running under the msys shell), or in the following cross-
LOWltmain.sh3021 # Fallback:
LOWltmain.sh3041# Path separators are also converted from $build format to
LOWltmain.sh3161# ifdef __CYGWIN__
LOWltmain.sh3181# define LT_PATHMAX PATH_MAX
LOWltmain.sh3201#endif
LOWltmain.sh3221# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
LOWltmain.sh6001 -L*) new_libs="$deplib $new_libs" ;;
LOWltmain.sh8381# The TAGs below are defined such that we never get into a situation
LOWltmain.sh8401# Local Variables:
LOWnmap.h61
LOWnmap.h81#if HAVE_UNISTD_H
LOWnmap.h101// #if HAVE_NETINET_IF_ETHER_H
LOWnmap.h161
LOWnmap.h181#define MAX_SERVICE_INFO_FIELDS 5
LOWnmap.h201#endif
LOWstruct_ip.h21typedef unsigned __int32 u_int32_t;
LOWstruct_ip.h41#define NETINET_IN_SYSTM_H
LOWstruct_ip.h161#define icmp_ttime icmp_dun.id_ts.its_ttime
LOWscan_engine.h61 ***************************************************************************/
LOWtiming.h61 *
LOWosscan2.h81
LOWosscan2.h101#define NUM_SEQ_SAMPLES 6
LOWnse_main.h61# define SCRIPT_ENGINE_LUA_DIR "scripts/"
LOWservice_scan.h61 ***************************************************************************/
LOWservice_scan.h121/********************** CLASSES ***********************************/
LOWservice_scan.h241 bool serviceIsPossible(const char *sname) const;
LOWoutput.h61 * indemnification and commercial support are all available through the
LOWoutput.h101 "directory' or 'lo0: No DLPI device found', complain to Sun. I don't "\
LOWnmap_winconfig.h81#define DNET_INCLUDED 1
LOWTarget.h61 ***************************************************************************/
LOWnse_utility.h1#ifndef NMAP_NSE_UTILITY_H
LOWportlist.h61/* $Id$ */
LOWportlist.h221 // will be NULL if unavailable. Note that this function makes its
LOWnmap_error.h61/* $Id$ */
LOWnmap_amigaos.h61
LOWnmap_amigaos.h81#define pcap_open_live(a, b, c, d...) MiamiPCapOpenLive(a, b, 0, d)
LOWnse_lua.h1#ifndef NSE_LUA_H
LOWnse_lua.h21 #include <lua/5.4/lua.h>
LOWndiff/ndifftest.py101 self.assertTrue(len(host.script_results) > 0)
LOWndiff/ndiff.py1#!/usr/bin/env python3
LOWmswin32/winfix.h1#ifndef WINFIX_H
LOWmswin32/resource.h1//{{NO_DEPENDENCIES}}
LOWmswin32/NETINET/IP_ICMP.H101#define ICMP_MASKLEN 12 /* address mask */
LOWmswin32/NETINET/IP_ICMP.H121#define ICMP_UNREACH_HOST_PROHIB 10 /* ditto */
LOWmswin32/NETINET/IF_ETHER.H81 u_char arp_tha[6]; /* target hardware address */
LOWmswin32/NETINET/IP.H81#define IP_MAXPACKET 65535 /* maximum packet size */
LOWmswin32/NETINET/IP.H101
LOWmswin32/NETINET/IP.H161/* bits for security (not byte swapped) */
LOWmswin32/RPC/Rpc_cut.h101#define PROC_UNAVAIL 3
LOWlibdnet-stripped/acconfig.h1@BOTTOM@
LOWlibdnet-stripped/config/ltmain.sh1#! /usr/bin/env sh
1227 more matches not shown…
Decorative Section Separators219 hits · 452 pts
SeverityFileLineSnippet
MEDIUMlibdnet-stripped/config/ltmain.sh157# --------------
MEDIUMlibdnet-stripped/config/ltmain.sh183# ----------------------
MEDIUMlibdnet-stripped/config/ltmain.sh192# --------------------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh378# ---------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh523# -------------------
MEDIUMlibdnet-stripped/config/ltmain.sh572# ---------------------
MEDIUMlibdnet-stripped/config/ltmain.sh618# ----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh641# --------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh665# ------------------
MEDIUMlibdnet-stripped/config/ltmain.sh689# ------------------
MEDIUMlibdnet-stripped/config/ltmain.sh722# -------------------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh734# --------------------------------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh755# ----------------
MEDIUMlibdnet-stripped/config/ltmain.sh774# --------------------
MEDIUMlibdnet-stripped/config/ltmain.sh783# ------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh819# -----------------
MEDIUMlibdnet-stripped/config/ltmain.sh832# -----------------------
MEDIUMlibdnet-stripped/config/ltmain.sh844# -----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh855# ---------------
MEDIUMlibdnet-stripped/config/ltmain.sh881# ---------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh929# -------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh967# ------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1057# --------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1073# --------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1138# ----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1218# -----------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1253# ------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1264# ----------------
MEDIUMlibdnet-stripped/config/ltmain.sh1317# ------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1338# ---------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1368# -----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1393# ------------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1422# ----------
MEDIUMlibdnet-stripped/config/ltmain.sh1443# -------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1456# -----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1469# ----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1494# -----------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1511# ---------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1640# -----------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1652# ---------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1669# ------------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1681# ---------------------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1699# ---------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1813# ----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1825# ---------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1858# --------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1879# ---------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh1999# ------------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2028# ----------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2056# ------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2069# ------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2105# -----------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2131# ----------
MEDIUMlibdnet-stripped/config/ltmain.sh2144# ------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2164# ------------
MEDIUMlibdnet-stripped/config/ltmain.sh2222# ----------------
MEDIUMlibdnet-stripped/config/ltmain.sh2242# -------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2321# ---------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2338 # ---------------------------
MEDIUMlibdnet-stripped/config/ltmain.sh2360# -------------------------------
159 more matches not shown…
Hallucination Indicators49 hits · 395 pts
SeverityFileLineSnippet
CRITICALnselib/coap.lua723 return COAP.header.options.value.uint.build(val)
CRITICALnselib/coap.lua736 return COAP.header.options.value.uint.parse(buf)
CRITICALnselib/coap.lua751 return COAP.header.options.value.block.build(val)
CRITICALnselib/coap.lua766 return COAP.header.options.value.block.parse(buf)
CRITICALnselib/coap.lua781 return COAP.header.options.value.block.build(val)
CRITICALnselib/coap.lua796 return COAP.header.options.value.block.parse(buf)
CRITICALnselib/coap.lua826 return COAP.header.options.value.uint.build(val)
CRITICALnselib/coap.lua839 local val = COAP.header.options.value.uint.parse(buf)
CRITICALnselib/coap.lua865 return COAP.header.options.value.opaque.build(val)
CRITICALnselib/coap.lua880 return COAP.header.options.value.opaque.parse(buf)
CRITICALnselib/coap.lua896 return COAP.header.options.value.opaque.build(val)
CRITICALnselib/coap.lua910 return COAP.header.options.value.opaque.parse(buf)
CRITICALnselib/coap.lua925 return COAP.header.options.value.empty.build(val)
CRITICALnselib/coap.lua940 return COAP.header.options.value.empty.parse(buf)
CRITICALnselib/coap.lua955 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua968 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua983 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua996 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua1009 return COAP.header.options.value.uint.build(val)
CRITICALnselib/coap.lua1022 return COAP.header.options.value.uint.parse(buf)
CRITICALnselib/coap.lua1037 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua1049 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua1062 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua1075 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua1088 return COAP.header.options.value.uint.build(val)
CRITICALnselib/coap.lua1101 return COAP.header.options.value.uint.parse(buf)
CRITICALnselib/coap.lua1116 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua1129 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua1144 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua1157 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua1172 return COAP.header.options.value.uint.build(val)
CRITICALnselib/coap.lua1185 return COAP.header.options.value.uint.parse(buf)
CRITICALnselib/coap.lua1198 return COAP.header.options.value.string.build(val)
CRITICALnselib/coap.lua1211 return COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua1284 local str = COAP.header.options.value.uint.build(num)
CRITICALnselib/coap.lua1320 local num = COAP.header.options.value.uint.parse(buf)
CRITICALnselib/coap.lua1747 return true, COAP.header.options.value.string.parse(buf)
CRITICALnselib/coap.lua2277 local str = COAP.header.options.value.uint.build(test_num)
CRITICALnselib/coap.lua2281 local num = COAP.header.options.value.uint.parse(test_str)
CRITICALzenmap/zenmapGUI/MainWindow.py537 entry = self.scan_interface.scan_result.scan_result_notebook.nmap_output.get_active_entry() # noqa
CRITICALzenmap/zenmapGUI/MainWindow.py912 entry = self.scan_interface.scan_result.scan_result_notebook.nmap_output.get_active_entry() # noqa
CRITICALzenmap/zenmapGUI/ScanInterface.py162 self.scan_result.scan_result_notebook.scans_list.remove_button.connect(
CRITICALzenmap/zenmapGUI/ScanInterface.py188 self.scan_result.scan_result_notebook.scans_list.cancel_button.connect(
CRITICALzenmap/zenmapGUI/ScanInterface.py264 self.scan_result.scan_result_notebook.nmap_output.nmap_output.go_to_host(hostname) # noqa
CRITICALzenmap/zenmapGUI/ScanInterface.py413 model, selection = self.scan_result.scan_result_notebook.scans_list.scans_list.get_selection().get_selected_rows
CRITICALzenmap/zenmapGUI/ScanInterface.py420 model, selection = self.scan_result.scan_result_notebook.scans_list.scans_list.get_selection().get_selected_rows
CRITICALzenmap/zenmapGUI/ScanInterface.py610 self.scan_result.scan_result_notebook.nmap_output.nmap_output.show_large_output_message(command) # noqa
CRITICALzenmap/zenmapGUI/ScanInterface.py885 self.scan_result_notebook.nmap_output.nmap_output.text_view.get_buffer().set_text(msg) # noqa
CRITICALzenmap/zenmapGUI/ScanInterface.py888 self.scan_result_notebook.nmap_output.nmap_output.text_view.get_buffer().set_text("") # noqa
Self-Referential Comments82 hits · 166 pts
SeverityFileLineSnippet
MEDIUMltmain.sh892# This function is only a basic sanity check; it will hardly flush out
MEDIUMltmain.sh903# This function implements the same check as func_lalib_p without
MEDIUMltmain.sh926# This function is only a basic sanity check; it will hardly flush out
MEDIUMltmain.sh935# This function is only a basic sanity check; it will hardly flush out
MEDIUMltmain.sh963# This function is only a basic sanity check; it will hardly flush out
MEDIUMltmain.sh1064# Create a libtool object file (analogous to a ".la" file),
MEDIUMltmain.sh4937 # Create the object directory.
MEDIUMltmain.sh7447 # Create the old-style object.
MEDIUMltmain.sh7467 # Create an invalid libtool object if no PIC, so that we don't
MEDIUMlibdnet-stripped/config/ltmain.sh77# This file is dual licensed under the terms of the MIT license
MEDIUMlibdnet-stripped/config/ltmain.sh1541# This file is dual licensed under the terms of the MIT license
MEDIUMlibdnet-stripped/config/ltmain.sh1559# This file is a library for parsing options in your shell scripts along
MEDIUMlibdnet-stripped/config/ltmain.sh2755# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibdnet-stripped/config/ltmain.sh2765# This function implements the same check as func_lalib_p without
MEDIUMlibdnet-stripped/config/ltmain.sh2788# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibdnet-stripped/config/ltmain.sh2798# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibdnet-stripped/config/ltmain.sh2823# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibdnet-stripped/config/ltmain.sh2963# Create a libtool object file (analogous to a ".la" file),
MEDIUMlibdnet-stripped/config/ltmain.sh7758 # Create the object directory.
MEDIUMlibdnet-stripped/config/ltmain.sh10431 # Create the old-style object.
MEDIUMlibdnet-stripped/config/ltmain.sh10451 # Create an invalid libtool object if no PIC, so that we don't
MEDIUMlibpcre/ltmain.sh77# This file is dual licensed under the terms of the MIT license
MEDIUMlibpcre/ltmain.sh1529# This file is dual licensed under the terms of the MIT license
MEDIUMlibpcre/ltmain.sh1547# This file is a library for parsing options in your shell scripts along
MEDIUMlibpcre/ltmain.sh2747# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibpcre/ltmain.sh2757# This function implements the same check as func_lalib_p without
MEDIUMlibpcre/ltmain.sh2780# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibpcre/ltmain.sh2790# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibpcre/ltmain.sh2815# This function is only a basic sanity check; it will hardly flush out
MEDIUMlibpcre/ltmain.sh2955# Create a libtool object file (analogous to a ".la" file),
MEDIUMlibpcre/ltmain.sh7752 # Create the object directory.
MEDIUMlibpcre/ltmain.sh10431 # Create the old-style object.
MEDIUMlibpcre/ltmain.sh10451 # Create an invalid libtool object if no PIC, so that we don't
MEDIUMncat/test/ncat-test.pl3# This file contains tests of the external behavior of Ncat.
MEDIUMncat/scripts/p0fme.py82 # Create a key-value dictionary out of the '|'-separated substrings.
MEDIUMzenmap/zenmapCore/NmapCommand.py59# This file contains the definitions of the NmapCommand class, which represents
MEDIUMzenmap/zenmapCore/NmapCommand.py93 """This class represents an Nmap command line. It is responsible for
MEDIUMzenmap/zenmapCore/ScriptArgsParser.py117 """This function is responsible for parsing a table; i.e, a string that
MEDIUMzenmap/zenmapCore/NetworkInventory.py164 """This function is called when a host needs to be added to the hosts
MEDIUMzenmap/zenmapCore/UmitConf.py183 """This class represents not just one profile, but a whole collection of
MEDIUMzenmap/zenmapCore/UmitConf.py359 """This class is a wrapper around Profile that provides accessors for the
MEDIUMzenmap/zenmapCore/SearchResult.py495 """This class is for use by the unit testing code"""
MEDIUMzenmap/zenmapCore/NmapParser.py655 #Create a dict of port -> protocol for all ports scanned
MEDIUMzenmap/zenmapCore/Name.py59# This file contains global definitions of program names. The plain names are
MEDIUMzenmap/zenmapGUI/SearchGUI.py86 """This class is responsible for parsing the search string, and updating
MEDIUMzenmap/zenmapGUI/SearchGUI.py146 """This class is a VBox that holds the search entry field and buttons on
MEDIUMzenmap/zenmapGUI/SearchGUI.py562 # Create a subcriterion
MEDIUMzenmap/zenmapGUI/SearchGUI.py610 """This function is called when the user selects a different entry in
MEDIUMzenmap/zenmapGUI/SearchGUI.py615 # Create a new subcriterion depending on the selected operator
MEDIUMzenmap/zenmapGUI/SearchGUI.py635 """This class is a base class for all subcriterion types. Depending on the
MEDIUMzenmap/zenmapGUI/SearchGUI.py651 """This class represents all 'simple' criterion types that need only an
MEDIUMzenmap/zenmapGUI/MainWindow.py409 """This function is passed as an argument to the SearchWindow.__init__
MEDIUMzenmap/zenmapGUI/MainWindow.py418 """This function is passed as an argument to the SearchWindow.__init__
MEDIUMzenmap/zenmapGUI/DiffCompare.py311 """This method is called whenever the diff output might have changed,
MEDIUMzenmap/zenmapGUI/ScriptInterface.py59# This module is responsible for interface present under "Scripting" tab.
MEDIUMzenmap/zenmapGUI/ScansListStore.py66 """This class is an abstraction for running and completed scans, which are
MEDIUMzenmap/zenmapGUI/ScanInterface.py192 # Create the filter GUI
MEDIUMlibz/os400/make.sh164# Create the OS/400 library if it does not exist.
MEDIUMlibz/os400/make.sh172# Create the DOCS source file if it does not exist.
MEDIUMlibz/os400/make.sh195# Create the OS/400 source program file for the C header files.
22 more matches not shown…
Synthetic Comment Markers6 hits · 68 pts
SeverityFileLineSnippet
HIGHlibpcap/pcap-common.c618 * FlexRay automotive bus - http://www.flexray.com/ - as requested
HIGHlibpcap/pcap-common.c625 * transport - https://www.mostcooperation.com/ - as requested
HIGHlibpcap/pcap-common.c632 * http://www.lin-subbus.org/ - as requested by Hannes Kaelber
HIGHlibpcap/pcap/dlt.h957 * FlexRay automotive bus - http://www.flexray.com/ - as requested
HIGHlibpcap/pcap/dlt.h964 * transport - https://www.mostcooperation.com/ - as requested
HIGHlibpcap/pcap/dlt.h971 * http://www.lin-subbus.org/ - as requested by Hannes Kaelber
Unused Imports66 hits · 66 pts
SeverityFileLineSnippet
LOWncat/scripts/p0fme.py3
LOWzenmap/zenmapCore/NmapCommand.py62
LOWzenmap/zenmapCore/NmapCommand.py64
LOWzenmap/zenmapCore/Paths.py69
LOWzenmap/zenmapCore/UmitOptionParser.py62
LOWzenmap/zenmapCore/UmitDB.py60
LOWzenmap/zenmapCore/UmitConf.py67
LOWzenmap/zenmapCore/UmitConf.py78
LOWzenmap/zenmapCore/SearchResult.py67
LOWzenmap/zenmapCore/SearchResult.py249
LOWzenmap/zenmapCore/BasePaths.py61
LOWzenmap/zenmapCore/NmapParser.py59
LOWzenmap/zenmapCore/NmapParser.py76
LOWzenmap/radialnet/gui/SaveDialog.py66
LOWzenmap/radialnet/gui/ControlWidget.py68
LOWzenmap/radialnet/gui/LegendWindow.py67
LOWzenmap/radialnet/gui/NodeNotebook.py68
LOWzenmap/radialnet/bestwidgets/__init__.py62
LOWzenmap/radialnet/bestwidgets/textview.py63
LOWzenmap/radialnet/bestwidgets/comboboxes.py62
LOWzenmap/radialnet/bestwidgets/frames.py62
LOWzenmap/zenmapGUI/ScanHostsView.py66
LOWzenmap/zenmapGUI/NmapOutputProperties.py64
LOWzenmap/zenmapGUI/FileChoosers.py65
LOWzenmap/zenmapGUI/FileChoosers.py67
LOWzenmap/zenmapGUI/SearchWindow.py66
LOWzenmap/zenmapGUI/BugReport.py67
LOWzenmap/zenmapGUI/OptionBuilder.py78
LOWzenmap/zenmapGUI/CrashReport.py72
LOWzenmap/zenmapGUI/NmapOutputViewer.py62
LOWzenmap/zenmapGUI/NmapOutputViewer.py64
LOWzenmap/zenmapGUI/NmapOutputViewer.py67
LOWzenmap/zenmapGUI/Icons.py62
LOWzenmap/zenmapGUI/Icons.py64
LOWzenmap/zenmapGUI/ScanRunDetailsPage.py69
LOWzenmap/zenmapGUI/ProfileCombo.py65
LOWzenmap/zenmapGUI/SearchGUI.py75
LOWzenmap/zenmapGUI/About.py78
LOWzenmap/zenmapGUI/MainWindow.py64
LOWzenmap/zenmapGUI/MainWindow.py94
LOWzenmap/zenmapGUI/ScanToolbar.py67
LOWzenmap/zenmapGUI/ProfileEditor.py77
LOWzenmap/zenmapGUI/DiffCompare.py66
LOWzenmap/zenmapGUI/ScanInterface.py97
LOWzenmap/zenmapGUI/ScanOpenPortsPage.py67
LOWzenmap/zenmapGUI/ScanNmapOutputPage.py72
LOWzenmap/zenmapGUI/ScanScanListPage.py67
LOWzenmap/zenmapGUI/ScanHostDetailsPage.py71
LOWzenmap/zenmapGUI/higwidgets/gtkutils.py71
LOWzenmap/zenmapGUI/higwidgets/__init__.py69
LOWzenmap/zenmapGUI/higwidgets/__init__.py70
LOWzenmap/zenmapGUI/higwidgets/__init__.py71
LOWzenmap/zenmapGUI/higwidgets/__init__.py72
LOWzenmap/zenmapGUI/higwidgets/__init__.py73
LOWzenmap/zenmapGUI/higwidgets/__init__.py74
LOWzenmap/zenmapGUI/higwidgets/__init__.py75
LOWzenmap/zenmapGUI/higwidgets/__init__.py76
LOWzenmap/zenmapGUI/higwidgets/__init__.py77
LOWzenmap/zenmapGUI/higwidgets/__init__.py78
LOWzenmap/zenmapGUI/higwidgets/__init__.py79
6 more matches not shown…
Cross-File Repetition13 hits · 65 pts
SeverityFileLineSnippet
HIGHzenmap/radialnet/core/Coordinate.py0get cartesian coordinate @rtype: tuple @return: cartesian coordinates (x, y)
HIGHzenmap/radialnet/gui/RadialNet.py0get cartesian coordinate @rtype: tuple @return: cartesian coordinates (x, y)
HIGHzenmap/radialnet/gui/RadialNet.py0get cartesian coordinate @rtype: tuple @return: cartesian coordinates (x, y)
HIGHzenmap/radialnet/gui/RadialNet.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/RadialNet.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/RadialNet.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/ControlWidget.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/ControlWidget.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/ControlWidget.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/ControlWidget.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type event: gtkevent @param event: gtk ev
HIGHzenmap/radialnet/gui/RadialNet.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type context: cairo.context @param contex
HIGHzenmap/radialnet/gui/ControlWidget.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type context: cairo.context @param contex
HIGHzenmap/radialnet/gui/ControlWidget.py0drawing callback @type widget: gtkwidget @param widget: gtk widget superclass @type context: cairo.context @param contex
Hyper-Verbose Identifiers57 hits · 62 pts
SeverityFileLineSnippet
LOWndiff/ndifftest.py427 def test_state_change_unknown(self):
LOWndiff/ndifftest.py485 def test_port_state_change_unknown(self):
LOWndiff/ndifftest.py498 def test_port_state_change_multi(self):
LOWndiff/ndiff.py183 def extraports_to_dom_fragment(self, document):
LOWndiff/ndiff.py464def print_script_result_diffs_text(title, script_results_a, script_results_b,
LOWndiff/ndiff.py480def script_result_diffs_to_dom_fragment(elem, script_results_a,
LOWnselib/sslcert.lua884function getPrepareTLSWithoutReconnect(port)
LOWzenmap/zenmapCore/NmapOptions.py1192 def test_canonical_option_names(self):
LOWzenmap/zenmapCore/Paths.py81def get_extra_executable_search_paths():
LOWzenmap/zenmapCore/NetworkInventory.py521 def test_no_external_modification(self):
LOWzenmap/zenmapCore/NetworkInventory.py548 def test_cancel_and_remove_scan(self):
LOWzenmap/zenmapCore/SearchResult.py540 def test_match_service_version(self):
LOWzenmap/zenmapCore/ScriptMetadata.py367 def get_script_args_from_file(f):
LOWzenmap/zenmapCore/ScriptMetadata.py402 def construct_library_arguments(self):
LOWzenmap/zenmapCore/NmapParser.py651 def get_formatted_finish_date(self):
LOWzenmap/zenmapCore/NmapParser.py870 def _parse_host_tcptssequence(self, attrs):
LOWzenmap/radialnet/util/integration.py268def make_graph_from_nmap_parser(parser):
LOWzenmap/radialnet/gui/ControlWidget.py827 def __cell_toggle_data_method(self, column, cell, model, it, data):
LOWzenmap/radialnet/gui/Image.py74def get_pixels_for_cairo_image_surface(pixbuf):
LOWzenmap/radialnet/gui/NodeNotebook.py570 def __create_sequences_widget(self, sequences):
LOWzenmap/radialnet/bestwidgets/boxes.py71 def bw_pack_start_expand_fill(self, widget, padding=0):
LOWzenmap/radialnet/bestwidgets/boxes.py76 def bw_pack_start_expand_nofill(self, widget, padding=0):
LOWzenmap/radialnet/bestwidgets/boxes.py81 def bw_pack_start_noexpand_nofill(self, widget, padding=0):
LOWzenmap/radialnet/bestwidgets/boxes.py91 def bw_pack_end_expand_nofill(self, widget, padding=0):
LOWzenmap/radialnet/bestwidgets/boxes.py96 def bw_pack_end_noexpand_nofill(self, widget, padding=0):
LOWzenmap/zenmapGUI/ScanHostsView.py69def treemodel_get_addrs_for_sort(model, iter):
LOWzenmap/zenmapGUI/NmapOutputProperties.py245 def highlight_color_dialog_ok(self, widget, color_dialog):
LOWzenmap/zenmapGUI/NmapOutputProperties.py250 def highlight_color_dialog_cancel(self, widget, color_dialog):
LOWzenmap/zenmapGUI/NmapOutputProperties.py253 def highlight_color_dialog_close(self, widget, extra, color_dialog):
LOWzenmap/zenmapGUI/OptionBuilder.py82def get_option_check_auxiliary_widget(option, ops, check):
LOWzenmap/zenmapGUI/NmapOutputViewer.py252 def replace_buffer_warning_message(self, message):
LOWzenmap/zenmapGUI/NmapOutputViewer.py275 def show_large_output_message(self):
LOWzenmap/zenmapGUI/TopologyPage.py153 def update_radialnet_unchecked(self):
LOWzenmap/zenmapGUI/MainWindow.py530 def _displayed_scan_change_cb(self, widget):
LOWzenmap/zenmapGUI/ScriptInterface.py91def text_buffer_insert_nsedoc(buf, nsedoc):
LOWzenmap/zenmapGUI/ScriptInterface.py247 def script_list_timer_callback(self, process, callback):
LOWzenmap/zenmapGUI/ScriptInterface.py277 def handle_initial_script_list_output(self, process):
LOWzenmap/zenmapGUI/ScriptInterface.py322 def update_script_list_from_spec(self, spec):
LOWzenmap/zenmapGUI/ScriptInterface.py338 def handle_update_script_list_output(self, process):
LOWzenmap/zenmapGUI/ScriptInterface.py521 def set_script_from_selection(self):
LOWzenmap/zenmapGUI/ScriptInterface.py646 def add_file_button_clicked_cb(self, button):
LOWzenmap/zenmapGUI/ScriptInterface.py663 def remove_file_button_clicked_cb(self, button):
LOWzenmap/zenmapGUI/ScanInterface.py391 def _displayed_scan_change_cb(self, widget):
LOWzenmap/zenmapGUI/ScanInterface.py750 def service_selection_changed(self, widget):
LOWzenmap/zenmapGUI/ScanInterface.py755 def service_host_selection_changed(self, selection):
LOWzenmap/zenmapGUI/ScanInterface.py850 def set_multiple_service_host(self, service_list):
LOWzenmap/zenmapGUI/ScanInterface.py902 def change_to_ports_hosts_tab(self):
LOWzenmap/zenmapGUI/ScanInterface.py905 def change_to_nmap_output_tab(self):
LOWzenmap/zenmapGUI/ScanOpenPortsPage.py405 def switch_port_to_list_store(self):
LOWzenmap/zenmapGUI/ScanOpenPortsPage.py410 def switch_port_to_tree_store(self):
LOWzenmap/zenmapGUI/ScanOpenPortsPage.py415 def switch_host_to_list_store(self):
LOWzenmap/zenmapGUI/ScanOpenPortsPage.py420 def switch_host_to_tree_store(self):
LOWzenmap/zenmapGUI/higwidgets/higspinner.py170 def load_animated_from_lookup(self, icon_name=None):
LOWzenmap/zenmapGUI/higwidgets/higspinner.py202 def load_animated_from_filename(self, filename, size):
LOWzenmap/zenmapGUI/higwidgets/higspinner.py221 def load_static_from_filename(self, filename, key_name=None):
LOWzenmap/zenmapGUI/higwidgets/higspinner.py241 def _write_animated_pixbuf_to_files(self, path_format, image_format):
LOWzenmap/zenmapGUI/higwidgets/higspinner.py253 def _write_static_pixbuf_to_file(self, key_name, path_name, image_format):
Deep Nesting49 hits · 48 pts
SeverityFileLineSnippet
LOWndiff/ndifftest.py729
LOWndiff/ndiff.py480
LOWndiff/ndiff.py1470
LOWndiff/ndiff.py735
LOWndiff/ndiff.py810
LOWndiff/ndiff.py1039
LOWndiff/ndiff.py1069
LOWndiff/ndiff.py1157
LOWndiff/ndiff.py1371
LOWzenmap/zenmapCore/RecentScans.py65
LOWzenmap/zenmapCore/NmapCommand.py152
LOWzenmap/zenmapCore/TargetList.py65
LOWzenmap/zenmapCore/NmapOptions.py100
LOWzenmap/zenmapCore/NmapOptions.py189
LOWzenmap/zenmapCore/NmapOptions.py291
LOWzenmap/zenmapCore/NmapOptions.py541
LOWzenmap/zenmapCore/NetworkInventory.py84
LOWzenmap/zenmapCore/NetworkInventory.py162
LOWzenmap/zenmapCore/NSEDocParser.py87
LOWzenmap/zenmapCore/SearchResult.py314
LOWzenmap/zenmapCore/ScriptMetadata.py229
LOWzenmap/zenmapCore/ScriptMetadata.py131
LOWzenmap/zenmapCore/ScriptMetadata.py289
LOWzenmap/zenmapCore/NmapParser.py654
LOWzenmap/zenmapCore/NmapParser.py895
LOWzenmap/zenmapCore/NmapParser.py966
LOWzenmap/zenmapCore/NmapParser.py1072
LOWzenmap/radialnet/core/XMLHandler.py130
LOWzenmap/radialnet/core/XMLHandler.py166
LOWzenmap/radialnet/core/Coordinate.py168
LOWzenmap/radialnet/util/integration.py125
LOWzenmap/radialnet/gui/RadialNet.py216
LOWzenmap/radialnet/gui/RadialNet.py547
LOWzenmap/radialnet/gui/RadialNet.py569
LOWzenmap/radialnet/gui/RadialNet.py617
LOWzenmap/radialnet/gui/RadialNet.py812
LOWzenmap/radialnet/gui/RadialNet.py1241
LOWzenmap/radialnet/gui/RadialNet.py1418
LOWzenmap/radialnet/gui/RadialNet.py1697
LOWzenmap/radialnet/gui/ControlWidget.py856
LOWzenmap/zenmapGUI/OptionBuilder.py82
LOWzenmap/zenmapGUI/SearchGUI.py112
LOWzenmap/zenmapGUI/SearchGUI.py309
LOWzenmap/zenmapGUI/MainWindow.py806
LOWzenmap/zenmapGUI/DiffCompare.py343
LOWzenmap/zenmapGUI/ScriptInterface.py91
LOWzenmap/zenmapGUI/ScriptInterface.py495
LOWzenmap/zenmapGUI/ScanInterface.py460
LOWzenmap/zenmapGUI/ScanScanListPage.py70
Excessive Try-Catch Wrapping38 hits · 44 pts
SeverityFileLineSnippet
LOWndiff/ndifftest.py715 except Exception as e:
MEDIUMndiff/ndifftest.py712def test_well_formed(self):
LOWzenmap/zenmapCore/RecentScans.py70 except Exception:
LOWzenmap/zenmapCore/NmapCommand.py171 except Exception:
LOWzenmap/zenmapCore/NmapCommand.py178 except Exception:
LOWzenmap/zenmapCore/TargetList.py70 except Exception:
LOWzenmap/zenmapCore/Paths.py154 except Exception:
LOWzenmap/zenmapCore/UmitConfigParser.py97 except Exception as e:
LOWzenmap/zenmapCore/NetworkInventory.py579 except Exception:
LOWzenmap/zenmapCore/UmitDB.py73except Exception:
LOWzenmap/zenmapCore/UmitDB.py165 except Exception:
LOWzenmap/zenmapCore/UmitConf.py159 except Exception:
LOWzenmap/zenmapCore/UmitConf.py237 except Exception:
LOWzenmap/zenmapCore/UmitConf.py415 except Exception:
MEDIUMzenmap/zenmapCore/UmitConf.py156def get_converted_save_time(self):
MEDIUMzenmap/zenmapCore/UmitConf.py234def remove_profile(self, profile_name):
MEDIUMzenmap/zenmapCore/UmitConf.py277def get_x(self):
LOWzenmap/zenmapCore/SearchResult.py446 except Exception as e:
LOWzenmap/zenmapCore/SearchResult.py484 except Exception:
LOWzenmap/radialnet/gui/Application.py137 except Exception as e:
LOWzenmap/radialnet/gui/Toolbar.py256 except Exception as e:
LOWzenmap/zenmapGUI/ScanHostsView.py173 except Exception:
MEDIUMzenmap/zenmapGUI/ScanHostsView.py169def _remove_scrolled_child(self):
LOWzenmap/zenmapGUI/NmapOutputViewer.py257 except Exception:
LOWzenmap/zenmapGUI/MainWindow.py430 except Exception as e:
LOWzenmap/zenmapGUI/MainWindow.py557 except Exception as e:
LOWzenmap/zenmapGUI/MainWindow.py707 except Exception as ex:
LOWzenmap/zenmapGUI/DiffCompare.py203 except Exception as e:
LOWzenmap/zenmapGUI/ScriptInterface.py235 except Exception as e:
LOWzenmap/zenmapGUI/ScriptInterface.py250 except Exception:
MEDIUMzenmap/zenmapGUI/ScriptInterface.py247def script_list_timer_callback(self, process, callback):
LOWzenmap/zenmapGUI/App.py81except Exception:
LOWzenmap/zenmapGUI/ScanInterface.py510 except Exception as e:
LOWzenmap/zenmapGUI/ScanInterface.py547 except Exception as e:
LOWzenmap/zenmapGUI/ScanInterface.py579 except Exception:
LOWzenmap/zenmapGUI/ScanInterface.py596 except Exception as e:
LOWzenmap/zenmapGUI/ScanNmapOutputPage.py100 except Exception as e:
LOWzenmap/install_scripts/windows/setup.sh37 except Exception:
Redundant / Tautological Comments37 hits · 40 pts
SeverityFileLineSnippet
LOWltmain.sh1710 # Check if any of the arguments is a wrapper script.
LOWltmain.sh7179 # Loop over the list of objects to be linked.
LOWlibdnet-stripped/config/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and set
LOWlibdnet-stripped/config/ltmain.sh666# Set func_arith_result to the result of evaluating TERMs.
LOWlibdnet-stripped/config/ltmain.sh690# Set func_basename_result to FILE with everything up to and including
LOWlibdnet-stripped/config/ltmain.sh856# Set func_len_result to the length of STRING. STRING may not
LOWlibdnet-stripped/config/ltmain.sh1074# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
LOWlibdnet-stripped/config/ltmain.sh4167 # Check if any of the arguments is a wrapper script.
LOWlibdnet-stripped/config/ltmain.sh10154 # Loop over the list of objects to be linked.
LOWlibpcre/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and set
LOWlibpcre/ltmain.sh654# Set func_arith_result to the result of evaluating TERMs.
LOWlibpcre/ltmain.sh678# Set func_basename_result to FILE with everything up to and including
LOWlibpcre/ltmain.sh844# Set func_len_result to the length of STRING. STRING may not
LOWlibpcre/ltmain.sh1062# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
LOWlibpcre/ltmain.sh4159 # Check if any of the arguments is a wrapper script.
LOWlibpcre/ltmain.sh10154 # Loop over the list of objects to be linked.
LOWzenmap/zenmapCore/NetworkInventory.py174 # Check if new_port is already present in old_host's ports
LOWzenmap/zenmapCore/NetworkInventory.py196 # Check if defunct_port is in ports
LOWzenmap/zenmapCore/NetworkInventory.py346 # Add the filename to the list of saved filenames
LOWzenmap/zenmapCore/UmitDB.py292# Verify if data base exists and if it does have the required tables.
LOWzenmap/zenmapCore/UmitConf.py75# Check if running on Maemo
LOWzenmap/zenmapCore/SearchResult.py144 # Check if the port is parsable, if not return False silently
LOWzenmap/zenmapCore/SearchResult.py253 # Check if we have any fuzzy operators ("~") in our string
LOWzenmap/zenmapCore/SearchResult.py321 # Check if they're parsable, if not return False silently
LOWzenmap/zenmapGUI/SearchGUI.py136 # Check if we have any dir: operators in our map, and if so, add them
LOWzenmap/zenmapGUI/MainWindow.py499 # Check if the selected filename is a directory. If not, we take
LOWzenmap/zenmapGUI/DiffCompare.py346 # Check if any old background processes have finished.
LOWzenmap/zenmapGUI/ScriptInterface.py286 # Check if any scripts were output; if not, Nmap is probably too old.
LOWlibz/os400/make.sh66# Set LINK to "YES" if the module has been compiled.
LOWlibssh2/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and set
LOWlibssh2/ltmain.sh666# Set func_arith_result to the result of evaluating TERMs.
LOWlibssh2/ltmain.sh690# Set func_basename_result to FILE with everything up to and including
LOWlibssh2/ltmain.sh856# Set func_len_result to the length of STRING. STRING may not
LOWlibssh2/ltmain.sh1074# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
LOWlibssh2/ltmain.sh4171 # Check if any of the arguments is a wrapper script.
LOWlibssh2/ltmain.sh10166 # Loop over the list of objects to be linked.
LOWlibssh2/os400/initscript.sh142# Set LINK to "YES" if the module has been compiled.
AI Slop Vocabulary15 hits · 34 pts
SeverityFileLineSnippet
MEDIUMltmain.sh210# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMltmain.sh2719# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMltmain.sh6531 # This code stresses the "libraries are programs" paradigm to its
MEDIUMlibdnet-stripped/config/ltmain.sh345# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMlibdnet-stripped/config/ltmain.sh5483# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMlibdnet-stripped/config/ltmain.sh9453 # This code stresses the "libraries are programs" paradigm to its
MEDIUMlibpcre/ltmain.sh345# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMlibpcre/ltmain.sh5475# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMlibpcre/ltmain.sh9453 # This code stresses the "libraries are programs" paradigm to its
MEDIUMzenmap/zenmapCore/NmapOptions.py5# getopt_long_only_extras, which is like getopt_long_only with robust
MEDIUMzenmap/zenmapCore/NmapOptions.py39# A primary design consideration was robust handling of unknown options. That
LOWnping/nping-dev/test/test_nping.sh1228t PAYLOAD_12 "Test raw hex payload specification, specifying bogus hex data #9 (just pass empty quotes) Expected: error
MEDIUMlibssh2/ltmain.sh345# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMlibssh2/ltmain.sh5487# Sed substitution that helps us do robust quoting. It backslashifies
MEDIUMlibssh2/ltmain.sh9465 # This code stresses the "libraries are programs" paradigm to its
Slop Phrases5 hits · 9 pts
SeverityFileLineSnippet
MEDIUMnselib/http.lua83-- Each element is a table containing the HTTP result, as discussed above.
LOWnselib/http.lua2803--@param pattern The pattern we're searching for. Don't forget to escape '-',
MEDIUMdocs/refguide.xml1998 <para>Enables version detection, as discussed above.
MEDIUMdocs/refguide.xml2186 <para>Enables OS detection, as discussed above.
MEDIUMdocs/refguide.xml3802 directed to the given filename. As discussed above, this
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWlibz/contrib/minizip/skipset.h20// Example usage:
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOWlibssh2/src/session.h69 * For functions that returns a pointer, we need to check if the API is