project_name
string
class_name
string
class_modifiers
string
class_implements
int64
class_extends
int64
function_name
string
function_body
string
cyclomatic_complexity
int64
NLOC
int64
num_parameter
int64
num_token
int64
num_variable
int64
start_line
int64
end_line
int64
function_index
int64
function_params
string
function_variable
string
function_return_type
string
function_body_line_type
string
function_num_functions
int64
function_num_lines
int64
outgoing_function_count
int64
outgoing_function_names
string
incoming_function_count
int64
incoming_function_names
string
lexical_representation
string
Alfredredbird_tookie-osint
public
public
0
0
run_rpc
def run_rpc():exec(open('plugins/discordrpc.py').read())
1
2
0
15
0
82
83
82
[]
None
{"Expr": 1}
3
2
3
["exec", "read", "open"]
0
[]
The function (run_rpc) defined within the public class called public.The function start at line 82 and ends at 83. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 3.0 functions, and It has 3.0 functions called ins...
Alfredredbird_tookie-osint
public
public
0
0
generate_encryption_key
def generate_encryption_key():"""Generates a random encryption key for Fernet cipher."""return Fernet.generate_key()
1
2
0
11
0
13
15
13
[]
Returns
{"Expr": 1, "Return": 1}
1
3
1
["Fernet.generate_key"]
0
[]
The function (generate_encryption_key) defined within the public class called public.The function start at line 13 and ends at 15. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, and It has 1.0 fu...
Alfredredbird_tookie-osint
public
public
0
0
create_cipher
def create_cipher(key):"""Creates a Fernet cipher suite using the specified key."""return Fernet(key)
1
2
1
11
0
18
20
18
key
[]
Returns
{"Expr": 1, "Return": 1}
1
3
1
["Fernet"]
0
[]
The function (create_cipher) defined within the public class called public.The function start at line 18 and ends at 20. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, and It has 1.0 function cal...
Alfredredbird_tookie-osint
public
public
0
0
encrypt_text
def encrypt_text(cipher_suite, text):"""Encrypts the given text using the Fernet cipher suite."""return cipher_suite.encrypt(text.encode())
1
2
2
19
0
23
25
23
cipher_suite,text
[]
Returns
{"Expr": 1, "Return": 1}
2
3
2
["cipher_suite.encrypt", "text.encode"]
0
[]
The function (encrypt_text) defined within the public class called public.The function start at line 23 and ends at 25. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [23.0], and this function return a value. It declares 2.0 functions, and It has 2.0 function...
Alfredredbird_tookie-osint
public
public
0
0
decrypt_text
def decrypt_text(cipher_suite, encrypted_text):"""Decrypts the encrypted text using the Fernet cipher suite."""return cipher_suite.decrypt(encrypted_text).decode()
1
2
2
19
0
28
30
28
cipher_suite,encrypted_text
[]
Returns
{"Expr": 1, "Return": 1}
2
3
2
["decode", "cipher_suite.decrypt"]
0
[]
The function (decrypt_text) defined within the public class called public.The function start at line 28 and ends at 30. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [28.0], and this function return a value. It declares 2.0 functions, and It has 2.0 function...
Alfredredbird_tookie-osint
public
public
0
0
print_encrypted_and_decrypted
def print_encrypted_and_decrypted(encrypted_text, ):"""Prints the encrypted and decrypted versions of the text."""print("Encrypted text:", encrypted_text)
1
2
1
13
0
33
35
33
encrypted_text
[]
None
{"Expr": 2}
1
3
1
["print"]
0
[]
The function (print_encrypted_and_decrypted) defined within the public class called public.The function start at line 33 and ends at 35. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, and It has 1.0 ...
Alfredredbird_tookie-osint
public
public
0
0
save_encryption_info
def save_encryption_info(config, private_key, sys_encrypted_key):"""Saves the private key and system encrypted key to the configuration file."""config.set("main", "privatekey", str(private_key))config.set("main", "syscrypt", str(sys_encrypted_key))with open("./config/config.ini", "w") as configfile:config.write(configf...
1
5
3
52
0
39
44
39
config,private_key,sys_encrypted_key
[]
None
{"Expr": 4, "With": 1}
6
6
6
["config.set", "str", "config.set", "str", "open", "config.write"]
0
[]
The function (save_encryption_info) defined within the public class called public.The function start at line 39 and ends at 44. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [39.0] and does not return any value. It declares 6.0 functions, and It has 6.0 func...
Alfredredbird_tookie-osint
public
public
0
0
load_language
def load_language(language_code):try:language_path = f"{LANG_PATH}{language_code}.py"spec = importlib.util.spec_from_file_location(language_code, language_path)language_module = importlib.util.module_from_spec(spec)spec.loader.exec_module(language_module)return language_moduleexcept FileNotFoundError:print(f"Language f...
2
10
1
53
3
12
22
12
language_code
['language_module', 'language_path', 'spec']
Returns
{"Assign": 3, "Expr": 2, "Return": 2, "Try": 1}
4
11
4
["importlib.util.spec_from_file_location", "importlib.util.module_from_spec", "spec.loader.exec_module", "print"]
0
[]
The function (load_language) defined within the public class called public.The function start at line 12 and ends at 22. It contains 10 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declares 4.0 functions, and It has 4.0 functions...
Alfredredbird_tookie-osint
public
public
0
0
get_language
def get_language(config):try:with open(CONFIG_INI_PATH, "r") as config_file:config.read_file(config_file)lang = config.get("main", "language")except FileNotFoundError:print("The configuration file was not found.")raiseexcept KeyError:print("Language File Error. Please Restart tookie-osint To Fix This")raisereturn lang
3
12
1
51
1
25
36
25
config
['lang']
Returns
{"Assign": 1, "Expr": 3, "Return": 1, "Try": 1, "With": 1}
5
12
5
["open", "config.read_file", "config.get", "print", "print"]
15
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692573_django_parler_django_parler.example.article.views_py.ArticleListView.get_queryset", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3692573_django_parler_django_parler.parler.admin_py.BaseTranslatableAdmin.get...
The function (get_language) defined within the public class called public.The function start at line 25 and ends at 36. It contains 12 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 5.0 functions, It has 5.0 functions calle...
Alfredredbird_tookie-osint
public
public
0
0
redirects1
def redirects1(modes, input1):input2 = input(" ⤷ ")if input2 == "":lol = 1if input2 != "":modes += input1try:ars = bool(input2)return input1, modesexcept ValueError:print("Timeout Must Be A Number")if "-d" in input2:input1.replace("-d", "")
5
13
2
61
3
30
42
30
modes,input1
['ars', 'input2', 'lol']
Returns
{"Assign": 3, "AugAssign": 1, "Expr": 2, "If": 3, "Return": 1, "Try": 1}
4
13
4
["input", "bool", "print", "input1.replace"]
0
[]
The function (redirects1) defined within the public class called public.The function start at line 30 and ends at 42. It contains 13 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [30.0], and this function return a value. It declares 4.0 functions, and It has 4.0 functions...
Alfredredbird_tookie-osint
public
public
0
0
list_proxys
def list_proxys(colorScheme):# Dictionary to map proxy types to file namesproxy_types = {"http": "http.txt","socks4": "socks4.txt","socks5": "socks5.txt",}input2 = input("TYPE:⤷ ")if input2 == "":lol = 1# Retrieve file name from dictionaryfile_name = proxy_types.get(input2)if file_name:file_path = f"./proxys/{file_name...
5
23
1
123
6
45
71
45
colorScheme
['input2', 'Lines', 'proxy_types', 'file_name', 'lol', 'file_path']
None
{"Assign": 6, "Expr": 5, "For": 1, "If": 3, "With": 1}
12
27
12
["input", "proxy_types.get", "os.path.exists", "open", "file.readlines", "enumerate", "print", "line.strip", "print", "print", "print", "print"]
0
[]
The function (list_proxys) defined within the public class called public.The function start at line 45 and ends at 71. It contains 23 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value. It declares 12.0 functions, and It has 12.0 functions cal...
Alfredredbird_tookie-osint
public
public
0
0
read_save
def read_save(colorScheme, slectpath):# Determine file path based on the select_path inputfile_path = Path.home() / "Downloads" / "usernames.tookie-osint" if slectpath == "" else slectpath# Check if the file exists and read itif os.path.exists(file_path):with open(file_path, "r") as file:lines = file.readlines()for lin...
4
10
2
84
2
74
87
74
colorScheme,slectpath
['file_path', 'lines']
None
{"Assign": 2, "Expr": 3, "For": 1, "If": 1, "With": 1}
9
14
9
["Path.home", "os.path.exists", "open", "file.readlines", "enumerate", "print", "line.strip", "print", "print"]
0
[]
The function (read_save) defined within the public class called public.The function start at line 74 and ends at 87. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [74.0] and does not return any value. It declares 9.0 functions, and It has 9.0 functions call...
Alfredredbird_tookie-osint
public
public
0
0
ping
def ping(colorScheme):headers = {"User-Agent": config["Personalizations"]["useragent"]}print(colorScheme + "Defaults to HTTPS.")print(Fore.RESET + " ")reqSite = input("Enter the URL of the site you want to ping: ")if not reqSite.startswith("https://") and not reqSite.startswith("http://"):urlFix = reqSite.split("//", 1...
5
19
1
149
5
90
112
90
colorScheme
['reqSite', 'test', 'code', 'headers', 'urlFix']
None
{"Assign": 7, "Expr": 5, "If": 1, "Try": 1}
11
23
11
["print", "print", "input", "reqSite.startswith", "reqSite.startswith", "reqSite.split", "len", "requests.get", "print", "print", "print"]
3
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3695233_trigger_trigger.tests.test_utils_py.test_ping", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69677179_matrixtm_mhddos.start_py.ToolsConsole.runConsole", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation...
The function (ping) defined within the public class called public.The function start at line 90 and ends at 112. It contains 19 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value. It declares 11.0 functions, It has 11.0 functions called inside ...
Alfredredbird_tookie-osint
public
public
0
0
qexit
def qexit():exitInput = input("Exit? [Y/N]").lower()if exitInput == "y":exit(0)if exitInput == "n":print("Continuing....")
3
6
0
32
1
115
120
115
['exitInput']
None
{"Assign": 1, "Expr": 2, "If": 2}
4
6
4
["lower", "input", "exit", "print"]
0
[]
The function (qexit) defined within the public class called public.The function start at line 115 and ends at 120. It contains 6 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 4.0 functions, and It has 4.0 functions called ins...
Alfredredbird_tookie-osint
public
public
0
0
proxyCheck
def proxyCheck(colorScheme, modes, input1):typeInput = input("TYPE: ⤷ ")if typeInput != "":input2 = input("IP: ⤷")if input2 == "":print("You need an IP, silly!")lol = 1if input2 != "":modes += input1input3 = input(" PORT: ⤷")if input3 != "":try:# finish adding connectton optionsprxs = input2 + ":" + input3proxies = {"{...
11
42
3
207
7
123
171
123
colorScheme,modes,input1
['input2', 'input3', 'saveProxy', 'prxs', 'lol', 'typeInput', 'proxies']
Returns
{"Assign": 8, "AugAssign": 1, "Expr": 10, "If": 9, "Return": 1, "Try": 1, "With": 1}
16
49
16
["input", "input", "print", "input", "print", "print", "print", "lower", "input", "open", "fp.write", "fp.close", "print", "print", "print", "input1.replace"]
0
[]
The function (proxyCheck) defined within the public class called public.The function start at line 123 and ends at 171. It contains 42 lines of code and it has a cyclomatic complexity of 11. It takes 3 parameters, represented as [123.0], and this function return a value. It declares 16.0 functions, and It has 16.0 fun...
Alfredredbird_tookie-osint
public
public
0
0
timeoutC
def timeoutC(modes, input1):input2 = input(" ⤷ ")if input2 == "":lol = 1return lolif input2 != "":modes += input1try:timeout = int(input2)return timeoutexcept ValueError:print("Timeout Must Be A Number")if "-t" in input2:input1.replace("-t", "")
5
14
2
61
3
174
188
174
modes,input1
['input2', 'lol', 'timeout']
Returns
{"Assign": 3, "AugAssign": 1, "Expr": 2, "If": 3, "Return": 2, "Try": 1}
4
15
4
["input", "int", "print", "input1.replace"]
0
[]
The function (timeoutC) defined within the public class called public.The function start at line 174 and ends at 188. It contains 14 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [174.0], and this function return a value. It declares 4.0 functions, and It has 4.0 function...
Alfredredbird_tookie-osint
public
public
0
0
darktookie
def darktookie(colorScheme, console, uname):# clears the terminal when Dark tookie-osint is ranos.system("cls" if os.name == "nt" else "clear")test = Falselol = 0inputnum = 0start = FalsesiteList = []modes = ""iptext = ""try:rp = requests.get("http://ipecho.net/plain")iptext = rp.textexcept ConnectionError:print("Conne...
25
130
3
495
19
191
334
191
colorScheme,console,uname
['siteDic', 'test', 'input3', 'lol', 'file_path', 'siteList', 'dir_path', 'rp', 'iptext', 'inputnum', 'input2', 'input1', 'response', 'siteN', 'torPassword', 'start', 'modes', 'tr', 'file_name']
Returns
{"Assign": 28, "Expr": 25, "For": 2, "If": 14, "Return": 2, "Try": 3, "While": 1, "With": 3}
42
144
42
["os.system", "requests.get", "print", "print", "print", "print", "print", "print", "print", "input", "lower", "input", "lower", "input", "lower", "input", "print", "print", "time.sleep", "print", "time.sleep", "open", "json.loads", "siteList.append", "print", "exit", "print", "exit", "Path.home", "os.path.join", "os.p...
0
[]
The function (darktookie) defined within the public class called public.The function start at line 191 and ends at 334. It contains 130 lines of code and it has a cyclomatic complexity of 25. It takes 3 parameters, represented as [191.0], and this function return a value. It declares 42.0 functions, and It has 42.0 fu...
Alfredredbird_tookie-osint
public
public
0
0
printFiles
def printFiles():# ha ha Only Files. Sounds like something else, I wonder what? (Only Fans)onlyfiles = [f for f in listdir("./") if isfile(join("./", f))]return onlyfiles
3
3
0
28
1
337
340
337
['onlyfiles']
Returns
{"Assign": 1, "Return": 1}
3
4
3
["listdir", "isfile", "join"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.modules_py.dirList"]
The function (printFiles) defined within the public class called public.The function start at line 337 and ends at 340. It contains 3 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 3.0 functions, It has 3.0 functions called...
Alfredredbird_tookie-osint
public
public
0
0
dirList
def dirList():# gets the files in ./tookie-osintmy_list = printFiles()columns = 3spaces = ""# prints the files neetlyfor first, second, third in zip(my_list[::columns], my_list[1::columns], my_list[2::columns]):print(f"{Fore.RED + first: <10}{spaces}{Fore.GREEN + second: <10}{spaces}{Fore.BLUE + third + Fore.RESET}")
2
10
0
50
3
343
354
343
['spaces', 'my_list', 'columns']
None
{"Assign": 3, "Expr": 1, "For": 1}
3
12
3
["printFiles", "zip", "print"]
0
[]
The function (dirList) defined within the public class called public.The function start at line 343 and ends at 354. It contains 10 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters and does not return any value. It declares 3.0 functions, and It has 3.0 functions called ...
Alfredredbird_tookie-osint
public
public
0
0
catFile
def catFile(colorScheme):file_path = input("Filname:⤷ ")try:with open(file_path, "r") as f:for jsonObj in f:siteDic = json.loads(jsonObj)print(siteDic)except FileNotFoundError:print(colorScheme + "Cant Find Site File")except json.JSONDecodeError:print(colorScheme + "Error With Site File" + Fore.RESET)
4
11
1
64
2
357
368
357
colorScheme
['file_path', 'siteDic']
None
{"Assign": 2, "Expr": 3, "For": 1, "Try": 1, "With": 1}
6
12
6
["input", "open", "json.loads", "print", "print", "print"]
0
[]
The function (catFile) defined within the public class called public.The function start at line 357 and ends at 368. It contains 11 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value. It declares 6.0 functions, and It has 6.0 functions called ...
Alfredredbird_tookie-osint
public
public
0
0
scriptDownloader
def scriptDownloader(sitePaths, extinsion, count):file1 = open(sitePaths, "r")Lines = file1.readlines()L = [Lines]for line in Lines:count += 1# downloads the file from the siteprint("Downloading File: " + line)url = liner = requests.get(url, allow_redirects=True)try:open(globalPath(config) + "file" + str(count) + extin...
4
17
3
101
5
371
388
371
sitePaths,extinsion,count
['Lines', 'r', 'L', 'url', 'file1']
None
{"Assign": 5, "AugAssign": 1, "Expr": 4, "For": 1, "Try": 1}
10
18
10
["open", "file1.readlines", "print", "requests.get", "write", "open", "globalPath", "str", "print", "print"]
0
[]
The function (scriptDownloader) defined within the public class called public.The function start at line 371 and ends at 388. It contains 17 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [371.0] and does not return any value. It declares 10.0 functions, and It has 10.0 fu...
Alfredredbird_tookie-osint
public
public
0
0
errorCodes
def errorCodes(ec):ec = 1return ec
1
3
1
10
1
391
393
391
ec
['ec']
Returns
{"Assign": 1, "Return": 1}
0
3
0
[]
0
[]
The function (errorCodes) defined within the public class called public.The function start at line 391 and ends at 393. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value..
Alfredredbird_tookie-osint
public
public
0
0
download_images
def download_images(image_urls, output_directory):for url in image_urls:try:image_filename = os.path.join(output_directory, os.path.basename(url))wget.download(url, image_filename)print(f"Downloaded: {image_filename}")except Exception as e:print(f"Error downloading image: {e}")
3
8
2
56
1
397
404
397
image_urls,output_directory
['image_filename']
None
{"Assign": 1, "Expr": 3, "For": 1, "Try": 1}
5
8
5
["os.path.join", "os.path.basename", "wget.download", "print", "print"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.modules_py.imgandVidDownlaod"]
The function (download_images) defined within the public class called public.The function start at line 397 and ends at 404. It contains 8 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [397.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions c...
Alfredredbird_tookie-osint
public
public
0
0
download_videos
def download_videos(video_urls, output_directory):for url in video_urls:try:video_filename = os.path.join(output_directory, os.path.basename(url))wget.download(url, video_filename)print(f"Downloaded: {video_filename}")except Exception as e:print(f"Error downloading video: {e}")
3
8
2
56
1
408
415
408
video_urls,output_directory
['video_filename']
None
{"Assign": 1, "Expr": 3, "For": 1, "Try": 1}
5
8
5
["os.path.join", "os.path.basename", "wget.download", "print", "print"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.modules_py.imgandVidDownlaod"]
The function (download_videos) defined within the public class called public.The function start at line 408 and ends at 415. It contains 8 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [408.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions c...
Alfredredbird_tookie-osint
public
public
0
0
globalPath
def globalPath(config):config.read("./config/config.ini")path = config.get("main", "defaultDlPath")return path
1
4
1
23
1
418
421
418
config
['path']
Returns
{"Assign": 1, "Expr": 1, "Return": 1}
2
4
2
["config.read", "config.get"]
4
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.modules_py.imgandVidDownlaod", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.modules_py.scriptDownloader", "_.content.gdrive.My...
The function (globalPath) defined within the public class called public.The function start at line 418 and ends at 421. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declares 2.0 functions, It has 2.0 functions called...
Alfredredbird_tookie-osint
public
public
0
0
imgandVidDownlaod
def imgandVidDownlaod(input2):url = input2output_directory = globalPath(config)# Create the output directory if it doesn't existos.makedirs(output_directory, exist_ok=True)# Send an HTTP GET request to the URLresponse = requests.get(url)if response.status_code == 200:soup = BeautifulSoup(response.text, "html.parser")# ...
6
15
1
120
8
424
446
424
input2
['soup', 'output_directory', 'video_tags', 'url', 'img_urls', 'response', 'video_urls', 'img_tags']
None
{"Assign": 8, "Expr": 4, "If": 1}
9
23
9
["globalPath", "os.makedirs", "requests.get", "BeautifulSoup", "soup.find_all", "download_images", "soup.find_all", "download_videos", "print"]
0
[]
The function (imgandVidDownlaod) defined within the public class called public.The function start at line 424 and ends at 446. It contains 15 lines of code and it has a cyclomatic complexity of 6. The function does not take any parameters and does not return any value. It declares 9.0 functions, and It has 9.0 functio...
Alfredredbird_tookie-osint
public
public
0
0
get_random_string
def get_random_string(length):# choose from all lowercase letterletters = string.ascii_lowercaseresult_str = "".join(random.choice(letters) for i in range(length))return result_str
2
4
1
32
2
449
453
449
length
['letters', 'result_str']
Returns
{"Assign": 2, "Return": 1}
3
5
3
["join", "random.choice", "range"]
5
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70017200_azure_az_hop.playbooks.roles.ood_applications.files.bc_amlsdk.template.amlwrapperfunctions_py.runjob", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94501511_fepitre_qubes_builderv2.tests.test_scripts_py.te...
The function (get_random_string) defined within the public class called public.The function start at line 449 and ends at 453. It contains 4 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declares 3.0 functions, It has 3.0 functions...
Alfredredbird_tookie-osint
public
public
0
0
emptyModule
def emptyModule():"""This Module is empty and does nothing. Its for when tookie-osint needs to return something"""return True
1
2
0
7
0
456
460
456
[]
Returns
{"Expr": 1, "Return": 1}
0
5
0
[]
0
[]
The function (emptyModule) defined within the public class called public.The function start at line 456 and ends at 460. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value..
Alfredredbird_tookie-osint
public
public
0
0
parse_args
def parse_args():parser = argparse.ArgumentParser(description="tookie-osint OSINT Tool (Command-Line)")parser.add_argument("-s", "--scan",action="store_true",help="Run tookie-osint scan")parser.add_argument("-u", "--username", type=str,help="Specify target username(s) (comma-separated)")parser.add_argument("-f", "--fas...
1
37
0
132
1
463
499
463
['parser']
Returns
{"Assign": 1, "Expr": 7, "Return": 1}
9
37
9
["argparse.ArgumentParser", "parser.add_argument", "parser.add_argument", "parser.add_argument", "parser.add_argument", "parser.add_argument", "parser.add_argument", "parser.add_argument", "parser.parse_args"]
19
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527106_swcarpentry_modern_scientific_authoring.bin.extract_figures_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527106_swcarpentry_modern_scientific_authoring.bin.lesson_check_py.main", "_.content.gdriv...
The function (parse_args) defined within the public class called public.The function start at line 463 and ends at 499. It contains 37 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declares 9.0 functions, It has 9.0 functions calle...
Alfredredbird_tookie-osint
public
public
0
0
csvmaker
def csvmaker(input_file, output_file, string_list):# Open the input text file for readingwith open(input_file, 'r') as txt_file:# Read lines from the text filelines = txt_file.readlines()# Remove newline characters from each linelines = [line.strip() for line in lines]# Split each line into date and URLdata = [(line[:1...
4
16
3
145
5
503
533
503
input_file,output_file,string_list
['lines', 'plus_count', 'minus_count', 'csv_writer', 'data']
None
{"Assign": 6, "AugAssign": 2, "Expr": 4, "For": 1, "With": 2}
13
31
13
["open", "txt_file.readlines", "line.strip", "open", "s.count", "s.count", "csv.writer", "csv_writer.writerow", "csv_writer.writerows", "print", "print", "str", "str"]
0
[]
The function (csvmaker) defined within the public class called public.The function start at line 503 and ends at 533. It contains 16 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [503.0] and does not return any value. It declares 13.0 functions, and It has 13.0 functions ...
Alfredredbird_tookie-osint
public
public
0
0
loadHeaders
def loadHeaders(config):headers = []try: with open("proxys/headers.txt") as h:for line in h:headers.append(line.strip()) return headersexcept Exception as e:try: install = input("Looks Like You Dont Have A User Agent File! Want To Download One? (948kb) [y/n]: ") if install.lower() == "y":response = requests.get("https:...
7
31
1
189
6
537
574
537
config
['directory', 'headers', 'install', 'response', 'lines', 'text_content']
Returns
{"Assign": 7, "Expr": 8, "For": 1, "If": 3, "Return": 3, "Try": 2, "With": 2}
20
38
20
["open", "headers.append", "line.strip", "input", "install.lower", "requests.get", "text_content.splitlines", "join", "os.path.dirname", "os.path.exists", "os.makedirs", "open", "file.write", "print", "time.sleep", "print", "print", "config.get", "print", "config.get"]
0
[]
The function (loadHeaders) defined within the public class called public.The function start at line 537 and ends at 574. It contains 31 lines of code and it has a cyclomatic complexity of 7. The function does not take any parameters, and this function return a value. It declares 20.0 functions, and It has 20.0 functio...
Alfredredbird_tookie-osint
public
public
0
0
get_local_ip
def get_local_ip():try:# Create a socket objects = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)# Connect to a public DNS server (Google's)s.connect(("8.8.8.8", 80))# Get the socket's own addressip = s.getsockname()[0]s.close()return ipexcept Exception as e:print(f"Error: {e}")return None
2
10
0
59
2
576
588
576
['s', 'ip']
Returns
{"Assign": 2, "Expr": 3, "Return": 2, "Try": 1}
5
13
5
["socket.socket", "s.connect", "s.getsockname", "s.close", "print"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.printmodules_py.logo", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95285740_lightinglibs_flux_led.examples.mockdevice_py.MagicHomeDiscoveryProtocol.__init__"]
The function (get_local_ip) defined within the public class called public.The function start at line 576 and ends at 588. It contains 10 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declares 5.0 functions, It has 5.0 functions cal...
Alfredredbird_tookie-osint
public
public
0
0
get_site_names
def get_site_names(json_path="sites/emailsites.json"):try:with open(json_path, "r") as file:data = json.load(file)# Return the keys of the JSON object as a listreturn list(data.keys())except FileNotFoundError:print(f"File not found: {json_path}")return []except json.JSONDecodeError:print("Error decoding JSON.")return [...
3
11
1
59
1
590
601
590
json_path
['data']
Returns
{"Assign": 1, "Expr": 2, "Return": 3, "Try": 1, "With": 1}
6
12
6
["open", "json.load", "list", "data.keys", "print", "print"]
0
[]
The function (get_site_names) defined within the public class called public.The function start at line 590 and ends at 601. It contains 11 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 6.0 functions, and It has 6.0 functi...
Alfredredbird_tookie-osint
public
public
0
0
pluginUpdater
def pluginUpdater():config_path = 'config/config.ini'config = configparser.ConfigParser()config.read(config_path)# Ensure 'Plugins' section exists, create it if notif not config.has_section('Plugins'):config.add_section('Plugins')# List files in the /plugins/ directoryplugins_dir = 'plugins'plugin_files = [f for f in o...
8
18
0
154
5
6
38
6
['config', 'plugin_files', 'plugins_dir', 'config_path', 'plugin_name']
None
{"Assign": 5, "Expr": 6, "For": 2, "If": 3, "With": 1}
15
33
15
["configparser.ConfigParser", "config.read", "config.has_section", "config.add_section", "os.listdir", "os.path.isfile", "os.path.join", "config.options", "config.remove_option", "os.path.splitext", "config.has_option", "config.set", "open", "config.write", "print"]
0
[]
The function (pluginUpdater) defined within the public class called public.The function start at line 6 and ends at 38. It contains 18 lines of code and it has a cyclomatic complexity of 8. The function does not take any parameters and does not return any value. It declares 15.0 functions, and It has 15.0 functions ca...
Alfredredbird_tookie-osint
public
public
0
0
toggle_plugin_status
def toggle_plugin_status(plugin_name, new_status):# Read config.iniconfig_path = 'config/config.ini'config = configparser.ConfigParser()config.read(config_path)# Ensure 'Plugins' section exists, create it if notif not config.has_section('Plugins'):config.add_section('Plugins')# Check if the plugin exists in the configi...
4
16
2
115
2
41
64
41
plugin_name,new_status
['config', 'config_path']
None
{"Assign": 2, "Expr": 7, "If": 3, "With": 1}
14
24
14
["configparser.ConfigParser", "config.read", "config.has_section", "config.add_section", "config.has_option", "config.getboolean", "config.set", "lower", "str", "print", "open", "config.write", "print", "print"]
0
[]
The function (toggle_plugin_status) defined within the public class called public.The function start at line 41 and ends at 64. It contains 16 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [41.0] and does not return any value. It declares 14.0 functions, and It has 14.0 f...
Alfredredbird_tookie-osint
public
public
0
0
list_plugin_status
def list_plugin_status():# Read config.iniconfig_path = 'config/config.ini'config = configparser.ConfigParser()config.read(config_path)# Ensure 'Plugins' section existsif config.has_section('Plugins'):# Check if all plugins are disabledall_disabled = all(not config.getboolean('Plugins', plugin_name, fallback=False) for...
6
15
0
102
4
67
87
67
['config', 'config_path', 'plugin_status', 'all_disabled']
None
{"Assign": 4, "Expr": 4, "For": 1, "If": 3}
11
21
11
["configparser.ConfigParser", "config.read", "config.has_section", "all", "config.getboolean", "config.options", "print", "config.options", "config.getboolean", "print", "print"]
0
[]
The function (list_plugin_status) defined within the public class called public.The function start at line 67 and ends at 87. It contains 15 lines of code and it has a cyclomatic complexity of 6. The function does not take any parameters and does not return any value. It declares 11.0 functions, and It has 11.0 functi...
Alfredredbird_tookie-osint
public
public
0
0
print_and_run_plugins
def print_and_run_plugins():# Read config.iniconfig_path = 'config/config.ini'config = configparser.ConfigParser()config.read(config_path)# Ensure 'Plugins' section existsif config.has_section('Plugins'):enabled_plugins = [plugin_name for plugin_name in config.options('Plugins') if config.getboolean('Plugins', plugin_n...
9
31
0
193
7
90
126
90
['config', 'enabled_plugins', 'config_path', 'selected_plugin', 'plugin_dir', 'choice', 'process']
None
{"Assign": 8, "Expr": 10, "For": 1, "If": 4, "Return": 1, "Try": 1}
21
37
21
["configparser.ConfigParser", "config.read", "config.has_section", "config.options", "config.getboolean", "print", "print", "print", "enumerate", "print", "int", "input", "len", "config.get", "print", "subprocess.Popen", "subprocess.Popen", "process.wait", "print", "print", "print"]
0
[]
The function (print_and_run_plugins) defined within the public class called public.The function start at line 90 and ends at 126. It contains 31 lines of code and it has a cyclomatic complexity of 9. The function does not take any parameters and does not return any value. It declares 21.0 functions, and It has 21.0 fu...
Alfredredbird_tookie-osint
public
public
0
0
logo
def logo(colorScheme, uname, version, config):config.read("./config/config.ini")browser = config.get("main", "browser")prerelease = config.get("main", "prerelease")line1 = config.get("Personalizations", "showline1")line2 = config.get("Personalizations", "showline2")line3 = config.get("Personalizations", "showline3")os....
6
104
4
296
5
18
126
18
colorScheme,uname,version,config
['line2', 'line1', 'line3', 'prerelease', 'browser']
None
{"Assign": 5, "Expr": 23, "If": 4}
34
109
34
["config.read", "config.get", "config.get", "config.get", "config.get", "config.get", "os.system", "print", "print", "print", "print", "print", "print", "print", "platform.system", "platform.release", "print", "print", "print", "str", "platform.node", "print", "print", "print", "print", "platform.python_version", "prin...
0
[]
The function (logo) defined within the public class called public.The function start at line 18 and ends at 126. It contains 104 lines of code and it has a cyclomatic complexity of 6. It takes 4 parameters, represented as [18.0] and does not return any value. It declares 34.0 functions, and It has 34.0 functions calle...
Alfredredbird_tookie-osint
public
public
0
0
print_help
def print_help():print("""██╗ ██╗███████╗ █████╗██████╗ ███████╗██║ ██║██╔════╝██╔══██╗██╔════╝ ██╔════╝██║ ██║███████╗███████║██║███╗█████╗██║ ██║╚════██║██╔══██║██║ ██║██╔══╝╚██████╔╝███████║██║██║╚██████╔╝███████╗ ╚═════╝ ╚══════╝╚═╝╚═╝ ╚═════╝ ╚══════╝\\(o>(o>Usage: [USERNAME] //\//\[OPTIONS]V_/V_/ ================...
1
81
0
8
0
129
209
129
[]
None
{"Expr": 1}
1
81
1
["print"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3546011_hashdist_hashdist.hashdist.cli.main_py.Help.run", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3967133_openstack_python_troveclient.troveclient.shell_py.OpenStackTroveShell.do_help"]
The function (print_help) defined within the public class called public.The function start at line 129 and ends at 209. It contains 81 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, It has 1.0 function called insid...
Alfredredbird_tookie-osint
public
public
0
0
wiki
def wiki(language_module):os.system("cls" if os.name == "nt" else "clear")print("""░▀█▀░▄▀▄░▄▀▄░█▄▀░█▒██▀░░░█░░▒█░█░█▄▀░█▄▀░█░░░░░▒█▒░▀▄▀░▀▄▀░█▒█░█░█▄▄▒░░▀▄▀▄▀░█░█▒█░█▒█░█▒░▒░""")# Read options from the INI fileconfig = configparser.ConfigParser()config.read("config/config.ini")for i, (option, link) in enumerate(config...
4
28
1
154
5
212
246
212
language_module
['config', 'custom_label', 'search', 'selected_option', 'option_index']
Returns
{"Assign": 5, "Expr": 7, "For": 1, "Return": 1, "Try": 1}
16
35
16
["os.system", "print", "configparser.ConfigParser", "config.read", "enumerate", "config.items", "get", "option.lower", "print", "input", "int", "list", "config.items", "print", "print", "returntotookie"]
0
[]
The function (wiki) defined within the public class called public.The function start at line 212 and ends at 246. It contains 28 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters, and this function return a value. It declares 16.0 functions, and It has 16.0 functions call...
Alfredredbird_tookie-osint
public
public
0
0
returntotookie
def returntotookie(seconds, language_module):print(language_module.status4)time.sleep(seconds)
1
3
2
19
0
249
251
249
seconds,language_module
[]
None
{"Expr": 2}
2
3
2
["print", "time.sleep"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.printmodules_py.wiki"]
The function (returntotookie) defined within the public class called public.The function start at line 249 and ends at 251. It contains 3 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [249.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions ca...
Alfredredbird_tookie-osint
public
public
0
0
unameinfo
def unameinfo(uname, language_module):print(language_module.rqUname + uname)
1
2
2
15
0
254
255
254
uname,language_module
[]
None
{"Expr": 1}
1
2
1
["print"]
0
[]
The function (unameinfo) defined within the public class called public.The function start at line 254 and ends at 255. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [254.0] and does not return any value. It declare 1.0 function, and It has 1.0 function calle...
Alfredredbird_tookie-osint
public
public
0
0
emailinfo
def emailinfo(uname):print(uname)
1
2
1
9
0
257
258
257
uname
[]
None
{"Expr": 1}
1
2
1
["print"]
0
[]
The function (emailinfo) defined within the public class called public.The function start at line 257 and ends at 258. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, and It has 1.0 function called in...
Alfredredbird_tookie-osint
public
public
0
0
report
def report(urls,uname):# Ensure the reports directory existsif not os.path.exists('./reports'):os.makedirs('./reports')# Define the report file pathreport_file_path = f'./reports/{uname}.txt'with open(report_file_path, 'w', encoding='utf-8') as report_file:for url in urls:# Headers to mimic a browser requestcurrent_dat...
24
87
2
575
19
9
115
9
urls,uname
['script_tags', 'subscriber_count', 'description_meta', 'report_file_path', 'name_text', 'handle_text', 'current_date', 'title_text', 'title_tag', 'soup', 'device_type', 'headers', 'handle_tag', 'response', 'name_tag', 'videos_count', 'json_str', 'twitch_title_meta', 'data']
None
{"Assign": 23, "Expr": 21, "For": 2, "If": 14, "Try": 3, "With": 1}
46
107
46
["os.path.exists", "os.makedirs", "open", "strftime", "datetime.now", "requests.get", "BeautifulSoup", "soup.find", "title_tag.get_text", "report_file.write", "report_file.write", "soup.find", "title_tag.get_text", "report_file.write", "title_text.replace", "report_file.write", "soup.find", "title_tag.get_text", "repor...
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69906168_bjlittle_geovista._github.scripts.changelog_py.main"]
The function (report) defined within the public class called public.The function start at line 9 and ends at 115. It contains 87 lines of code and it has a cyclomatic complexity of 24. It takes 2 parameters, represented as [9.0] and does not return any value. It declares 46.0 functions, It has 46.0 functions called ins...
Alfredredbird_tookie-osint
public
public
0
0
extract_urls
def extract_urls(file_path):urls = []url_pattern = re.compile(r'https?://[^\s]+')with open(file_path, 'r') as file:for line in file:match = url_pattern.search(line)if match:urls.append(match.group())return urls
3
9
1
56
3
117
126
117
file_path
['match', 'url_pattern', 'urls']
Returns
{"Assign": 3, "Expr": 1, "For": 1, "If": 1, "Return": 1, "With": 1}
5
10
5
["re.compile", "open", "url_pattern.search", "urls.append", "match.group"]
0
[]
The function (extract_urls) defined within the public class called public.The function start at line 117 and ends at 126. It contains 9 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 5.0 functions, and It has 5.0 functions...
Alfredredbird_tookie-osint
public
public
0
0
Startscan
def Startscan(modes,siteN,uname,cError,ec,f,siteProgcounter,siteNSFW,ars,webscrape,siteErrors,date,language_module,randomheaders,webhook_url):try:if config["main"]["userandomuseragents"] == "no":header = {"User-Agent": config["Personalizations"]["useragent"]}elif config["main"]["userandomuseragents"] == "yes" and os.pa...
40
146
15
950
9
31
197
31
modes,siteN,uname,cError,ec,f,siteProgcounter,siteNSFW,ars,webscrape,siteErrors,date,language_module,randomheaders,webhook_url
['header', 'proxies_setting', 'error_to_find', 'allow_redirects_setting', 'website_url', 'connection_error', 'response', 'timeout_setting', 'result']
Returns
{"Assign": 12, "AugAssign": 1, "Expr": 24, "If": 21, "Return": 8, "Try": 1}
45
167
45
["os.path.exists", "str", "random.choice", "print", "os.path.exists", "requests.get", "scraper.scrape", "print", "print", "f.write", "str", "str", "print", "f.write", "str", "str", "print", "f.write", "str", "send_webhook_message", "str", "print", "f.write", "str", "str", "print", "f.write", "str", "str", "print", "f.w...
0
[]
The function (Startscan) defined within the public class called public.The function start at line 31 and ends at 197. It contains 146 lines of code and it has a cyclomatic complexity of 40. It takes 15 parameters, represented as [31.0], and this function return a value. It declares 45.0 functions, and It has 45.0 func...
Alfredredbird_tookie-osint
public
public
0
0
scanFileList
def scanFileList(siteList, slectpath, language_module):try:with open(slectpath, "r") as f:for jsonObj in f:siteDic = json.loads(jsonObj)siteList.append(siteDic)return siteListexcept FileNotFoundError:print(Fore.RED + language_module.error7)exit(-1)except json.JSONDecodeError:print(Fore.RED + language_module.error9 + Fo...
4
13
3
84
1
201
213
201
siteList,slectpath,language_module
['siteDic']
Returns
{"Assign": 1, "Expr": 5, "For": 1, "Return": 1, "Try": 1, "With": 1}
7
13
7
["open", "json.loads", "siteList.append", "print", "exit", "print", "exit"]
0
[]
The function (scanFileList) defined within the public class called public.The function start at line 201 and ends at 213. It contains 13 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [201.0], and this function return a value. It declares 7.0 functions, and It has 7.0 func...
Alfredredbird_tookie-osint
public
public
0
0
fileShare
def fileShare(language_module):host = input(language_module.fs1)if "Y" in host or "y" in host:print(language_module.fs2)exec(open("modules/recive.py").read())elif "N" in host or "n" in host:print(language_module.fs3)exec(open("modules/sender.py").read())else:print(language_module.idk1)
5
10
1
73
1
216
226
216
language_module
['host']
None
{"Assign": 1, "Expr": 5, "If": 2}
10
11
10
["input", "print", "exec", "read", "open", "print", "exec", "read", "open", "print"]
0
[]
The function (fileShare) defined within the public class called public.The function start at line 216 and ends at 226. It contains 10 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value. It declares 10.0 functions, and It has 10.0 functions cal...
Alfredredbird_tookie-osint
public
public
0
0
siteDownloader
def siteDownloader(language_module):input2 = input("SITE: ⤷ ")if input2 == "":lol = 1if input2 != "":try:url = str(input2)# initialize a sessionsession = requests.Session()# set the User-agent as a regular browsersession.headers["User-Agent"] = config["Personalizations"]["useragent"]# get the HTML contenthtml = session...
16
43
1
322
10
229
291
229
language_module
['css_files', 'input2', 'soup', 'script_url', 'css_url', 'url', 'lol', 'script_files', 'session', 'html']
None
{"Assign": 11, "Expr": 13, "For": 4, "If": 4, "Try": 1, "With": 2}
32
63
32
["input", "str", "requests.Session", "session.get", "bs", "soup.find_all", "script.attrs.get", "urljoin", "script.attrs.get", "script_files.append", "soup.find_all", "css.attrs.get", "urljoin", "css.attrs.get", "css_files.append", "print", "len", "print", "len", "open", "globalPath", "print", "open", "globalPath", "pri...
0
[]
The function (siteDownloader) defined within the public class called public.The function start at line 229 and ends at 291. It contains 43 lines of code and it has a cyclomatic complexity of 16. The function does not take any parameters and does not return any value. It declares 32.0 functions, and It has 32.0 functio...
Alfredredbird_tookie-osint
public
public
0
0
send_file
def send_file(filename, host, port, SEPARATOR, BUFFER_SIZE, language_module):# get the file sizefilesize = os.path.getsize(filename)# create the client sockets = socket.socket()print(f"{language_module.sender1} {host}:{port}")s.connect((host, port))print(language_module.sender2)# send the filename and filesizes.send(f"...
3
22
6
137
4
24
58
24
filename,host,port,SEPARATOR,BUFFER_SIZE,language_module
['s', 'progress', 'filesize', 'bytes_read']
None
{"Assign": 4, "Expr": 7, "If": 1, "While": 1, "With": 1}
15
35
15
["os.path.getsize", "socket.socket", "print", "s.connect", "print", "s.send", "encode", "tqdm.tqdm", "range", "open", "f.read", "s.sendall", "progress.update", "len", "s.close"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3655408_simpleai_team_simpleai.simpleai.search.web_viewer_server_py.run_server", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3966919_archivy_archivy.archivy.routes_py.serve_image"]
The function (send_file) defined within the public class called public.The function start at line 24 and ends at 58. It contains 22 lines of code and it has a cyclomatic complexity of 3. It takes 6 parameters, represented as [24.0] and does not return any value. It declares 15.0 functions, It has 15.0 functions called ...
Alfredredbird_tookie-osint
public
public
0
0
siteListGen
def siteListGen(console, testall, get_random_string, domain_extensions, uname, language_module):input2 = input("CHAR: ⤷ ")trys = input("TRYS: ⤷ ")siteType = input(" TYPE: ⤷ ")siteGenOPtions = input(" OPTIONS: ⤷ ")if siteGenOPtions == "":lol = 1if siteGenOPtions != "":if "-a" in siteGenOPtions:testall = Trueif "-d" in s...
29
151
6
642
15
25
182
25
console,testall,get_random_string,domain_extensions,uname,language_module
['input2', 'siteType', 'r', 'siteLst', 'domain_extensions', 'i', 'domains', 'testall', 'siteError', 'b', 'lol', 'f', 'gen', 'siteGenOPtions', 'trys']
None
{"Assign": 19, "AugAssign": 6, "Expr": 9, "For": 4, "If": 16, "Try": 1, "While": 3, "With": 1}
54
158
54
["input", "input", "input", "input", "console.status", "int", "siteLst.append", "str", "get_random_string", "int", "str", "int", "get_random_string", "int", "siteLst.append", "str", "range", "int", "siteLst.append", "str", "get_random_string", "int", "str", "range", "int", "get_random_string", "int", "range", "int", "s...
0
[]
The function (siteListGen) defined within the public class called public.The function start at line 25 and ends at 182. It contains 151 lines of code and it has a cyclomatic complexity of 29. It takes 6 parameters, represented as [25.0] and does not return any value. It declares 54.0 functions, and It has 54.0 functio...
Alfredredbird_tookie-osint
public
public
0
0
send_webhook_message
def send_webhook_message(webhook_url, link, uname, username="Tookie-OSINT Bot", color=0x3498db):"""Send a message to a Discord webhook with an embed.:param webhook_url: The URL of the Discord webhook:param link: The URL found during OSINT:param uname: The username found during OSINT:param avatar_url: The URL of the ima...
5
39
5
166
6
3
54
3
webhook_url,link,uname,username,color
['title', 'description', 'headers', 'avatar_url', 'response', 'data']
None
{"Assign": 6, "Expr": 4, "If": 2, "Try": 1}
7
52
7
["webhook_url.startswith", "webhook_url.startswith", "ValueError", "requests.post", "response.raise_for_status", "print", "print"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95046086_Alfredredbird_tookie_osint.modules.scanmodules_py.Startscan"]
The function (send_webhook_message) defined within the public class called public.The function start at line 3 and ends at 54. It contains 39 lines of code and it has a cyclomatic complexity of 5. It takes 5 parameters, represented as [3.0] and does not return any value. It declares 7.0 functions, It has 7.0 functions ...
Alfredredbird_tookie-osint
public
public
0
0
get_header
def get_header():headers = []try: with open("proxys/headers.txt") as h:for line in h:headers.append(line.strip()) return headersexcept Exception: print("Problem With User Agents. Please Download The User Agent File!") exit(1)
3
10
0
46
1
5
14
5
['headers']
Returns
{"Assign": 1, "Expr": 3, "For": 1, "Return": 1, "Try": 1, "With": 1}
5
10
5
["open", "headers.append", "line.strip", "print", "exit"]
0
[]
The function (get_header) defined within the public class called public.The function start at line 5 and ends at 14. It contains 10 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 5.0 functions, and It has 5.0 functions cal...
Alfredredbird_tookie-osint
public
public
0
0
replace_all_placeholders
def replace_all_placeholders(url_pattern, i):"""Replace all placeholders in the URL pattern with appropriate values."""# Replace {i} with the generated numberurl_pattern = url_pattern.replace('{i}', str(i))# Generate random text for {t}random_text = ''.join(random.choices(string.ascii_letters + string.digits, k=8))url_...
1
5
2
56
2
17
28
17
url_pattern,i
['url_pattern', 'random_text']
Returns
{"Assign": 3, "Expr": 1, "Return": 1}
5
12
5
["url_pattern.replace", "str", "join", "random.choices", "url_pattern.replace"]
0
[]
The function (replace_all_placeholders) defined within the public class called public.The function start at line 17 and ends at 28. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [17.0], and this function return a value. It declares 5.0 functions, and It has ...
Alfredredbird_tookie-osint
public
public
0
0
parse_args
def parse_args():parser = argparse.ArgumentParser(description="tookie-osint OSINT Tool (Command-Line)")parser.add_argument("-w", "--webui",action="store_true",help="Run tookie-osint with the webui")return parser.parse_args()
1
8
0
36
1
11
19
11
['parser']
Returns
{"Assign": 1, "Expr": 1, "Return": 1}
3
9
3
["argparse.ArgumentParser", "parser.add_argument", "parser.parse_args"]
19
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527106_swcarpentry_modern_scientific_authoring.bin.extract_figures_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3527106_swcarpentry_modern_scientific_authoring.bin.lesson_check_py.main", "_.content.gdriv...
The function (parse_args) defined within the public class called public.The function start at line 11 and ends at 19. It contains 8 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declares 3.0 functions, It has 3.0 functions called i...
Alfredredbird_tookie-osint
public
public
0
0
main
def main():print("tookie-osint is starting...")args = parse_args()# Check if the user is using the correct version of Pythonpython_version = sys.version.split()[0]if sys.version_info < (3, 10):print(f"tookie-osint requires Python 3.10+\nYou are using Python {python_version}, which is not supported by tookie-osint")sys....
5
20
0
107
2
22
44
22
['args', 'python_version']
None
{"Assign": 2, "Expr": 8, "If": 4}
11
23
11
["print", "parse_args", "sys.version.split", "print", "sys.exit", "print", "os.path.abspath", "os.system", "os.system", "os.system", "os.system"]
62
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3494570_keirf_greaseweazle.src.greaseweazle.cli_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3554290_abakan_zz_ablog.ablog.commands_py.ablog_build", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.O...
The function (main) defined within the public class called public.The function start at line 22 and ends at 44. It contains 20 lines of code and it has a cyclomatic complexity of 5. The function does not take any parameters and does not return any value. It declares 11.0 functions, It has 11.0 functions called inside w...
iiiiii1wepfj_alisurobot
public
public
0
0
get_bot_default_locale_lang_simple
def get_bot_default_locale_lang_simple():return default_language
1
2
0
6
0
4
5
4
[]
Returns
{"Return": 1}
0
2
0
[]
0
[]
The function (get_bot_default_locale_lang_simple) defined within the public class called public.The function start at line 4 and ends at 5. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value..
iiiiii1wepfj_alisurobot
public
public
0
0
get_bot_locale_categories_simple
def get_bot_locale_categories_simple():return bot_locales_categories_names_list
1
2
0
6
0
4
5
4
[]
Returns
{"Return": 1}
0
2
0
[]
0
[]
The function (get_bot_locale_categories_simple) defined within the public class called public.The function start at line 4 and ends at 5. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value..
iiiiii1wepfj_alisurobot
public
public
0
0
get_bot_locale_langs_simple
def get_bot_locale_langs_simple():return enabled_locales
1
2
0
6
0
4
5
4
[]
Returns
{"Return": 1}
0
2
0
[]
0
[]
The function (get_bot_locale_langs_simple) defined within the public class called public.The function start at line 4 and ends at 5. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value..
iiiiii1wepfj_alisurobot
public
public
0
0
get_bot_locale_string_simple
def get_bot_locale_string_simple(category: str,string_name: str,language: Optional[str] = default_language,):strings = partial(get_locale_string,langdict[language].get(category, langdict[default_language][category]),language,category,)res = strings(string_name)return res
1
13
3
58
2
6
18
6
category,string_name,language
['strings', 'res']
Returns
{"Assign": 2, "Return": 1}
3
13
3
["partial", "get", "strings"]
0
[]
The function (get_bot_locale_string_simple) defined within the public class called public.The function start at line 6 and ends at 18. It contains 13 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [6.0], and this function return a value. It declares 3.0 functions, and It h...
iiiiii1wepfj_alisurobot
public
public
0
0
init_database
async def init_database():await Tortoise.init(db_url="sqlite://alisu/database/alisudb.db", modules={"models": [__name__]})await Tortoise.generate_schemas()
1
5
0
29
0
55
59
55
[]
None
{"Expr": 2}
2
5
2
["Tortoise.init", "Tortoise.generate_schemas"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.__main___py.main"]
The function (init_database) defined within the public class called public.The function start at line 55 and ends at 59. It contains 5 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, It has 2.0 functions called in...
iiiiii1wepfj_alisurobot
public
public
0
0
get_reason_text
async def get_reason_text(c: Client,m: Message,) -> Message:reply = m.reply_to_messagespilt_text = m.text.splitif not reply and len(spilt_text()) >= 3:reason = spilt_text(None, 2)[2]elif reply and len(spilt_text()) >= 2:reason = spilt_text(None, 1)[1]else:reason = Nonereturn reason
5
13
2
80
3
25
37
25
c,m
['spilt_text', 'reason', 'reply']
Message
{"Assign": 5, "If": 2, "Return": 1}
6
13
6
["len", "spilt_text", "spilt_text", "len", "spilt_text", "spilt_text"]
5
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.ban", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.kick", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset...
The function (get_reason_text) defined within the public class called public.The function start at line 25 and ends at 37. It contains 13 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [25.0] and does not return any value. It declares 6.0 functions, It has 6.0 functions cal...
iiiiii1wepfj_alisurobot
public
public
0
0
mention_or_unknowen
async def mention_or_unknowen(m: Message):if m.from_user:return m.from_user.mentionelse:return "¯\_(ツ)_/¯"
2
5
1
22
0
40
44
40
m
[]
Returns
{"If": 1, "Return": 2}
0
5
0
[]
7
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.ban", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.kick", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset...
The function (mention_or_unknowen) defined within the public class called public.The function start at line 40 and ends at 44. It contains 5 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It has 7.0 functions calling this function whic...
iiiiii1wepfj_alisurobot
public
public
0
0
check_if_antichannelpin
async def check_if_antichannelpin(chat_id: int):return (await groups.get(chat_id=chat_id)).antichannelpin
1
2
1
21
0
47
48
47
chat_id
[]
Returns
{"Return": 1}
1
2
1
["groups.get"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.acp_action", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.setantichannelpin"]
The function (check_if_antichannelpin) defined within the public class called public.The function start at line 47 and ends at 48. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 functio...
iiiiii1wepfj_alisurobot
public
public
0
0
toggle_antichannelpin
async def toggle_antichannelpin(chat_id: int,mode: Optional[bool],):await groups.filter(chat_id=chat_id).update(antichannelpin=mode)
1
5
2
31
0
51
55
51
chat_id,mode
[]
None
{"Expr": 1}
2
5
2
["update", "groups.filter"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.setantichannelpin"]
The function (toggle_antichannelpin) defined within the public class called public.The function start at line 51 and ends at 55. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [51.0] and does not return any value. It declares 2.0 functions, It has 2.0 function...
iiiiii1wepfj_alisurobot
public
public
0
0
check_if_del_service
async def check_if_del_service(chat_id: int):return (await groups.get(chat_id=chat_id)).delservicemsgs
1
2
1
21
0
58
59
58
chat_id
[]
Returns
{"Return": 1}
1
2
1
["groups.get"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.delservice", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.delservice_action"]
The function (check_if_del_service) defined within the public class called public.The function start at line 58 and ends at 59. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function c...
iiiiii1wepfj_alisurobot
public
public
0
0
toggle_del_service
async def toggle_del_service(chat_id: int,mode: Optional[bool],):await groups.filter(chat_id=chat_id).update(delservicemsgs=mode)
1
5
2
31
0
62
66
62
chat_id,mode
[]
None
{"Expr": 1}
2
5
2
["update", "groups.filter"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.delservice"]
The function (toggle_del_service) defined within the public class called public.The function start at line 62 and ends at 66. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [62.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions c...
iiiiii1wepfj_alisurobot
public
public
0
0
check_if_del_anon_channel_messages
async def check_if_del_anon_channel_messages(chat_id: int):return (await groups.get(chat_id=chat_id)).del_anon_channel_messages
1
2
1
21
0
69
70
69
chat_id
[]
Returns
{"Return": 1}
1
2
1
["groups.get"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.delanonchannel", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.delanonchannel_action"]
The function (check_if_del_anon_channel_messages) defined within the public class called public.The function start at line 69 and ends at 70. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has ...
iiiiii1wepfj_alisurobot
public
public
0
0
toggle_del_anon_channel_messages
async def toggle_del_anon_channel_messages(chat_id: int,mode: Optional[bool],):await groups.filter(chat_id=chat_id).update(del_anon_channel_messages=mode)
1
5
2
31
0
73
77
73
chat_id,mode
[]
None
{"Expr": 1}
2
5
2
["update", "groups.filter"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.delanonchannel"]
The function (toggle_del_anon_channel_messages) defined within the public class called public.The function start at line 73 and ends at 77. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [73.0] and does not return any value. It declares 2.0 functions, It has 2...
iiiiii1wepfj_alisurobot
public
public
0
0
get_target_user
async def get_target_user(c: Client,m: Message,strings=None,) -> User:try:if m.reply_to_message:if m.reply_to_message.sender_chat:raise Exceptiontarget_user = m.reply_to_message.from_userelse:msg_entities = m.entities[1] if m.text.startswith("/") else m.entities[0]target_user = await c.get_users(msg_entities.user.idif ...
8
27
3
144
2
80
107
80
c,m,strings
['target_user', 'msg_entities']
User
{"Assign": 3, "If": 3, "Return": 1, "Try": 1}
7
28
7
["m.text.startswith", "c.get_users", "isdecimal", "int", "target_user_not_found_custom_exception", "strings", "target_user_not_found_custom_exception"]
8
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.ban", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.kick", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset...
The function (get_target_user) defined within the public class called public.The function start at line 80 and ends at 107. It contains 27 lines of code and it has a cyclomatic complexity of 8. It takes 3 parameters, represented as [80.0] and does not return any value. It declares 7.0 functions, It has 7.0 functions ca...
iiiiii1wepfj_alisurobot
public
public
0
0
get_target_user_and_time_and_reason
async def get_target_user_and_time_and_reason(c: Client,m: Message,strings,):reason = Noneif m.reply_to_message:if m.reply_to_message.sender_chat:returntarget_user = m.reply_to_message.from_userif len(m.text.split()) > 1:the_time_string = m.command[1]else:the_time_string = Noneif len(m.text.split()) > 2:reason = m.text...
13
49
3
306
4
110
158
110
c,m,strings
['reason', 'target_user', 'msg_entities', 'the_time_string']
Returns
{"Assign": 13, "Expr": 1, "If": 7, "Return": 5, "Try": 2}
19
49
19
["len", "m.text.split", "len", "m.text.split", "m.text.split", "m.text.startswith", "c.get_users", "isdecimal", "int", "len", "m.text.split", "len", "m.text.split", "m.text.split", "m.reply_text", "format", "strings", "time_extract", "m.reply_text"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.tban", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.admin_py.tmute"]
The function (get_target_user_and_time_and_reason) defined within the public class called public.The function start at line 110 and ends at 158. It contains 49 lines of code and it has a cyclomatic complexity of 13. It takes 3 parameters, represented as [110.0], and this function return a value. It declares 19.0 functi...
iiiiii1wepfj_alisurobot
public
public
0
0
admin_echo_cmd
async def admin_echo_cmd(c: Client, m: Message):if len(m.text.split()) > 1:if m.reply_to_message:await m.reply_to_message.reply_text(m.text.split(None, 1)[1])else:await m.reply_text(m.text.split(None, 1)[1], quote=False)
3
6
2
76
0
163
168
163
c,m
[]
None
{"Expr": 2, "If": 2}
9
6
9
["len", "m.text.split", "m.reply_to_message.reply_text", "m.text.split", "m.reply_text", "m.text.split", "Client.on_message", "filters.command", "require_admin"]
0
[]
The function (admin_echo_cmd) defined within the public class called public.The function start at line 163 and ends at 168. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [163.0] and does not return any value. It declares 9.0 functions, and It has 9.0 functio...
iiiiii1wepfj_alisurobot
public
public
0
0
del_message
async def del_message(c: Client, m: Message):try:await c.delete_messages(m.chat.id,m.reply_to_message.id,)except:passtry:await c.delete_messages(m.chat.id, m.id)except:pass
3
12
2
54
0
180
191
180
c,m
[]
None
{"Expr": 2, "Try": 2}
6
12
6
["c.delete_messages", "c.delete_messages", "Client.on_message", "filters.command", "require_admin", "bot_require_admin"]
0
[]
The function (del_message) defined within the public class called public.The function start at line 180 and ends at 191. It contains 12 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [180.0] and does not return any value. It declares 6.0 functions, and It has 6.0 functions...
iiiiii1wepfj_alisurobot
public
public
0
0
pin
async def pin(c: Client, m: Message):if m.reply_to_message:await c.pin_chat_message(m.chat.id,m.reply_to_message.id,disable_notification=True,both_sides=True,)
2
8
2
42
0
204
211
204
c,m
[]
None
{"Expr": 1, "If": 1}
5
8
5
["c.pin_chat_message", "Client.on_message", "filters.command", "require_admin", "bot_require_admin"]
0
[]
The function (pin) defined within the public class called public.The function start at line 204 and ends at 211. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [204.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions called i...
iiiiii1wepfj_alisurobot
public
public
0
0
pinloud
async def pinloud(c: Client, m: Message):if m.reply_to_message:await c.pin_chat_message(m.chat.id,m.reply_to_message.id,disable_notification=False,both_sides=True,)
2
8
2
42
0
224
231
224
c,m
[]
None
{"Expr": 1, "If": 1}
5
8
5
["c.pin_chat_message", "Client.on_message", "filters.command", "require_admin", "bot_require_admin"]
0
[]
The function (pinloud) defined within the public class called public.The function start at line 224 and ends at 231. It contains 8 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [224.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions call...
iiiiii1wepfj_alisurobot
public
public
0
0
unpin
async def unpin(c: Client, m: Message):if m.reply_to_message:await c.unpin_chat_message(m.chat.id, m.reply_to_message.id)
2
3
2
33
0
244
246
244
c,m
[]
None
{"Expr": 1, "If": 1}
5
3
5
["c.unpin_chat_message", "Client.on_message", "filters.command", "require_admin", "bot_require_admin"]
0
[]
The function (unpin) defined within the public class called public.The function start at line 244 and ends at 246. It contains 3 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [244.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions called...
iiiiii1wepfj_alisurobot
public
public
0
0
unpinall
async def unpinall(c: Client, m: Message):await c.unpin_all_chat_messages(m.chat.id)
1
2
2
22
0
259
260
259
c,m
[]
None
{"Expr": 1}
5
2
5
["c.unpin_all_chat_messages", "Client.on_message", "filters.command", "require_admin", "bot_require_admin"]
0
[]
The function (unpinall) defined within the public class called public.The function start at line 259 and ends at 260. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [259.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions cal...
iiiiii1wepfj_alisurobot
public
public
0
0
ban
async def ban(c: Client, m: Message, strings):try:target_user = await get_target_user(c, m, strings)except target_user_not_found_custom_exception as e:return await m.reply_text(e)reason = await get_reason_text(c, m)check_admin = await c.get_chat_member(m.chat.id, target_user.id)mentionadm = await mention_or_unknowen(m)...
4
22
3
160
5
268
289
268
c,m,strings
['check_admin', 'text', 'reason', 'mentionadm', 'target_user']
Returns
{"Assign": 5, "Expr": 4, "If": 2, "Return": 1, "Try": 1}
19
22
19
["get_target_user", "m.reply_text", "get_reason_text", "c.get_chat_member", "mention_or_unknowen", "c.ban_chat_member", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_require_admin"]
0
[]
The function (ban) defined within the public class called public.The function start at line 268 and ends at 289. It contains 22 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [268.0], and this function return a value. It declares 19.0 functions, and It has 19.0 functions c...
iiiiii1wepfj_alisurobot
public
public
0
0
dban
async def dban(c: Client, m: Message, strings):if m.reply_to_message:if not m.reply_to_message.from_user:returncheck_admin = await c.get_chat_member(m.chat.id, m.reply_to_message.from_user.id)if check_admin.status not in admin_status:kick_member_msg = await c.ban_chat_member(m.chat.id, m.reply_to_message.from_user.id)a...
4
16
3
109
2
301
316
301
c,m,strings
['check_admin', 'kick_member_msg']
None
{"Assign": 2, "Expr": 4, "If": 3, "Return": 1}
12
16
12
["c.get_chat_member", "c.ban_chat_member", "m.reply_to_message.delete", "m.delete", "kick_member_msg.delete", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_require_admin"]
0
[]
The function (dban) defined within the public class called public.The function start at line 301 and ends at 316. It contains 16 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [301.0] and does not return any value. It declares 12.0 functions, and It has 12.0 functions call...
iiiiii1wepfj_alisurobot
public
public
0
0
kick
async def kick(c: Client, m: Message, strings):try:target_user = await get_target_user(c, m, strings)except target_user_not_found_custom_exception as e:return await m.reply_text(e)reason = await get_reason_text(c, m)check_admin = await c.get_chat_member(m.chat.id, target_user.id)if check_admin.status not in admin_statu...
4
23
3
171
5
324
346
324
c,m,strings
['check_admin', 'text', 'reason', 'mentionadm', 'target_user']
Returns
{"Assign": 5, "Expr": 5, "If": 2, "Return": 1, "Try": 1}
20
23
20
["get_target_user", "m.reply_text", "get_reason_text", "c.get_chat_member", "mention_or_unknowen", "c.ban_chat_member", "m.chat.unban_member", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "b...
0
[]
The function (kick) defined within the public class called public.The function start at line 324 and ends at 346. It contains 23 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [324.0], and this function return a value. It declares 20.0 functions, and It has 20.0 functions ...
iiiiii1wepfj_alisurobot
public
public
0
0
dkick
async def dkick(c: Client, m: Message, strings):if m.reply_to_message:if not m.reply_to_message.from_user:returncheck_admin = await c.get_chat_member(m.chat.id, m.reply_to_message.from_user.id)if check_admin.status not in admin_status:kick_member_msg = await c.ban_chat_member(m.chat.id, m.reply_to_message.from_user.id)...
4
17
3
124
2
364
380
364
c,m,strings
['check_admin', 'kick_member_msg']
None
{"Assign": 2, "Expr": 5, "If": 3, "Return": 1}
13
17
13
["c.get_chat_member", "c.ban_chat_member", "m.chat.unban_member", "m.reply_to_message.delete", "m.delete", "kick_member_msg.delete", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_require_admin"]
0
[]
The function (dkick) defined within the public class called public.The function start at line 364 and ends at 380. It contains 17 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [364.0] and does not return any value. It declares 13.0 functions, and It has 13.0 functions cal...
iiiiii1wepfj_alisurobot
public
public
0
0
unban
async def unban(c: Client, m: Message, strings):try:target_user = await get_target_user(c, m, strings)except target_user_not_found_custom_exception as e:return await m.reply_text(e)reason = await get_reason_text(c, m)await m.chat.unban_member(target_user.id)mentionadm = await mention_or_unknowen(m)text = strings("unban...
3
18
3
119
4
388
405
388
c,m,strings
['reason', 'mentionadm', 'target_user', 'text']
Returns
{"Assign": 4, "Expr": 3, "If": 1, "Return": 1, "Try": 1}
16
18
16
["get_target_user", "m.reply_text", "get_reason_text", "m.chat.unban_member", "mention_or_unknowen", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_require_admin"]
0
[]
The function (unban) defined within the public class called public.The function start at line 388 and ends at 405. It contains 18 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [388.0], and this function return a value. It declares 16.0 functions, and It has 16.0 functions...
iiiiii1wepfj_alisurobot
public
public
0
0
mute
async def mute(c: Client, m: Message, strings):try:target_user = await get_target_user(c, m, strings)except target_user_not_found_custom_exception as e:return await m.reply_text(e)reason = await get_reason_text(c, m)check_admin = await c.get_chat_member(m.chat.id, target_user.id)if check_admin.status not in admin_statu...
4
26
3
168
5
413
438
413
c,m,strings
['check_admin', 'text', 'reason', 'mentionadm', 'target_user']
Returns
{"Assign": 5, "Expr": 4, "If": 2, "Return": 1, "Try": 1}
20
26
20
["get_target_user", "m.reply_text", "get_reason_text", "c.get_chat_member", "c.restrict_chat_member", "ChatPermissions", "mention_or_unknowen", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "...
10
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918618_moveangel_one4ubot.userbot.modules.admin_py.spider", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69709534_toni880_tonic_userbot.userbot.modules.admin_py.spider", "_.content.gdrive.MyDrive.Phd_Thesis.Datase...
The function (mute) defined within the public class called public.The function start at line 413 and ends at 438. It contains 26 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [413.0], and this function return a value. It declares 20.0 functions, It has 20.0 functions calle...
iiiiii1wepfj_alisurobot
public
public
0
0
dmute
async def dmute(c: Client, m: Message, strings):if m.reply_to_message:if not m.reply_to_message.from_user:returncheck_admin = await c.get_chat_member(m.chat.id,m.reply_to_message.from_user.id,)if check_admin.status not in admin_status:await c.restrict_chat_member(m.chat.id,m.reply_to_message.from_user.id,ChatPermission...
4
18
3
110
1
456
474
456
c,m,strings
['check_admin']
None
{"Assign": 1, "Expr": 4, "If": 3, "Return": 1}
12
19
12
["c.get_chat_member", "c.restrict_chat_member", "ChatPermissions", "m.reply_to_message.delete", "m.delete", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_require_admin"]
0
[]
The function (dmute) defined within the public class called public.The function start at line 456 and ends at 474. It contains 18 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [456.0] and does not return any value. It declares 12.0 functions, and It has 12.0 functions cal...
iiiiii1wepfj_alisurobot
public
public
0
0
unmute
async def unmute(c: Client, m: Message, strings):try:target_user = await get_target_user(c, m, strings)except target_user_not_found_custom_exception as e:return await m.reply_text(e)reason = await get_reason_text(c, m)await m.chat.unban_member(target_user.id)mentionadm = await mention_or_unknowen(m)text = strings("unmu...
3
18
3
119
4
482
499
482
c,m,strings
['reason', 'mentionadm', 'target_user', 'text']
Returns
{"Assign": 4, "Expr": 3, "If": 1, "Return": 1, "Try": 1}
16
18
16
["get_target_user", "m.reply_text", "get_reason_text", "m.chat.unban_member", "mention_or_unknowen", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_require_admin"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3918618_moveangel_one4ubot.userbot.modules.admin_py.unmoot", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69709534_toni880_tonic_userbot.userbot.modules.admin_py.unmoot"]
The function (unmute) defined within the public class called public.The function start at line 482 and ends at 499. It contains 18 lines of code and it has a cyclomatic complexity of 3. It takes 3 parameters, represented as [482.0], and this function return a value. It declares 16.0 functions, It has 16.0 functions cal...
iiiiii1wepfj_alisurobot
public
public
0
0
tmute
async def tmute(c: Client, m: Message, strings):get_tmute_info = await get_target_user_and_time_and_reason(c, m, strings)if not get_tmute_info:returnelse:(target_user,mute_time,mute_time_str,the_reason,time_unix_now,) = get_tmute_infocheck_if_valid_tmute_range = check_if_ban_time_range(mute_time, time_unix_now)if not c...
4
36
3
167
5
507
542
507
c,m,strings
['check_if_valid_tmute_range', 'the_tmute_message_text', 'the_mute_time_datetime_obj', 'get_tmute_info', 'mentionadm']
Returns
{"Assign": 6, "Expr": 3, "If": 3, "Return": 2}
19
36
19
["get_target_user_and_time_and_reason", "check_if_ban_time_range", "m.reply_text", "strings", "datetime.utcfromtimestamp", "c.restrict_chat_member", "ChatPermissions", "mention_or_unknowen", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "Client.on_message", "filters.command", "use_chat_lang"...
0
[]
The function (tmute) defined within the public class called public.The function start at line 507 and ends at 542. It contains 36 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [507.0], and this function return a value. It declares 19.0 functions, and It has 19.0 functions...
iiiiii1wepfj_alisurobot
public
public
0
0
tban
async def tban(c: Client, m: Message, strings):get_tban_info = await get_target_user_and_time_and_reason(c, m, strings)if not get_tban_info:returnelse:target_user, ban_time, ban_time_str, the_reason, time_unix_now = get_tban_infocheck_if_valid_tban_range = check_if_ban_time_range(ban_time, time_unix_now)if not check_if...
4
27
3
156
5
550
576
550
c,m,strings
['the_ban_time_datetime_obj', 'the_tban_message_text', 'get_tban_info', 'mentionadm', 'check_if_valid_tban_range']
Returns
{"Assign": 6, "Expr": 3, "If": 3, "Return": 2}
18
27
18
["get_target_user_and_time_and_reason", "check_if_ban_time_range", "m.reply_text", "strings", "datetime.utcfromtimestamp", "c.ban_chat_member", "mention_or_unknowen", "format", "strings", "m.reply_text", "format", "strings", "m.reply_text", "Client.on_message", "filters.command", "use_chat_lang", "require_admin", "bot_...
0
[]
The function (tban) defined within the public class called public.The function start at line 550 and ends at 576. It contains 27 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [550.0], and this function return a value. It declares 18.0 functions, and It has 18.0 functions ...
iiiiii1wepfj_alisurobot
public
public
0
0
purge
async def purge(c: Client, m: Message, strings):"""Purge upto the replied message."""status_message = await m.reply_text(strings("purge_in_progress"), quote=True)await m.delete()message_ids = []count_del_etion_s = 0if m.reply_to_message:for a_s_message_id in range(m.reply_to_message.id, m.id):message_ids.append(a_s_mes...
5
28
3
176
3
590
618
590
c,m,strings
['status_message', 'message_ids', 'count_del_etion_s']
None
{"Assign": 4, "AugAssign": 2, "Expr": 8, "For": 1, "If": 3}
21
29
21
["m.reply_text", "strings", "m.delete", "range", "message_ids.append", "len", "c.delete_messages", "len", "len", "c.delete_messages", "len", "status_message.edit_text", "format", "strings", "asyncio.sleep", "status_message.delete", "Client.on_message", "filters.command", "require_admin", "bot_require_admin", "use_chat_...
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688630_openstack_python_zaqarclient.zaqarclient.queues.v2.cli_py.PurgeQueue.take_action", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69709534_toni880_tonic_userbot.userbot.modules.animations_py.cmm", "_.content....
The function (purge) defined within the public class called public.The function start at line 590 and ends at 618. It contains 28 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [590.0] and does not return any value. It declares 21.0 functions, It has 21.0 functions called i...
iiiiii1wepfj_alisurobot
public
public
0
0
setantichannelpin
async def setantichannelpin(c: Client, m: Message, strings):if len(m.text.split()) > 1:if m.command[1] == "on":await toggle_antichannelpin(m.chat.id, True)await m.reply_text(strings("antichannelpin_enabled"))elif m.command[1] == "off":await toggle_antichannelpin(m.chat.id, False)await m.reply_text(strings("antichannelp...
5
16
3
140
1
625
640
625
c,m,strings
['check_acp']
None
{"Assign": 1, "Expr": 7, "If": 4}
19
16
19
["len", "m.text.split", "toggle_antichannelpin", "m.reply_text", "strings", "toggle_antichannelpin", "m.reply_text", "strings", "m.reply_text", "strings", "check_if_antichannelpin", "m.reply_text", "strings", "m.reply_text", "strings", "Client.on_message", "filters.command", "require_admin", "use_chat_lang"]
0
[]
The function (setantichannelpin) defined within the public class called public.The function start at line 625 and ends at 640. It contains 16 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [625.0] and does not return any value. It declares 19.0 functions, and It has 19.0 f...
iiiiii1wepfj_alisurobot
public
public
0
0
acp_action
async def acp_action(c: Client, m: Message):try:get_acp = await check_if_antichannelpin(m.chat.id)getmychatmember = await c.get_chat_member(m.chat.id, "me")if (get_acp and getmychatmember.can_pin_messages) is True:await m.unpin()else:passexcept:pass
4
10
2
62
2
644
653
644
c,m
['get_acp', 'getmychatmember']
None
{"Assign": 2, "Expr": 1, "If": 1, "Try": 1}
4
10
4
["check_if_antichannelpin", "c.get_chat_member", "m.unpin", "Client.on_message"]
0
[]
The function (acp_action) defined within the public class called public.The function start at line 644 and ends at 653. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [644.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions ...
iiiiii1wepfj_alisurobot
public
public
0
0
delservice
async def delservice(c: Client, m: Message, strings):if len(m.text.split()) > 1:if m.command[1] == "on":await toggle_del_service(m.chat.id, True)await m.reply_text(strings("cleanservice_enabled"))elif m.command[1] == "off":await toggle_del_service(m.chat.id, False)await m.reply_text(strings("cleanservice_disabled"))els...
5
16
3
140
1
660
675
660
c,m,strings
['check_delservice']
None
{"Assign": 1, "Expr": 7, "If": 4}
19
16
19
["len", "m.text.split", "toggle_del_service", "m.reply_text", "strings", "toggle_del_service", "m.reply_text", "strings", "m.reply_text", "strings", "check_if_del_service", "m.reply_text", "strings", "m.reply_text", "strings", "Client.on_message", "filters.command", "require_admin", "use_chat_lang"]
0
[]
The function (delservice) defined within the public class called public.The function start at line 660 and ends at 675. It contains 16 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [660.0] and does not return any value. It declares 19.0 functions, and It has 19.0 function...
iiiiii1wepfj_alisurobot
public
public
0
0
delservice_action
async def delservice_action(c: Client, m: Message):try:get_delservice = await check_if_del_service(m.chat.id)getmychatmember = await c.get_chat_member(m.chat.id, "me")if (get_delservice and getmychatmember.can_delete_messages) is True:await m.delete()else:passexcept:pass
4
10
2
62
2
679
688
679
c,m
['get_delservice', 'getmychatmember']
None
{"Assign": 2, "Expr": 1, "If": 1, "Try": 1}
4
10
4
["check_if_del_service", "c.get_chat_member", "m.delete", "Client.on_message"]
0
[]
The function (delservice_action) defined within the public class called public.The function start at line 679 and ends at 688. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [679.0] and does not return any value. It declares 4.0 functions, and It has 4.0 fun...
iiiiii1wepfj_alisurobot
public
public
0
0
delanonchannel
async def delanonchannel(c: Client, m: Message, strings):if len(m.text.split()) > 1:if m.command[1] == "on":await toggle_del_anon_channel_messages(m.chat.id, True)await m.reply_text(strings("delanonchannel_status_enabled"))elif m.command[1] == "off":await toggle_del_anon_channel_messages(m.chat.id, False)await m.reply_...
5
16
3
140
1
695
710
695
c,m,strings
['check_delanonchannel']
None
{"Assign": 1, "Expr": 7, "If": 4}
19
16
19
["len", "m.text.split", "toggle_del_anon_channel_messages", "m.reply_text", "strings", "toggle_del_anon_channel_messages", "m.reply_text", "strings", "m.reply_text", "strings", "check_if_del_anon_channel_messages", "m.reply_text", "strings", "m.reply_text", "strings", "Client.on_message", "filters.command", "require_ad...
0
[]
The function (delanonchannel) defined within the public class called public.The function start at line 695 and ends at 710. It contains 16 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [695.0] and does not return any value. It declares 19.0 functions, and It has 19.0 func...
iiiiii1wepfj_alisurobot
public
public
0
0
delanonchannel_action
async def delanonchannel_action(c: Client, m: Message):try:get_delanonchannel = await check_if_del_anon_channel_messages(m.chat.id)getmychatmember = await c.get_chat_member(m.chat.id, "me")if (get_delanonchannel and getmychatmember.can_delete_messages) is True:await m.delete()else:passexcept:pass
4
10
2
62
2
714
723
714
c,m
['get_delanonchannel', 'getmychatmember']
None
{"Assign": 2, "Expr": 1, "If": 1, "Try": 1}
4
10
4
["check_if_del_anon_channel_messages", "c.get_chat_member", "m.delete", "Client.on_message"]
0
[]
The function (delanonchannel_action) defined within the public class called public.The function start at line 714 and ends at 723. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [714.0] and does not return any value. It declares 4.0 functions, and It has 4.0...
iiiiii1wepfj_alisurobot
public
public
0
0
cat
async def cat(c: Client, m: Message, strings):r = await http.get("https://api.thecatapi.com/v1/images/search")rj = r.json()await m.reply_photo(rj[0]["url"], caption=strings("meow"))
1
4
3
49
2
14
18
14
c,m,strings
['r', 'rj']
None
{"Assign": 2, "Expr": 1}
7
5
7
["http.get", "r.json", "m.reply_photo", "strings", "Client.on_message", "filters.command", "use_chat_lang"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.86374841_meco_group_rockit.rockit.stage_py.Stage._grid_control"]
The function (cat) defined within the public class called public.The function start at line 14 and ends at 18. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [14.0] and does not return any value. It declares 7.0 functions, It has 7.0 functions called inside wh...
iiiiii1wepfj_alisurobot
public
public
0
0
check_chat
async def check_chat(c: Client, m: Message):chat_id = m.chat.idchat_type = m.chat.typecheck_the_chat = await chat_exists(chat_id, chat_type)if not check_the_chat:await add_chat(chat_id, chat_type)await set_db_lang(m.chat.id, m.chat.type, default_language)
2
7
2
62
3
12
19
12
c,m
['chat_id', 'chat_type', 'check_the_chat']
None
{"Assign": 3, "Expr": 2, "If": 1}
4
8
4
["chat_exists", "add_chat", "set_db_lang", "Client.on_message"]
0
[]
The function (check_chat) defined within the public class called public.The function start at line 12 and ends at 19. It contains 7 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [12.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions call...
iiiiii1wepfj_alisurobot
public
public
0
0
gen_categories_kb
def gen_categories_kb(strings_manager):categories = list(commands.commands)kb: list = []while categories:name = strings_manager(categories[0], context="cmds_list")a = [InlineKeyboardButton(name, callback_data="view_category " + categories[0])]categories.pop(0)if categories:name = strings_manager(categories[0], context=...
3
17
1
106
3
14
30
14
strings_manager
['a', 'name', 'categories']
Returns
{"AnnAssign": 1, "Assign": 4, "Expr": 4, "If": 1, "Return": 1, "While": 1}
9
17
9
["list", "strings_manager", "InlineKeyboardButton", "categories.pop", "strings_manager", "a.append", "InlineKeyboardButton", "categories.pop", "kb.append"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.cmds_list_py.cmds_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95050229_iiiiii1wepfj_alisurobot.alisu.plugins.cmds_list_py.show_help"]
The function (gen_categories_kb) defined within the public class called public.The function start at line 14 and ends at 30. It contains 17 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters, and this function return a value. It declares 9.0 functions, It has 9.0 functions ...
iiiiii1wepfj_alisurobot
public
public
0
0
cmds_list
async def cmds_list(c: Client,m: CallbackQuery,strings,):keyboard = InlineKeyboardMarkup(inline_keyboard=[*gen_categories_kb(strings),[InlineKeyboardButton(strings("back_btn", context="general"),callback_data="start_back",)],])await m.message.edit_text(strings("select_command_category"), reply_markup=keyboard)
1
17
3
64
1
35
51
35
c,m,strings
['keyboard']
None
{"Assign": 1, "Expr": 1}
9
17
9
["InlineKeyboardMarkup", "gen_categories_kb", "InlineKeyboardButton", "strings", "m.message.edit_text", "strings", "Client.on_callback_query", "filters.regex", "use_chat_lang"]
0
[]
The function (cmds_list) defined within the public class called public.The function start at line 35 and ends at 51. It contains 17 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [35.0] and does not return any value. It declares 9.0 functions, and It has 9.0 functions call...
iiiiii1wepfj_alisurobot
public
public
0
0
show_help
async def show_help(c: Client,m: Message,strings,):if m.chat.type == enums.ChatType.PRIVATE:keyboard = InlineKeyboardMarkup(inline_keyboard=[*gen_categories_kb(strings),[InlineKeyboardButton(strings("back_btn", context="general"),callback_data="start_back",)],])await m.reply_text(strings("select_command_category"), rep...
2
30
3
119
1
64
93
64
c,m,strings
['keyboard']
None
{"Assign": 2, "Expr": 2, "If": 1}
14
30
14
["InlineKeyboardMarkup", "gen_categories_kb", "InlineKeyboardButton", "strings", "m.reply_text", "strings", "InlineKeyboardMarkup", "InlineKeyboardButton", "strings", "m.reply_text", "strings", "Client.on_message", "filters.command", "use_chat_lang"]
0
[]
The function (show_help) defined within the public class called public.The function start at line 64 and ends at 93. It contains 30 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [64.0] and does not return any value. It declares 14.0 functions, and It has 14.0 functions ca...
iiiiii1wepfj_alisurobot
public
public
0
0
get_category
async def get_category(c: Client,m: CallbackQuery,strings,):msg = commands.get_commands_message(strings, m.data.split(maxsplit=1)[1])keyboard = InlineKeyboardMarkup(inline_keyboard=[[InlineKeyboardButton(strings("back_btn", context="general"), callback_data="commands")]])await m.message.edit_text(msg, reply_markup=keyb...
1
16
3
75
2
98
113
98
c,m,strings
['msg', 'keyboard']
None
{"Assign": 2, "Expr": 1}
9
16
9
["commands.get_commands_message", "m.data.split", "InlineKeyboardMarkup", "InlineKeyboardButton", "strings", "m.message.edit_text", "Client.on_callback_query", "filters.regex", "use_chat_lang"]
0
[]
The function (get_category) defined within the public class called public.The function start at line 98 and ends at 113. It contains 16 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [98.0] and does not return any value. It declares 9.0 functions, and It has 9.0 functions ...