MCPcopy Create free account

hub / github.com/JafarAkhondali/Morefixes / functions

Functions590 in github.com/JafarAkhondali/Morefixes

↓ 2 callersFunctionrandom_str
(n: int)
tests/test_database.py:15
↓ 2 callersFunctionrandom_url
(max_length: int)
prospector/util/sample_data_generation.py:80
↓ 2 callersMethodrun_sql_script
(self, script_file)
prospector/commitdb/postgres.py:105
↓ 2 callersMethodrun_uncached
(self, cmd, silent=False)
prospector/git/exec.py:34
↓ 2 callersMethodsave
(self, commit: Dict[str, Any])
prospector/commitdb/postgres.py:86
↓ 2 callersFunctionsave_repo_meta
populate repository meta-information in repository table.
Code/utils.py:260
↓ 2 callersMethodset_status
(self, status: MessageStatus)
prospector/cli/console.py:34
↓ 2 callersMethodstart
(self)
prospector/stats/execution.py:65
↓ 2 callersMethodstop
(self)
prospector/stats/execution.py:29
↓ 2 callersMethodstop
(self)
prospector/stats/execution.py:68
↓ 2 callersFunctionstring_encoder
Encode a string into a list of bytes (utf-8)
prospector/util/lsh.py:18
↓ 2 callersFunctiontable_rows_count
(table_name)
Code/database.py:56
↓ 2 callersMethodtraverse_commits
(self, *args)
tests/test_collection/mock_objects.py:142
↓ 1 callersMethod__getitem__
(self, key)
prospector/stats/collection.py:26
↓ 1 callersMethod__init__
(self, name: Optional[name])
tests/test_collection/mock_objects.py:10
↓ 1 callersMethod__init__
(self)
prospector/stats/execution.py:21
↓ 1 callersFunction_download_cpe_zip
(zip_path=CPE_ZIP_PATH)
Code/cpe_parser.py:22
↓ 1 callersMethod_is_gitlab
(self)
tests/test_collection/test_find_unavailable_urls.py:21
↓ 1 callersMethodadd_match
(self, rule: Dict[str, Any])
prospector/datamodel/commit.py:54
↓ 1 callersFunctionadd_missing_commits
Limit CVE years for processing @param years: optional: which CVE years to proces @return:
Code/resources/dynamic_commit_collector.py:267
↓ 1 callersFunctionanalyze_report
(report_file: str, commits: str)
prospector/util/report_analyzer.py:23
↓ 1 callersFunctionapply_cve_cpe_mappers
()
Code/resources/find_repo_url.py:157
↓ 1 callersFunctionapply_ranking
This function is responsible for ranking the list of commits according to their relevance to the advisory record.
prospector/datamodel/commit.py:113
↓ 1 callersFunctionbuild_lsh_index
()
prospector/util/lsh.py:62
↓ 1 callersFunctionbuild_statement
(data: Dict[str, Any])
prospector/commitdb/postgres.py:126
↓ 1 callersFunctioncaller_name
Get a name of a caller in the format module.class.method Note: It will not work correctly for static methods in classes. `skip` specifies how
prospector/util/inspection.py:5
↓ 1 callersFunctionchanged_methods_both
Return the list of methods that were changed. :return: list of methods
Code/collect_commits.py:133
↓ 1 callersFunctioncheck_rule_strenght
(rules: List[Dict])
prospector/util/report_analyzer.py:13
↓ 1 callersFunctionclone_memo_repo
(repo_url)
Code/collect_projects.py:252
↓ 1 callersFunctioncompute_multiple_minhashes
Compute multiple MinHash objects from a list of strings
prospector/util/lsh.py:44
↓ 1 callersMethodcompute_relevance
(self)
prospector/datamodel/commit.py:71
↓ 1 callersMethodconnect
(self, connect_string)
prospector/commitdb/__init__.py:2
↓ 1 callersFunctioncontains_relevant_files
This function is responsible for checking whether the commit contains relevant files, i.e. files that are not in the NON_RELEVANT_FILES list.
prospector/filtering/filter.py:75
↓ 1 callersFunctioncreate_cpe_project_table
(session)
Code/resources/cveprojectdatabase.py:34
↓ 1 callersFunctioncreate_cve_mapper_table
(conn)
Code/resources/cveprojectdatabase.py:6
↓ 1 callersFunctioncreate_fixes_table
()
Code/collect_projects.py:53
↓ 1 callersFunctioncreate_git_patch
(repo_path, commit, output_directory, patch_name)
Code/collect_commits.py:307
↓ 1 callersFunctioncreate_logger
(name: str = LOGGER_NAME)
prospector/log/logger.py:21
↓ 1 callersFunctioncreate_prospector_job
(entry)
prospector/data_sources/nvd/job_creation.py:39
↓ 1 callersFunctioncve_cpe_mapper
(conn)
Code/resources/cveprojectdatabase.py:50
↓ 1 callersFunctioncve_cpe_table
()
Code/resources/find_repo_url.py:67
↓ 1 callersFunctiondo_fetch_full
(start_from_year=START_FROM_YEAR, quiet=False)
prospector/service/api/routers/nvd_feed_update.py:82
↓ 1 callersFunctiondo_update
(quiet=False)
prospector/service/api/routers/nvd_feed_update.py:37
↓ 1 callersFunctiondownload_and_extract_zip
(url, target_directory)
Code/resources/main.py:6
↓ 1 callersFunctiondump_osv_records
(out_path)
Code/resources/main.py:42
↓ 1 callersFunctionevaluate_commits
( commits: List[Commit], advisory: AdvisoryRecord, rules: List[str] )
prospector/core/prospector.py:282
↓ 1 callersMethodexecute
(self, cmd, silent=False)
prospector/git/exec.py:49
↓ 1 callersFunctionextract_candidate_commits
(cve_id, project_url, rel_type)
Code/resources/dynamic_commit_collector.py:132
↓ 1 callersFunctionextract_commit_url_from_refs
(ref_list, cve_id)
Code/collect_commits.py:41
↓ 1 callersFunctionextract_commits
This function extract git commit information of only the hashes list that were specified in the commit URL. All the commit_fields of the correspon
Code/collect_commits.py:329
↓ 1 callersFunctionextract_cve
(cve_id_candidate)
Code/resources/extract_github_repo_from_ghsd.py:29
↓ 1 callersFunctionextract_cve_references
Extract CVE identifiers
prospector/datamodel/nlp.py:180
↓ 1 callersFunctionextract_cwe
obtains the table of CWE categories from NVD.nist.gov site :return df_CWE: dataframe of CWE category table
Code/extract_cwe_record.py:17
↓ 1 callersFunctionextract_filename
(text: str, relevant_extensions: List[str])
prospector/datamodel/nlp.py:112
↓ 1 callersFunctionextract_ghissue_references
Extract identifiers that look like references to GH issues, then extract their content
prospector/datamodel/nlp.py:132
↓ 1 callersFunctionextract_github_url
(parsed_cve)
Code/resources/extract_github_repo_from_ghsd.py:33
↓ 1 callersFunctionextract_jira_references
Extract identifiers that point to Jira tickets, then extract their content
prospector/datamodel/nlp.py:164
↓ 1 callersFunctionextract_products
Extract product names from advisory text
prospector/datamodel/nlp.py:69
↓ 1 callersFunctionextract_project_links
extracts all the reference urls from CVE records that match to the repo commit urls
Code/collect_commits.py:58
↓ 1 callersFunctionextract_repo_url_and_commit_hash
(commit_url)
Code/resources/extract_github_repo_from_ghsd.py:18
↓ 1 callersFunctionextract_version_ranges_cpe
(json_data)
prospector/data_sources/nvd/versions_extraction.py:23
↓ 1 callersFunctionfake_decode_token
(token)
prospector/service/api/dependencies.py:55
↓ 1 callersFunctionfake_hash_password
(password: str)
prospector/service/api/dependencies.py:61
↓ 1 callersMethodfetch_references
(self)
prospector/datamodel/advisory.py:113
↓ 1 callersFunctionfilter_commits
( candidates: Dict[str, RawCommit] )
prospector/filtering/filter.py:28
↓ 1 callersMethodfind_commits_for_twin_lookups
(self, commit_id)
prospector/git/git.py:313
↓ 1 callersFunctionfind_github_source_code_by_cve
(cve_id)
Code/giturl/github.py:40
↓ 1 callersFunctionfind_matching_entries_test
(data)
prospector/data_sources/nvd/filter_entries.py:80
↓ 1 callersFunctionfind_project_with_json_api
(pkg_name)
Code/registry_to_github.py:161
↓ 1 callersFunctionfind_similar_words
Extract nouns from commit message that appears in the advisory text
prospector/datamodel/nlp.py:52
↓ 1 callersFunctionfix_column_types
()
Code/collect_projects.py:458
↓ 1 callersFunctionformat_annotations
(commit: Commit)
prospector/core/report.py:85
↓ 1 callersFunctiongenerate_report
( results, advisory_record, report_type, report_filename, prospector_params, report_di
prospector/core/report.py:110
↓ 1 callersFunctiongetCommitCount
Get the total number of commits in a GitHub repository.
Code/utils.py:52
↓ 1 callersFunctionget_all_job_ids
()
prospector/service/api/rq_utils.py:19
↓ 1 callersFunctionget_all_jobs
()
prospector/service/api/rq_utils.py:37
↓ 1 callersFunctionget_args
(data: Dict[str, Any])
prospector/commitdb/postgres.py:132
↓ 1 callersMethodget_commits
( self, next_tag=None, prev_tag=None, since=None, until=None,
prospector/git/git.py:201
↓ 1 callersFunctionget_commits_from_tags
( advisory_record: AdvisoryRecord, repository: Git, prev_tag: str, next_tag: str, time_lim
prospector/core/prospector.py:414
↓ 1 callersFunctionget_commits_no_tags
(repository: Git, commit_ids: List[str])
prospector/core/prospector.py:457
↓ 1 callersFunctionget_cves
(d_time)
prospector/data_sources/nvd/filter_entries.py:9
↓ 1 callersFunctionget_cwe_class
Extract CWEs from NVD 2.0 weakness_json format. weakness_json is array: [{source, type, description: [{lang, value: "CWE-XX"}]}]
Code/extract_cwe_record.py:91
↓ 1 callersFunctionget_enabled_rules
(rules: List[str])
prospector/rules/rules.py:78
↓ 1 callersFunctionget_encoded_minhash
Compute a MinHash object from a string and encode it
prospector/util/lsh.py:13
↓ 1 callersFunctionget_file_size
(file_path)
Code/collect_commits.py:297
↓ 1 callersFunctionget_files
returns the list of files of the commit.
Code/collect_commits.py:248
↓ 1 callersMethodget_fixing_commit
(self, repository)
prospector/datamodel/advisory.py:179
↓ 1 callersFunctionget_from_mitre
(cve_id: str)
prospector/datamodel/advisory.py:259
↓ 1 callersFunctionget_from_nvd
Get an advisory from the NVD dtabase
prospector/service/api/routers/nvd.py:48
↓ 1 callersFunctionget_from_xml
(id: str)
prospector/util/http.py:92
↓ 1 callersFunctionget_github_repo_meta
Returns GitHub meta-information for repo_url using the REST API directly. A 404 is treated as removed (returns None); 301s (renamed repos) ar
Code/utils.py:189
↓ 1 callersMethodget_hunks_count
(self, diffs: List[str])
prospector/git/raw_commit.py:57
↓ 1 callersFunctionget_job_from_id
(job_id)
prospector/service/api/rq_utils.py:31
↓ 1 callersFunctionget_json
(url)
Code/registry_to_github.py:10
↓ 1 callersFunctionget_methods
returns the list of methods in the file.
Code/collect_commits.py:160
↓ 1 callersFunctionget_one_query
(query)
Code/database.py:78
↓ 1 callersFunctionget_osv_ecosystems
()
Code/resources/main.py:37
↓ 1 callersFunctionget_possible_tags
Given a list of tags and a version interval, return the possible tag interval that matches.
prospector/git/version_to_tag.py:77
↓ 1 callersMethodget_tag
(self)
prospector/datamodel/commit.py:68
↓ 1 callersMethodget_tags
(self)
prospector/git/git.py:370
← previousnext →101–200 of 590, ranked by callers