SYMBOL INDEX (1456 symbols across 291 files) FILE: credsweeper/app.py class CredSweeper (line 30) | class CredSweeper: method __init__ (line 42) | def __init__(self, method _get_config_path (line 138) | def _get_config_path(config_path: Optional[str]) -> Path: method _get_config_dict (line 145) | def _get_config_dict( method _use_ml_validation (line 175) | def _use_ml_validation(self) -> bool: method ml_validator (line 192) | def ml_validator(self) -> MlValidator: method pool_initializer (line 208) | def pool_initializer(log_kwargs) -> None: method run (line 215) | def run(self, content_provider: AbstractProvider) -> int: method scan (line 236) | def scan(self, content_providers: Sequence[ContentProvider]) -> None: method __single_job_scan (line 250) | def __single_job_scan(self, content_providers: Sequence[ContentProvide... method __multi_jobs_scan (line 258) | def __multi_jobs_scan(self, content_providers: Sequence[ContentProvide... method files_scan (line 287) | def files_scan(self, content_providers: Sequence[ContentProvider]) -> ... method file_scan (line 300) | def file_scan(self, content_provider: ContentProvider) -> List[Candida... method post_processing (line 334) | def post_processing(self) -> None: method export_results (line 372) | def export_results(self, change_type: Optional[DiffRowType] = None) ->... FILE: credsweeper/common/constants.py class Severity (line 7) | class Severity(Enum): method __lt__ (line 15) | def __lt__(self, other) -> bool: method get (line 27) | def get(severity: Union[str, "Severity"]) -> Optional["Severity"]: class Confidence (line 38) | class Confidence(Enum): method __lt__ (line 44) | def __lt__(self, other) -> bool: method get (line 52) | def get(confidence: Union[str, "Confidence"]) -> Optional["Confidence"]: class Chars (line 66) | class Chars(Enum): class GroupType (line 99) | class GroupType(Enum): class RuleType (line 107) | class RuleType(Enum): class ThresholdPreset (line 119) | class ThresholdPreset(Enum): class DiffRowType (line 128) | class DiffRowType(Enum): FILE: credsweeper/common/keyword_checklist.py class KeywordChecklist (line 7) | class KeywordChecklist: method __init__ (line 14) | def __init__(self) -> None: method keyword_set (line 24) | def keyword_set(self) -> Set[str]: method keyword_list (line 29) | def keyword_list(self) -> List[str]: method keyword_len (line 34) | def keyword_len(self) -> int: method morpheme_set (line 39) | def morpheme_set(self) -> Set[str]: method morpheme_len (line 49) | def morpheme_len(self) -> int: method check_morphemes (line 53) | def check_morphemes(self, line_lower: str, threshold: int) -> bool: FILE: credsweeper/common/keyword_pattern.py class KeywordPattern (line 4) | class KeywordPattern: method get_keyword_pattern (line 66) | def get_keyword_pattern(cls, keyword: str) -> re.Pattern: FILE: credsweeper/config/config.py class Config (line 10) | class Config: method __init__ (line 18) | def __init__(self, config: Dict[str, Any]) -> None: FILE: credsweeper/credentials/augment_candidates.py function augment_candidates (line 6) | def augment_candidates(candidates: List[Candidate], new_candidates: List... FILE: credsweeper/credentials/candidate.py class Candidate (line 11) | class Candidate: method __init__ (line 28) | def __init__(self, method compare (line 47) | def compare(self, other: 'Candidate') -> bool: method _encode (line 65) | def _encode(value: Any) -> Any: method to_str (line 75) | def to_str(self, subtext: bool = False, hashed: bool = False) -> str: method __str__ (line 83) | def __str__(self): method __repr__ (line 86) | def __repr__(self): method to_json (line 89) | def to_json(self, hashed: bool, subtext: bool) -> Dict: method to_dict_list (line 112) | def to_dict_list(self, hashed: bool, subtext: bool) -> List[dict]: method get_dummy_candidate (line 131) | def get_dummy_candidate(cls, config: Config, file_path: str, file_type... FILE: credsweeper/credentials/candidate_group_generator.py class CandidateGroupGenerator (line 7) | class CandidateGroupGenerator: method __init__ (line 10) | def __init__(self) -> None: method grouped_candidates (line 14) | def grouped_candidates(self) -> Dict[CandidateKey, List[Candidate]]: method grouped_candidates (line 19) | def grouped_candidates(self, grouped_candidates: Dict[CandidateKey, Li... method __contains__ (line 23) | def __contains__(self, key: CandidateKey) -> bool: method __getitem__ (line 26) | def __getitem__(self, key) -> List[Candidate]: method __setitem__ (line 29) | def __setitem__(self, key: CandidateKey, value: List[Candidate]) -> None: method __len__ (line 32) | def __len__(self) -> int: method items (line 35) | def items(self) -> List[Tuple[CandidateKey, List[Candidate]]]: FILE: credsweeper/credentials/candidate_key.py class CandidateKey (line 6) | class CandidateKey: method __init__ (line 12) | def __init__(self, line_data: LineData): method __hash__ (line 20) | def __hash__(self): method __eq__ (line 23) | def __eq__(self, other): method __ne__ (line 26) | def __ne__(self, other): method __repr__ (line 29) | def __repr__(self) -> str: FILE: credsweeper/credentials/credential_manager.py class CredentialManager (line 11) | class CredentialManager: method __init__ (line 14) | def __init__(self) -> None: method clear_credentials (line 17) | def clear_credentials(self) -> None: method len_credentials (line 21) | def len_credentials(self) -> int: method get_credentials (line 30) | def get_credentials(self) -> List[Candidate]: method set_credentials (line 39) | def set_credentials(self, candidates: List[Candidate]) -> None: method add_credential (line 48) | def add_credential(self, candidate: Candidate) -> None: method remove_credential (line 57) | def remove_credential(self, candidate: Candidate) -> None: method purge_duplicates (line 66) | def purge_duplicates(self) -> int: method group_credentials (line 98) | def group_credentials(self) -> CandidateGroupGenerator: FILE: credsweeper/credentials/line_data.py class LineData (line 15) | class LineData: method __init__ (line 51) | def __init__( method compare (line 93) | def compare(self, other: 'LineData') -> bool: method initialize (line 104) | def initialize(self, match_obj: Optional[re.Match] = None) -> None: method sanitize_value (line 137) | def sanitize_value(self): method check_url_part (line 171) | def check_url_part(self) -> bool: method clean_url_parameters (line 192) | def clean_url_parameters(self) -> None: method clean_bash_parameters (line 207) | def clean_bash_parameters(self) -> None: method clean_toml_parameters (line 220) | def clean_toml_parameters(self) -> None: method clean_tag_parameters (line 233) | def clean_tag_parameters(self) -> None: method sanitize_variable (line 248) | def sanitize_variable(self) -> None: method is_comment (line 265) | def is_comment(self) -> bool: method is_well_quoted_value (line 279) | def is_well_quoted_value(self) -> bool: method is_quoted (line 321) | def is_quoted(self) -> bool: method is_source_file (line 343) | def is_source_file(self) -> bool: method is_source_file_with_quotes (line 356) | def is_source_file_with_quotes(self) -> bool: method get_hash_or_subtext (line 367) | def get_hash_or_subtext( method to_str (line 403) | def to_str(self, subtext: bool = False, hashed: bool = False) -> str: method __str__ (line 411) | def __str__(self): method __repr__ (line 414) | def __repr__(self): method to_json (line 417) | def to_json(self, hashed: bool, subtext: bool) -> Dict: method get_colored_line (line 454) | def get_colored_line(self, hashed: bool, subtext: bool = False) -> str: FILE: credsweeper/deep_scanner/abstract_scanner.py class AbstractScanner (line 26) | class AbstractScanner(ABC): method config (line 31) | def config(self) -> Config: method scanner (line 37) | def scanner(self) -> Scanner: method data_scan (line 42) | def data_scan( method get_deep_scanners (line 52) | def get_deep_scanners(data: bytes, descriptor: Descriptor, depth: int)... method recursive_scan (line 58) | def recursive_scan( method key_value_combination (line 99) | def key_value_combination(structure: dict) -> Generator[Tuple[Any, Any... method structure_processing (line 127) | def structure_processing(structure: Any) -> Generator[Tuple[Any, Any],... method structure_scan (line 152) | def structure_scan( method deep_scan_with_fallback (line 234) | def deep_scan_with_fallback(self, data_provider: DataContentProvider, ... method scan (line 269) | def scan(self, FILE: credsweeper/deep_scanner/byte_scanner.py class ByteScanner (line 13) | class ByteScanner(AbstractScanner, ABC): method data_scan (line 16) | def data_scan( FILE: credsweeper/deep_scanner/bzip2_scanner.py class Bzip2Scanner (line 15) | class Bzip2Scanner(AbstractScanner, ABC): method match (line 19) | def match(data: bytes | bytearray) -> bool: method data_scan (line 27) | def data_scan( FILE: credsweeper/deep_scanner/crx_scanner.py class CrxScanner (line 13) | class CrxScanner(AbstractScanner, ABC): method match (line 17) | def match(data: bytes | bytearray) -> bool: method zip_extract (line 24) | def zip_extract(data: bytes) -> bytes: method data_scan (line 31) | def data_scan( FILE: credsweeper/deep_scanner/csv_scanner.py class CsvScanner (line 17) | class CsvScanner(AbstractScanner, ABC): method match (line 27) | def match(data: bytes | bytearray) -> bool: method get_structure (line 39) | def get_structure(cls, text: str) -> List[Dict[str, Any]]: method data_scan (line 69) | def data_scan( FILE: credsweeper/deep_scanner/deb_scanner.py class DebScanner (line 15) | class DebScanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method walk_deb (line 28) | def walk_deb(data: bytes) -> Generator[Tuple[int, str, bytes], None, N... method data_scan (line 43) | def data_scan( FILE: credsweeper/deep_scanner/deep_scanner.py class DeepScanner (line 44) | class DeepScanner( method __init__ (line 77) | def __init__(self, config: Config, scanner: Scanner) -> None: method config (line 88) | def config(self) -> Config: method scanner (line 92) | def scanner(self) -> Scanner: method is_media (line 187) | def is_media(data: Union[bytes, bytearray]) -> bool: method get_deep_scanners (line 197) | def get_deep_scanners(data: bytes, descriptor: Descriptor, depth: int)... FILE: credsweeper/deep_scanner/docx_scanner.py class DocxScanner (line 22) | class DocxScanner(AbstractScanner, ABC): method _iter_block_items (line 26) | def _iter_block_items(block): method data_scan (line 65) | def data_scan( FILE: credsweeper/deep_scanner/eml_scanner.py class EmlScanner (line 15) | class EmlScanner(AbstractScanner, ABC): method match (line 19) | def match(data: bytes | bytearray) -> bool: method data_scan (line 28) | def data_scan( FILE: credsweeper/deep_scanner/encoder_scanner.py class EncoderScanner (line 19) | class EncoderScanner(AbstractScanner, ABC): method match (line 28) | def match(data: bytes | bytearray) -> bool: method decode (line 36) | def decode(text: str) -> Optional[bytes]: method data_scan (line 44) | def data_scan( FILE: credsweeper/deep_scanner/gzip_scanner.py class GzipScanner (line 16) | class GzipScanner(AbstractScanner, ABC): method match (line 20) | def match(data: bytes | bytearray) -> bool: method data_scan (line 26) | def data_scan( FILE: credsweeper/deep_scanner/html_scanner.py class HtmlScanner (line 14) | class HtmlScanner(AbstractScanner, ABC): method match (line 18) | def match(data: bytes | bytearray) -> bool: method data_scan (line 30) | def data_scan( FILE: credsweeper/deep_scanner/jclass_scanner.py class JclassScanner (line 16) | class JclassScanner(AbstractScanner, ABC): method match (line 20) | def match(data: bytes | bytearray) -> bool: method u2 (line 27) | def u2(stream: io.BytesIO) -> int: method get_utf8_constants (line 32) | def get_utf8_constants(stream: io.BytesIO) -> List[str]: method data_scan (line 62) | def data_scan( FILE: credsweeper/deep_scanner/jks_scanner.py class JksScanner (line 15) | class JksScanner(AbstractScanner, ABC): method match (line 19) | def match(data: bytes | bytearray) -> bool: method data_scan (line 25) | def data_scan( FILE: credsweeper/deep_scanner/lang_scanner.py class LangScanner (line 13) | class LangScanner(AbstractScanner, ABC): method data_scan (line 16) | def data_scan( FILE: credsweeper/deep_scanner/lzma_scanner.py class LzmaScanner (line 15) | class LzmaScanner(AbstractScanner, ABC): method match (line 19) | def match(data: bytes | bytearray) -> bool: method data_scan (line 25) | def data_scan( FILE: credsweeper/deep_scanner/mxfile_scanner.py class MxfileScanner (line 17) | class MxfileScanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method data_scan (line 28) | def data_scan( FILE: credsweeper/deep_scanner/patch_scanner.py class PatchScanner (line 15) | class PatchScanner(AbstractScanner, ABC): method data_scan (line 18) | def data_scan( FILE: credsweeper/deep_scanner/pdf_scanner.py class PdfScanner (line 17) | class PdfScanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method data_scan (line 27) | def data_scan( FILE: credsweeper/deep_scanner/pkcs_scanner.py class PkcsScanner (line 15) | class PkcsScanner(AbstractScanner, ABC): method match (line 19) | def match(data: Union[bytes, bytearray]) -> int: method data_scan (line 23) | def data_scan( FILE: credsweeper/deep_scanner/png_scanner.py class PngScanner (line 14) | class PngScanner(AbstractScanner, ABC): method match (line 18) | def match(data: bytes | bytearray) -> bool: method yield_png_chunks (line 25) | def yield_png_chunks(data: bytes) -> Generator[Tuple[int, str, bytes],... method data_scan (line 70) | def data_scan( FILE: credsweeper/deep_scanner/pptx_scanner.py class PptxScanner (line 16) | class PptxScanner(AbstractScanner, ABC): method data_scan (line 19) | def data_scan( FILE: credsweeper/deep_scanner/rpm_scanner.py class RpmScanner (line 17) | class RpmScanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method data_scan (line 27) | def data_scan( FILE: credsweeper/deep_scanner/rtf_scanner.py class RtfScanner (line 16) | class RtfScanner(AbstractScanner, ABC): method match (line 20) | def match(data: bytes | bytearray) -> bool: method get_lines (line 27) | def get_lines(text: str) -> List[str]: method data_scan (line 33) | def data_scan( FILE: credsweeper/deep_scanner/sqlite3_scanner.py class Sqlite3Scanner (line 17) | class Sqlite3Scanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method __walk (line 28) | def __walk(sqlite3db) -> Generator[Tuple[str, Any], None, None]: method walk_sqlite (line 42) | def walk_sqlite(data: bytes) -> Generator[Tuple[str, Any], None, None]: method data_scan (line 67) | def data_scan( FILE: credsweeper/deep_scanner/strings_scanner.py class StringsScanner (line 14) | class StringsScanner(AbstractScanner, ABC): method get_enumerated_lines (line 18) | def get_enumerated_lines(data: bytes) -> List[Tuple[int, str]]: method data_scan (line 40) | def data_scan( FILE: credsweeper/deep_scanner/tar_scanner.py class TarScanner (line 17) | class TarScanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method data_scan (line 33) | def data_scan( FILE: credsweeper/deep_scanner/tmx_scanner.py class TmxScanner (line 17) | class TmxScanner(AbstractScanner, ABC): method match (line 21) | def match(data: bytes | bytearray) -> bool: method data_scan (line 31) | def data_scan( FILE: credsweeper/deep_scanner/xlsx_scanner.py class XlsxScanner (line 18) | class XlsxScanner(AbstractScanner, ABC): method match (line 22) | def match(data: bytes | bytearray) -> bool: method data_scan (line 29) | def data_scan( FILE: credsweeper/deep_scanner/xml_scanner.py class XmlScanner (line 15) | class XmlScanner(AbstractScanner, ABC): method match (line 23) | def match(data: bytes | bytearray) -> bool: method data_scan (line 33) | def data_scan( FILE: credsweeper/deep_scanner/zip_scanner.py class ZipScanner (line 16) | class ZipScanner(AbstractScanner, ABC): method match (line 20) | def match(data: bytes | bytearray) -> bool: method data_scan (line 34) | def data_scan( FILE: credsweeper/deep_scanner/zlib_scanner.py class ZlibScanner (line 13) | class ZlibScanner(AbstractScanner, ABC): method match (line 17) | def match(data: bytes | bytearray) -> bool: method decompress (line 29) | def decompress(limit: int, data: bytes) -> bytes: method data_scan (line 41) | def data_scan( FILE: credsweeper/file_handler/abstract_provider.py class AbstractProvider (line 10) | class AbstractProvider(ABC): method __init__ (line 13) | def __init__(self, paths: Sequence[Union[str, Path, io.BytesIO, Tuple[... method paths (line 23) | def paths(self) -> Sequence[Union[str, Path, io.BytesIO, Tuple[Union[s... method paths (line 28) | def paths(self, paths: Sequence[Union[str, Path, io.BytesIO, Tuple[Uni... method get_scannable_files (line 33) | def get_scannable_files(self, config: Config) -> Sequence[ContentProvi... FILE: credsweeper/file_handler/analysis_target.py class AnalysisTarget (line 7) | class AnalysisTarget: method __init__ (line 10) | def __init__( method offset (line 27) | def offset(self) -> Optional[int]: method line (line 33) | def line(self) -> str: method line_len (line 42) | def line_len(self) -> int: method line_strip (line 47) | def line_strip(self) -> str: method line_strip_len (line 52) | def line_strip_len(self) -> int: method line_lower (line 57) | def line_lower(self) -> str: method line_lower_strip (line 62) | def line_lower_strip(self) -> str: method lines (line 67) | def lines(self) -> List[str]: method lines_len (line 72) | def lines_len(self) -> int: method line_pos (line 77) | def line_pos(self) -> int: method line_num (line 82) | def line_num(self) -> int: method line_nums (line 87) | def line_nums(self) -> List[int]: method file_path (line 92) | def file_path(self) -> Optional[str]: method file_type (line 97) | def file_type(self) -> Optional[str]: method info (line 102) | def info(self) -> Optional[str]: method descriptor (line 107) | def descriptor(self) -> Descriptor: FILE: credsweeper/file_handler/byte_content_provider.py class ByteContentProvider (line 12) | class ByteContentProvider(ContentProvider): method __init__ (line 15) | def __init__( method data (line 31) | def data(self) -> Optional[bytes]: method free (line 35) | def free(self) -> None: method lines (line 45) | def lines(self) -> List[str]: method yield_analysis_target (line 59) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... FILE: credsweeper/file_handler/content_provider.py class ContentProvider (line 14) | class ContentProvider(ABC): method __init__ (line 17) | def __init__( method yield_analysis_target (line 35) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... method descriptor (line 48) | def descriptor(self) -> Descriptor: method file_path (line 53) | def file_path(self) -> str: method file_type (line 58) | def file_type(self) -> str: method info (line 63) | def info(self) -> str: method data (line 69) | def data(self) -> Optional[bytes]: method free (line 74) | def free(self) -> None: method lines_to_targets (line 78) | def lines_to_targets( FILE: credsweeper/file_handler/data_content_provider.py class DataContentProvider (line 22) | class DataContentProvider(ContentProvider): method __init__ (line 25) | def __init__( method data (line 46) | def data(self) -> Optional[bytes]: method free (line 50) | def free(self) -> None: method text (line 64) | def text(self) -> str: method __is_structure (line 70) | def __is_structure(self) -> bool: method represent_as_structure (line 75) | def represent_as_structure(self) -> Optional[bool]: method represent_as_xml (line 140) | def represent_as_xml(self) -> Optional[bool]: method _check_multiline_cell (line 162) | def _check_multiline_cell(self, cell: Tag) -> Optional[Tuple[int, str]]: method simple_html_representation (line 187) | def simple_html_representation(html: BeautifulSoup) -> Tuple[List[int]... method _table_depth_reached (line 208) | def _table_depth_reached(table: Tag, depth: int) -> bool: method _table_representation (line 219) | def _table_representation( method _html_tables_representation (line 319) | def _html_tables_representation( method represent_as_html (line 335) | def represent_as_html( method yield_analysis_target (line 368) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... FILE: credsweeper/file_handler/descriptor.py class Descriptor (line 5) | class Descriptor: FILE: credsweeper/file_handler/diff_content_provider.py class DiffRowData (line 25) | class DiffRowData: class DiffContentProvider (line 33) | class DiffContentProvider(ContentProvider): method __init__ (line 50) | def __init__( method data (line 60) | def data(self) -> bytes: method diff (line 65) | def diff(self) -> List[DiffDict]: method free (line 69) | def free(self) -> None: method parse_lines_data (line 76) | def parse_lines_data(change_type: DiffRowType, lines_data: List[DiffRo... method patch2files_diff (line 100) | def patch2files_diff(raw_patch: List[str], change_type: DiffRowType) -... method preprocess_diff_rows (line 147) | def preprocess_diff_rows( method wrong_change (line 172) | def wrong_change(change: DiffDict) -> bool: method preprocess_file_diff (line 181) | def preprocess_file_diff(changes: List[DiffDict]) -> List[DiffRowData]: method yield_analysis_target (line 212) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... FILE: credsweeper/file_handler/file_path_extractor.py class FilePathExtractor (line 16) | class FilePathExtractor: method apply_gitignore (line 23) | def apply_gitignore(detected_files: List[str]) -> List[str]: method get_file_paths (line 38) | def get_file_paths(config: Config, path: Union[str, Path]) -> List[str]: method is_valid_path (line 70) | def is_valid_path(cls, path: str) -> bool: method is_find_by_ext_file (line 105) | def is_find_by_ext_file(config: Config, extension: str) -> bool: method check_exclude_file (line 119) | def check_exclude_file(config: Config, path: str) -> bool: method check_file_size (line 154) | def check_file_size(config: Config, reference: Union[str, Path, io.Byt... FILE: credsweeper/file_handler/files_provider.py class FilesProvider (line 15) | class FilesProvider(AbstractProvider): method __init__ (line 18) | def __init__(self, method get_scannable_files (line 33) | def get_scannable_files(self, config: Config) -> Sequence[ContentProvi... FILE: credsweeper/file_handler/patches_provider.py class PatchesProvider (line 17) | class PatchesProvider(AbstractProvider): method __init__ (line 21) | def __init__(self, paths: Sequence[Union[str, Path, io.BytesIO, Tuple[... method load_patch_data (line 34) | def load_patch_data(self, config: Config) -> List[List[str]]: method get_files_sequence (line 53) | def get_files_sequence(self, raw_patches: List[List[str]]) -> Sequence... method get_scannable_files (line 62) | def get_scannable_files(self, config: Config) -> Sequence[ContentProvi... FILE: credsweeper/file_handler/string_content_provider.py class StringContentProvider (line 8) | class StringContentProvider(ContentProvider): method __init__ (line 11) | def __init__( method data (line 34) | def data(self) -> bytes: method free (line 38) | def free(self) -> None: method lines (line 48) | def lines(self) -> List[str]: method line_numbers (line 53) | def line_numbers(self) -> List[int]: method yield_analysis_target (line 59) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... FILE: credsweeper/file_handler/struct_content_provider.py class StructContentProvider (line 11) | class StructContentProvider(ContentProvider): method __init__ (line 14) | def __init__( method data (line 29) | def data(self) -> bytes: method struct (line 34) | def struct(self) -> Any: method free (line 38) | def free(self) -> None: method yield_analysis_target (line 44) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... FILE: credsweeper/file_handler/text_content_provider.py class TextContentProvider (line 14) | class TextContentProvider(ContentProvider): method __init__ (line 22) | def __init__(self, method data (line 33) | def data(self) -> Optional[bytes]: method free (line 42) | def free(self) -> None: method lines (line 54) | def lines(self) -> Optional[List[str]]: method yield_analysis_target (line 66) | def yield_analysis_target(self, min_len: int) -> Generator[AnalysisTar... FILE: credsweeper/filters/filter.py class Filter (line 9) | class Filter(ABC): method __init__ (line 13) | def __init__(self, config: Optional[Config], *args): method run (line 18) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/group/general_keyword.py class GeneralKeyword (line 7) | class GeneralKeyword(Group): method __init__ (line 10) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/group/general_pattern.py class GeneralPattern (line 6) | class GeneralPattern(Group): method __init__ (line 9) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/group/group.py class Group (line 23) | class Group(ABC): method __init__ (line 26) | def __init__(self, config: Config, rule_type: GroupType = GroupType.DE... method filters (line 54) | def filters(self) -> List[Filter]: method filters (line 59) | def filters(self, filters: List[Filter]) -> None: FILE: credsweeper/filters/group/password_keyword.py class PasswordKeyword (line 9) | class PasswordKeyword(Group): method __init__ (line 12) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/group/token_pattern.py class TokenPattern (line 7) | class TokenPattern(Group): method __init__ (line 10) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/group/url_credentials_group.py class UrlCredentialsGroup (line 10) | class UrlCredentialsGroup(Group): method __init__ (line 13) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/group/weird_base36_token.py class WeirdBase36Token (line 8) | class WeirdBase36Token(Group): method __init__ (line 11) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/group/weird_base64_token.py class WeirdBase64Token (line 9) | class WeirdBase64Token(Group): method __init__ (line 12) | def __init__(self, config: Config) -> None: FILE: credsweeper/filters/line_git_binary_check.py class LineGitBinaryCheck (line 12) | class LineGitBinaryCheck(Filter): method __init__ (line 16) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 19) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/line_specific_key_check.py class LineSpecificKeyCheck (line 12) | class LineSpecificKeyCheck(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 21) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/line_uue_part_check.py class LineUUEPartCheck (line 10) | class LineUUEPartCheck(Filter): method __init__ (line 14) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 17) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_allowlist_check.py class ValueAllowlistCheck (line 11) | class ValueAllowlistCheck(Filter): method __init__ (line 44) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 47) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_array_dictionary_check.py class ValueArrayDictionaryCheck (line 10) | class ValueArrayDictionaryCheck(Filter): method __init__ (line 20) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 23) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_atlassian_token_check.py class ValueAtlassianTokenCheck (line 13) | class ValueAtlassianTokenCheck(Filter): method __init__ (line 16) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 19) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: method check_crc32_struct (line 49) | def check_crc32_struct(value: str) -> bool: method check_atlassian_struct (line 59) | def check_atlassian_struct(value: str) -> bool: FILE: credsweeper/filters/value_azure_token_check.py class ValueAzureTokenCheck (line 13) | class ValueAzureTokenCheck(Filter): method __init__ (line 19) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 22) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_base32_data_check.py class ValueBase32DataCheck (line 13) | class ValueBase32DataCheck(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 21) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_base64_data_check.py class ValueBase64DataCheck (line 12) | class ValueBase64DataCheck(Filter): method __init__ (line 17) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 20) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_base64_encoded_pem_check.py class ValueBase64EncodedPem (line 15) | class ValueBase64EncodedPem(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 21) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_base64_key_check.py class ValueBase64KeyCheck (line 11) | class ValueBase64KeyCheck(Filter): method __init__ (line 16) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 19) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_base64_part_check.py class ValueBase64PartCheck (line 16) | class ValueBase64PartCheck(Filter): method __init__ (line 24) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 27) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_basic_auth_check.py class ValueBasicAuthCheck (line 12) | class ValueBasicAuthCheck(Filter): method __init__ (line 15) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 18) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_blocklist_check.py class ValueBlocklistCheck (line 9) | class ValueBlocklistCheck(Filter): method __init__ (line 24) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 27) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_camel_case_check.py class ValueCamelCaseCheck (line 12) | class ValueCamelCaseCheck(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 21) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_dictionary_keyword_check.py class ValueDictionaryKeywordCheck (line 10) | class ValueDictionaryKeywordCheck(Filter): method __init__ (line 13) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 16) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_discord_bot_check.py class ValueDiscordBotCheck (line 12) | class ValueDiscordBotCheck(Filter): method __init__ (line 15) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 18) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_entropy_base32_check.py class ValueEntropyBase32Check (line 7) | class ValueEntropyBase32Check(ValueEntropyBaseCheck): method get_min_data_entropy (line 12) | def get_min_data_entropy(x: int) -> float: FILE: credsweeper/filters/value_entropy_base36_check.py class ValueEntropyBase36Check (line 7) | class ValueEntropyBase36Check(ValueEntropyBaseCheck): method get_min_data_entropy (line 12) | def get_min_data_entropy(x: int) -> float: FILE: credsweeper/filters/value_entropy_base64_check.py class ValueEntropyBase64Check (line 7) | class ValueEntropyBase64Check(ValueEntropyBaseCheck): method get_min_data_entropy (line 12) | def get_min_data_entropy(x: int) -> float: FILE: credsweeper/filters/value_entropy_base_check.py class ValueEntropyBaseCheck (line 11) | class ValueEntropyBaseCheck(Filter): method __init__ (line 14) | def __init__(self, config: Optional[Config] = None) -> None: method get_min_data_entropy (line 19) | def get_min_data_entropy(x: int) -> float: method run (line 23) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_file_path_check.py class ValueFilePathCheck (line 13) | class ValueFilePathCheck(Filter): method __init__ (line 23) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 26) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_github_check.py class ValueGitHubCheck (line 14) | class ValueGitHubCheck(Filter): method __init__ (line 17) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 20) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_grafana_check.py class ValueGrafanaCheck (line 12) | class ValueGrafanaCheck(Filter): method __init__ (line 15) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 18) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_grafana_service_check.py class ValueGrafanaServiceCheck (line 13) | class ValueGrafanaServiceCheck(Filter): method __init__ (line 16) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 19) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_hex_number_check.py class ValueHexNumberCheck (line 10) | class ValueHexNumberCheck(Filter): method __init__ (line 15) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 18) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_jfrog_token_check.py class ValueJfrogTokenCheck (line 15) | class ValueJfrogTokenCheck(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 22) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_json_web_key_check.py class ValueJsonWebKeyCheck (line 11) | class ValueJsonWebKeyCheck(Filter): method __init__ (line 19) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 22) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_json_web_token_check.py class ValueJsonWebTokenCheck (line 12) | class ValueJsonWebTokenCheck(Filter): method __init__ (line 28) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 31) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_last_word_check.py class ValueLastWordCheck (line 9) | class ValueLastWordCheck(Filter): method __init__ (line 12) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 15) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_length_check.py class ValueLengthCheck (line 10) | class ValueLengthCheck(Filter): method __init__ (line 13) | def __init__(self, method run (line 20) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_method_check.py class ValueMethodCheck (line 10) | class ValueMethodCheck(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 21) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_morphemes_check.py class ValueMorphemesCheck (line 11) | class ValueMorphemesCheck(Filter): method __init__ (line 18) | def __init__(self, config: Optional[Config] = None, threshold: Optiona... method run (line 29) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_not_allowed_pattern_check.py class ValueNotAllowedPatternCheck (line 11) | class ValueNotAllowedPatternCheck(Filter): method __init__ (line 19) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 22) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_not_part_encoded_check.py class ValueNotPartEncodedCheck (line 11) | class ValueNotPartEncodedCheck(Filter): method __init__ (line 19) | def __init__(self, config: Optional[Config] = None) -> None: method check_line_target_fit (line 23) | def check_line_target_fit(line_data: LineData, target: AnalysisTarget)... method check_val (line 32) | def check_val(line: str, pattern: re.Pattern) -> Optional[bool]: method run (line 44) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_number_check.py class ValueNumberCheck (line 10) | class ValueNumberCheck(Filter): method __init__ (line 16) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 19) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_pattern_check.py class ValuePatternCheck (line 11) | class ValuePatternCheck(Filter): method __init__ (line 28) | def __init__(self, config: Optional[Config] = None, pattern_len: Optio... method get_pattern (line 51) | def get_pattern(pattern_len: int) -> re.Pattern: method equal_pattern_check (line 62) | def equal_pattern_check(self, value: str, bit_length: int) -> bool: method ascending_pattern_check (line 77) | def ascending_pattern_check(self, value: str, bit_length: int) -> bool: method descending_pattern_check (line 99) | def descending_pattern_check(self, value: str, bit_length: int) -> bool: method check_val (line 121) | def check_val(self, value: str, bit_length: int) -> bool: method duple_pattern_check (line 140) | def duple_pattern_check(self, value: str, bit_length: int) -> bool: method run (line 158) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_sealed_secret_check.py class ValueSealedSecretCheck (line 10) | class ValueSealedSecretCheck(Filter): method __init__ (line 17) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 20) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_search_check.py class ValueSearchCheck (line 9) | class ValueSearchCheck(Filter): method __init__ (line 12) | def __init__(self, config: Optional[Config] = None, pattern: Optional[... method run (line 15) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_similarity_check.py class ValueSimilarityCheck (line 11) | class ValueSimilarityCheck(Filter): method __init__ (line 14) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 17) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_split_keyword_check.py class ValueSplitKeywordCheck (line 11) | class ValueSplitKeywordCheck(Filter): method __init__ (line 14) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 17) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_string_type_check.py class ValueStringTypeCheck (line 10) | class ValueStringTypeCheck(Filter): method __init__ (line 30) | def __init__(self, config: Optional[Config] = None, check_for_literals... method run (line 33) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_token_base32_check.py class ValueTokenBase32Check (line 6) | class ValueTokenBase32Check(ValueTokenBaseCheck): method get_stat_range (line 24) | def get_stat_range(size: int) -> Tuple[Tuple[float, float], Tuple[floa... FILE: credsweeper/filters/value_token_base36_check.py class ValueTokenBase36Check (line 6) | class ValueTokenBase36Check(ValueTokenBaseCheck): method get_stat_range (line 24) | def get_stat_range(size: int) -> Tuple[Tuple[float, float], Tuple[floa... FILE: credsweeper/filters/value_token_base64_check.py class ValueTokenBase64Check (line 6) | class ValueTokenBase64Check(ValueTokenBaseCheck): method get_stat_range (line 24) | def get_stat_range(size: int) -> Tuple[Tuple[float, float], Tuple[floa... FILE: credsweeper/filters/value_token_base_check.py class ValueTokenBaseCheck (line 13) | class ValueTokenBaseCheck(Filter): method __init__ (line 30) | def __init__(self, config: Optional[Config] = None) -> None: method get_stat_range (line 35) | def get_stat_range(size: int) -> Tuple[Tuple[float, float], Tuple[floa... method get_ppf (line 40) | def get_ppf(n: int) -> float: method run (line 46) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/filters/value_token_check.py class ValueTokenCheck (line 10) | class ValueTokenCheck(Filter): method __init__ (line 23) | def __init__(self, config: Optional[Config] = None) -> None: method run (line 26) | def run(self, line_data: LineData, target: AnalysisTarget) -> bool: FILE: credsweeper/logger/logger.py class Logger (line 10) | class Logger: method init_logging (line 27) | def init_logging(log_level: str, file_path: Optional[str] = None) -> N... FILE: credsweeper/main.py function positive_int (line 29) | def positive_int(value: Any) -> int: function threshold_or_float_or_zero (line 38) | def threshold_or_float_or_zero(arg: str) -> Union[int, float, ThresholdP... function logger_levels (line 61) | def logger_levels(log_level: str) -> str: function severity_levels (line 75) | def severity_levels(severity_level: str) -> Severity: function check_integrity (line 90) | def check_integrity() -> int: function get_arguments (line 105) | def get_arguments() -> Namespace: function get_credsweeper (line 283) | def get_credsweeper(args: Namespace) -> CredSweeper: function scan (line 317) | def scan(args: Namespace, content_provider: AbstractProvider) -> int: function get_commit_providers (line 340) | def get_commit_providers(commit: Commit, repo: Repo) -> Sequence[ByteCon... function drill (line 359) | def drill(args: Namespace) -> Tuple[int, int]: function main (line 436) | def main() -> int: FILE: credsweeper/ml_model/features/entropy_evaluation.py class EntropyEvaluation (line 12) | class EntropyEvaluation(Feature): method extract (line 29) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/features/feature.py class Feature (line 9) | class Feature(ABC): method __init__ (line 12) | def __init__(self): method __call__ (line 15) | def __call__(self, candidates: List[Candidate]) -> np.ndarray: method extract (line 25) | def extract(self, candidate: Candidate) -> Any: FILE: credsweeper/ml_model/features/file_extension.py class FileExtension (line 9) | class FileExtension(WordIn): method __init__ (line 17) | def __init__(self, extensions: List[str]) -> None: method __call__ (line 20) | def __call__(self, candidates: List[Candidate]) -> np.ndarray: method extract (line 24) | def extract(self, candidate: Candidate) -> Any: FILE: credsweeper/ml_model/features/has_html_tag.py class HasHtmlTag (line 7) | class HasHtmlTag(WordIn): method __init__ (line 14) | def __init__(self) -> None: method extract (line 17) | def extract(self, candidate: Candidate) -> float: FILE: credsweeper/ml_model/features/is_secret_numeric.py class IsSecretNumeric (line 7) | class IsSecretNumeric(Feature): method extract (line 10) | def extract(self, candidate: Candidate) -> float: FILE: credsweeper/ml_model/features/length_of_attribute.py class LengthOfAttribute (line 8) | class LengthOfAttribute(Feature): method __init__ (line 11) | def __init__(self, attribute: str): method extract (line 21) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/features/morpheme_dense.py class MorphemeDense (line 6) | class MorphemeDense(Feature): method extract (line 9) | def extract(self, candidate: Candidate) -> float: FILE: credsweeper/ml_model/features/rule_name.py class RuleName (line 9) | class RuleName(WordIn): method __init__ (line 17) | def __init__(self, rule_names: List[str]) -> None: method __call__ (line 20) | def __call__(self, candidates: List[Candidate]) -> np.ndarray: method extract (line 24) | def extract(self, candidate: Candidate) -> Any: FILE: credsweeper/ml_model/features/rule_severity.py class RuleSeverity (line 6) | class RuleSeverity(Feature): method extract (line 9) | def extract(self, candidate: Candidate) -> float: FILE: credsweeper/ml_model/features/search_in_attribute.py class SearchInAttribute (line 7) | class SearchInAttribute(Feature): method __init__ (line 10) | def __init__(self, pattern: str, attribute: str): method extract (line 15) | def extract(self, candidate: Candidate) -> float: FILE: credsweeper/ml_model/features/word_in.py class WordIn (line 10) | class WordIn(Feature): method __init__ (line 13) | def __init__(self, words: List[str]): method extract (line 22) | def extract(self, candidate: Candidate) -> Any: method zero (line 26) | def zero(self) -> np.ndarray: method word_in_ (line 30) | def word_in_(self, iterable_data: Union[str, List[str], Set[str]]) -> ... FILE: credsweeper/ml_model/features/word_in_path.py class WordInPath (line 11) | class WordInPath(WordIn): method __call__ (line 14) | def __call__(self, candidates: List[Candidate]) -> np.ndarray: method extract (line 25) | def extract(self, candidate: Candidate) -> Any: FILE: credsweeper/ml_model/features/word_in_postamble.py class WordInPostamble (line 8) | class WordInPostamble(WordIn): method extract (line 11) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/features/word_in_preamble.py class WordInPreamble (line 8) | class WordInPreamble(WordIn): method extract (line 11) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/features/word_in_transition.py class WordInTransition (line 7) | class WordInTransition(WordIn): method extract (line 10) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/features/word_in_value.py class WordInValue (line 7) | class WordInValue(WordIn): method extract (line 10) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/features/word_in_variable.py class WordInVariable (line 7) | class WordInVariable(WordIn): method extract (line 10) | def extract(self, candidate: Candidate) -> np.ndarray: FILE: credsweeper/ml_model/ml_validator.py class MlValidator (line 19) | class MlValidator: method __init__ (line 29) | def __init__( method __reduce__ (line 112) | def __reduce__(self): method session (line 118) | def session(self) -> InferenceSession: method encode (line 126) | def encode(self, text: str, limit: int) -> np.ndarray: method encode_line (line 140) | def encode_line(self, text: str, position: int): method encode_value (line 149) | def encode_value(self, text: str) -> np.ndarray: method _call_model (line 154) | def _call_model(self, line_input: np.ndarray, variable_input: np.ndarr... method extract_common_features (line 167) | def extract_common_features(self, candidates: List[Candidate]) -> np.n... method extract_unique_features (line 179) | def extract_unique_features(self, candidates: List[Candidate]) -> np.n... method get_group_features (line 196) | def get_group_features(self, candidates: List[Candidate]) -> Tuple[np.... method extract_features (line 218) | def extract_features(self, candidates: List[Candidate]) -> np.ndarray: method _batch_call_model (line 226) | def _batch_call_model(self, line_input_list, variable_input_list, valu... method validate_groups (line 237) | def validate_groups(self, group_list: List[Tuple[CandidateKey, List[Ca... FILE: credsweeper/rules/rule.py class Rule (line 18) | class Rule: method __init__ (line 58) | def __init__(self, config: Config, rule_dict: Dict) -> None: method _malformed_rule_error (line 90) | def _malformed_rule_error(self, rule_dict: Dict, field: str): method rule_name (line 96) | def rule_name(self) -> str: method rule_type (line 101) | def rule_type(self) -> RuleType: method severity (line 106) | def severity(self) -> Severity: method confidence (line 111) | def confidence(self) -> Confidence: method filters (line 116) | def filters(self) -> List[Filter]: method _get_arg (line 121) | def _get_arg(arg: str) -> Union[int, float, str]: method _init_filters (line 129) | def _init_filters(self, filter_type: Union[None, str, List[str]]) -> L... method _init_patterns (line 164) | def _init_patterns(self, _values: List[str]) -> List[re.Pattern]: method patterns (line 196) | def patterns(self) -> List[re.Pattern]: method use_ml (line 201) | def use_ml(self) -> bool: method _verify_rule_config (line 206) | def _verify_rule_config(rule_config: Dict) -> None: method required_substrings (line 222) | def required_substrings(self) -> Set[str]: method has_required_substrings (line 227) | def has_required_substrings(self) -> bool: method required_regex (line 232) | def required_regex(self) -> Optional[re.Pattern]: method min_line_len (line 237) | def min_line_len(self) -> int: method target (line 242) | def target(self) -> List[str]: FILE: credsweeper/scanner/scan_type/multi_pattern.py class MultiPattern (line 15) | class MultiPattern(ScanType): method run (line 26) | def run(cls, config: Config, rule: Rule, target: AnalysisTarget) -> Li... method get_line_positions (line 58) | def get_line_positions(cls, line_pos: int, target: AnalysisTarget) -> ... method _scan (line 98) | def _scan(cls, config: Config, candidate: Candidate, candi_line_pos: i... FILE: credsweeper/scanner/scan_type/pem_key_pattern.py class PemKeyPattern (line 15) | class PemKeyPattern(ScanType): method run (line 19) | def run(cls, config: Config, rule: Rule, target: AnalysisTarget) -> Li... FILE: credsweeper/scanner/scan_type/scan_type.py class ScanType (line 16) | class ScanType(ABC): method run (line 25) | def run(cls, config: Config, rule: Rule, target: AnalysisTarget) -> Li... method filtering (line 41) | def filtering(cls, target: AnalysisTarget, line_data: LineData, filter... method get_line_data_list (line 69) | def get_line_data_list( method _get_candidates (line 148) | def _get_candidates(cls, config: Config, rule: Rule, target: AnalysisT... method _aux_scan (line 189) | def _aux_scan(cls, config: Config, rule: Rule, target: AnalysisTarget,... FILE: credsweeper/scanner/scan_type/single_pattern.py class SinglePattern (line 11) | class SinglePattern(ScanType): method run (line 15) | def run(cls, config: Config, rule: Rule, target: AnalysisTarget) -> Li... FILE: credsweeper/scanner/scanner.py class Scanner (line 25) | class Scanner: method __init__ (line 39) | def __init__(self, config: Config, rule_path: Union[None, str, Path]) ... method keywords_required_substrings_check (line 52) | def keywords_required_substrings_check(self, text: str) -> bool: method _get_required_substrings (line 56) | def _get_required_substrings(self, rule_type: RuleType) -> Set[str]: method _substring_check (line 64) | def _substring_check(substrings: Set[str], text: str) -> bool: method _set_rules_scanners (line 71) | def _set_rules_scanners(self, rules_path: Union[None, str, Path]) -> N... method _is_available (line 104) | def _is_available(self, rule: Rule) -> bool: method yield_rule_scanner (line 116) | def yield_rule_scanner( method scan (line 132) | def scan(self, provider: ContentProvider) -> List[Candidate]: method get_scanner (line 204) | def get_scanner(rule: Rule) -> Type[ScanType]: FILE: credsweeper/utils/hop_stat.py class HopStat (line 5) | class HopStat: method __init__ (line 64) | def __init__(self): method __get_xyz (line 81) | def __get_xyz(c: str) -> Tuple[int, int, int]: method stat (line 93) | def stat(self, value: str) -> Tuple[float, float]: FILE: credsweeper/utils/pem_key_detector.py class PemKeyDetector (line 16) | class PemKeyDetector: method __init__ (line 35) | def __init__(self, config: Config): method cut_barrier (line 41) | def cut_barrier(self, line: str) -> str: method set_barrier (line 50) | def set_barrier(self, line: str, start=0, end=MAX_LINE_LENGTH): method detect_pem_key (line 60) | def detect_pem_key(self, first_line: LineData, target: AnalysisTarget)... method finalize (line 137) | def finalize(line_data_list: List[LineData], key_data_list: List[str],... method sanitize_line_data_list (line 167) | def sanitize_line_data_list(line_data_list: List[LineData], key_data_l... method sanitize_line (line 203) | def sanitize_line(line: str, recurse_level: int = 5) -> str: method is_leading_config_line (line 254) | def is_leading_config_line(line: str) -> bool: FILE: credsweeper/utils/util.py class Util (line 38) | class Util: method get_extension (line 42) | def get_extension(file_path: str, lower=True) -> str: method get_regex_combine_or (line 48) | def get_regex_combine_or(re_strs: List[str]) -> str: method get_shannon_entropy (line 62) | def get_shannon_entropy(data: Union[str, bytes]) -> float: method get_min_data_entropy (line 84) | def get_min_data_entropy(x: int) -> float: method is_ascii_entropy_validate (line 105) | def is_ascii_entropy_validate(data: bytes) -> bool: method is_binary (line 146) | def is_binary(data: Union[bytes, bytearray]) -> bool: method is_latin1 (line 161) | def is_latin1(data: Union[bytes, bytearray]) -> bool: method read_file (line 172) | def read_file(path: Union[str, Path], encodings: Optional[List[str]] =... method decode_text (line 192) | def decode_text(content: Optional[bytes], encodings: Optional[List[str... method split_text (line 241) | def split_text(text: str) -> List[str]: method decode_bytes (line 246) | def decode_bytes(content: Optional[bytes], encodings: Optional[List[st... method get_asn1_size (line 267) | def get_asn1_size(data: Union[bytes, bytearray]) -> int: method read_data (line 298) | def read_data(path: Union[str, Path]) -> Optional[bytes]: method get_xml_from_lines (line 320) | def get_xml_from_lines(xml_lines: List[str]) -> Tuple[Optional[List[st... method extract_element_data (line 344) | def extract_element_data(element: Any, attr: str) -> str: method json_load (line 363) | def json_load(file_path: Union[str, Path], encoding=DEFAULT_ENCODING) ... method json_dump (line 373) | def json_dump(obj: Any, file_path: Union[str, Path], encoding=DEFAULT_... method yaml_load (line 382) | def yaml_load(file_path: Union[str, Path], encoding=DEFAULT_ENCODING) ... method yaml_dump (line 392) | def yaml_dump(obj: Any, file_path: Union[str, Path], encoding=DEFAULT_... method parse_python (line 401) | def parse_python(source: str) -> List[Any]: method decode_base64 (line 413) | def decode_base64(text: str, padding_safe: bool = False, urlsafe_detec... method load_pk (line 429) | def load_pk(data: bytes, password: Optional[bytes] = None) -> Optional... method check_pk (line 444) | def check_pk(pkey: PrivateKeyTypes) -> bool: method get_chunks (line 463) | def get_chunks(line_len: int) -> List[Tuple[int, int]]: method subtext (line 482) | def subtext(text: str, pos: int, hunk_size: int) -> str: method get_excel_column_name (line 515) | def get_excel_column_name(column_index: int) -> str: FILE: experiment/data_loader.py function transform_to_meta_path (line 20) | def transform_to_meta_path(file_path: pathlib.Path): function read_detected_data (line 34) | def read_detected_data(file_path: pathlib.Path) -> Dict[identifier, Dict]: function read_metadata (line 65) | def read_metadata(meta_dir: str) -> Dict[identifier, Dict]: function get_colored_line (line 123) | def get_colored_line(line_data: Dict[str, Any]) -> str: function join_label (line 146) | def join_label(detected_data: Dict[identifier, Dict], meta_data: Dict[id... function get_y_labels (line 250) | def get_y_labels(df: pd.DataFrame) -> np.ndarray: FILE: experiment/evaluate_model.py function evaluate_model (line 8) | def evaluate_model(thresholds: dict, keras_model: Model, x_data: List[np... FILE: experiment/features.py class CustomLineData (line 13) | class CustomLineData(LineData): method __init__ (line 16) | def __init__( function get_candidates (line 40) | def get_candidates(line_data: dict): function get_features (line 64) | def get_features(line_data: Union[dict, pd.Series], function prepare_data (line 93) | def prepare_data(df: pd.DataFrame) -> Tuple[np.ndarray, np.ndarray, np.n... FILE: experiment/log_callback.py class LogCallback (line 7) | class LogCallback(Callback): method __init__ (line 9) | def __init__(self): method get_memory_info (line 13) | def get_memory_info(): method on_epoch_end (line 18) | def on_epoch_end(self, epoch, logs=None): FILE: experiment/main.py function main (line 9) | def main(argv) -> int: FILE: experiment/ml_model.py class MlModel (line 14) | class MlModel(kt.HyperModel): method __init__ (line 17) | def __init__(self, line_shape: tuple, variable_shape: tuple, value_sha... method get_hyperparam (line 24) | def get_hyperparam(self, param_name: str, hp=None) -> Any: method build (line 38) | def build(self, hp: Optional[Any]) -> Model: FILE: experiment/model_config_preprocess.py function model_config_preprocess (line 12) | def model_config_preprocess(df_all: pd.DataFrame, doc_target: bool) -> D... FILE: experiment/plot.py function save_plot (line 14) | def save_plot(stamp: str, title: str, history: History, dir_path: pathli... function stamp_plot (line 44) | def stamp_plot(stamp: str, dir_path: pathlib.Path, info: str): FILE: experiment/prepare_data.py function execute_scanner (line 15) | def execute_scanner(dataset_location: str, report_file_str: str, train_r... function data_checksum (line 35) | def data_checksum(dir_path: Path) -> str: function prepare_train_data (line 45) | def prepare_train_data(cred_data_location: str, jobs: int, doc_target: b... FILE: experiment/tools/base64_test.py function gen_token (line 11) | def gen_token(pad: int, txt: bytes) -> bytes: function main (line 16) | def main(argv): FILE: experiment/tools/entropy_test.py function pool_initializer (line 16) | def pool_initializer() -> None: function evaluate_avg (line 20) | def evaluate_avg(_args: Tuple[int, float, float]) -> Tuple[float, float]: FILE: experiment/tools/morpheme_test.py class KeywordChecklistTest (line 15) | class KeywordChecklistTest(KeywordChecklist): method calc (line 17) | def calc(self, line_lower: str) -> int: function pool_initializer (line 28) | def pool_initializer() -> None: function evaluate_avg (line 32) | def evaluate_avg(_args: Tuple[int, float, float]) -> Tuple[float, float]: FILE: experiment/tools/strength_test.py function pool_initializer (line 17) | def pool_initializer() -> None: function evaluate_avg (line 21) | def evaluate_avg(size) -> Tuple[Tuple[float, float], Tuple[float, float]]: FILE: experiment/train.py function train (line 31) | def train( FILE: fuzz/__main__.py function fuzz_credsweeper_scan (line 49) | def fuzz_credsweeper_scan(data: bytes): function main (line 95) | def main(): FILE: fuzz/auxilary.py function main (line 12) | def main(argv): FILE: tests/common/test_confidence.py class TestConfidence (line 6) | class TestConfidence(unittest.TestCase): method test_severity_p (line 8) | def test_severity_p(self): method test_severity_n (line 14) | def test_severity_n(self): method test_severity_comparison_p (line 23) | def test_severity_comparison_p(self): method test_severity_comparison_n (line 31) | def test_severity_comparison_n(self): FILE: tests/common/test_keyword_checklist.py class TestKeywordChecklist (line 7) | class TestKeywordChecklist(TestCase): method test_keyword_set_p (line 9) | def test_keyword_set_p(self): method test_morpheme_set_p (line 15) | def test_morpheme_set_p(self): method test_keyword_set_n (line 22) | def test_keyword_set_n(self): method test_morpheme_set_n (line 42) | def test_morpheme_set_n(self): FILE: tests/common/test_keyword_pattern.py class TestKeywordPattern (line 10) | class TestKeywordPattern: method test_separator_n (line 13) | def test_separator_n(self, config: Config, file_path: pytest.fixture, ... method test_separator_p (line 26) | def test_separator_p(self, config: Config, file_path: pytest.fixture, ... method test_keyword_pattern_p (line 203) | def test_keyword_pattern_p(self, config: Config, file_path: pytest.fix... method test_keyword_pattern_n (line 220) | def test_keyword_pattern_n(self, config: Config, file_path: pytest.fix... FILE: tests/common/test_regex.py class TestRegex (line 6) | class TestRegex: method test_regex_n (line 22) | def test_regex_n(self, text: str): method test_regex_p (line 38) | def test_regex_p(self, text: str): FILE: tests/common/test_severity.py class TestSeverity (line 6) | class TestSeverity(unittest.TestCase): method test_severity_p (line 8) | def test_severity_p(self): method test_severity_n (line 16) | def test_severity_n(self): method test_severity_comparison_p (line 25) | def test_severity_comparison_p(self): method test_severity_comparison_n (line 40) | def test_severity_comparison_n(self): FILE: tests/config/test_config.py class ConfigTest (line 7) | class ConfigTest(TestCase): method test_extension_check_p (line 9) | def test_extension_check_p(self): FILE: tests/conftest.py function python_file_path (line 17) | def python_file_path() -> str: function file_path (line 22) | def file_path() -> str: function args (line 27) | def args() -> Namespace: function config (line 33) | def config() -> Config: function rule (line 52) | def rule(rule_name: str, config: Config, rule_path: str) -> Optional[Rule]: function rule_path (line 61) | def rule_path() -> str: function scanner (line 66) | def scanner(rule: Rule, config: Config, rule_path: str) -> Scanner: function scanner_without_filters (line 73) | def scanner_without_filters(rule: Rule, config: Config, rule_path: str): FILE: tests/credentials/test_augment_candidates.py class TestAugmentCandidates (line 11) | class TestAugmentCandidates(unittest.TestCase): method test_augment_candidates_p (line 13) | def test_augment_candidates_p(self): method test_augment_candidates_n (line 29) | def test_augment_candidates_n(self): FILE: tests/credentials/test_credential_manager.py class TestCredentialManager (line 7) | class TestCredentialManager: method test_groups_p (line 11) | def test_groups_p(self, line): method test_groups_n (line 24) | def test_groups_n(self, line): FILE: tests/credentials/test_line_data.py class TestLineData (line 14) | class TestLineData: method test_url_params_p (line 23) | def test_url_params_p(self, file_path: pytest.fixture, rule: pytest.fi... method test_simple_case_p (line 38) | def test_simple_case_p(self, file_path: pytest.fixture, rule: pytest.f... method test_multiple_word_variable_name_p (line 53) | def test_multiple_word_variable_name_p(self, file_path: pytest.fixture... method test_multiple_word_variable_name_n (line 64) | def test_multiple_word_variable_name_n(self, file_path: pytest.fixture... method test_function_call_p (line 76) | def test_function_call_p(self, file_path: pytest.fixture, rule: pytest... method test_function_argument_p (line 92) | def test_function_argument_p(self, file_path: pytest.fixture, rule: py... method test_cli_arguments_p (line 112) | def test_cli_arguments_p(self, file_path: pytest.fixture, rule: pytest... method test_cli_arguments_n (line 125) | def test_cli_arguments_n(self, file_path: pytest.fixture, rule: pytest... class TestLineDataStartEnd (line 134) | class TestLineDataStartEnd(unittest.TestCase): method test_start_end_p (line 136) | def test_start_end_p(self) -> None: method test_search_start_end_p (line 144) | def test_search_start_end_p(self) -> None: method test_part_url_sanitize_p (line 153) | def test_part_url_sanitize_p(self) -> None: method test_hash_text_n (line 160) | def test_hash_text_n(self): method test_hash_text_p (line 163) | def test_hash_text_p(self): method test_sub_text_n (line 168) | def test_sub_text_n(self): method test_sub_text_p (line 172) | def test_sub_text_p(self): method test_toml_parenthesis_sanitize_n (line 179) | def test_toml_parenthesis_sanitize_n(self) -> None: method test_toml_parenthesis_sanitize_p (line 190) | def test_toml_parenthesis_sanitize_p(self) -> None: method test_toml_parenthesis_pass_sanitize_p (line 196) | def test_toml_parenthesis_pass_sanitize_p(self) -> None: method test_toml_quoted_sanitize_p (line 206) | def test_toml_quoted_sanitize_p(self) -> None: method test_toml_curly_brackets_sanitize_n (line 215) | def test_toml_curly_brackets_sanitize_n(self) -> None: method test_toml_square_brackets_sanitize_n (line 221) | def test_toml_square_brackets_sanitize_n(self) -> None: method test_toml_extra_sanitize_n (line 227) | def test_toml_extra_sanitize_n(self) -> None: method test_tag_sanitize_n (line 234) | def test_tag_sanitize_n(self) -> None: method test_tag_sanitize_p (line 256) | def test_tag_sanitize_p(self) -> None: FILE: tests/deep_scanner/test_abstract_scanner.py class TestAbstractScanner (line 8) | class TestAbstractScanner(unittest.TestCase): method test_structure_processing_n (line 10) | def test_structure_processing_n(self): method test_structure_processing_p (line 24) | def test_structure_processing_p(self): method test_key_value_combination_n (line 40) | def test_key_value_combination_n(self): method test_key_value_combination_p (line 61) | def test_key_value_combination_p(self): FILE: tests/deep_scanner/test_bzip2_scanner.py class TestBzip2Scanner (line 6) | class TestBzip2Scanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 13) | def test_match_n(self): FILE: tests/deep_scanner/test_crx_scanner.py class TestCrxScanner (line 7) | class TestCrxScanner(unittest.TestCase): method test_match_p (line 9) | def test_match_p(self): method test_match_n (line 13) | def test_match_n(self): method test_zip_extract_p (line 23) | def test_zip_extract_p(self): method test_zip_extract_n (line 27) | def test_zip_extract_n(self): FILE: tests/deep_scanner/test_csv_scanner.py class TestCsvScanner (line 9) | class TestCsvScanner(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_match_n (line 14) | def test_match_n(self): method test_match_p (line 23) | def test_match_p(self): method test_get_structure_n (line 28) | def test_get_structure_n(self): method test_get_structure_from_sample_n (line 46) | def test_get_structure_from_sample_n(self): method test_get_structure_p (line 51) | def test_get_structure_p(self): FILE: tests/deep_scanner/test_deb_scanner.py class TestDebScanner (line 6) | class TestDebScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 13) | def test_match_n(self): FILE: tests/deep_scanner/test_deep_scanner.py class TestDeepScanner (line 10) | class TestDeepScanner(unittest.TestCase): method test_get_deep_scanners_n (line 12) | def test_get_deep_scanners_n(self): method test_get_deep_scanners_n (line 18) | def test_get_deep_scanners_n(self, data): method test_is_media_n (line 24) | def test_is_media_n(self): method test_is_media_p (line 37) | def test_is_media_p(self): FILE: tests/deep_scanner/test_eml_scanner.py class TestEmlScanner (line 6) | class TestEmlScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 17) | def test_match_n(self): FILE: tests/deep_scanner/test_encoder_scanner.py class TestEncoderScanner (line 9) | class TestEncoderScanner(unittest.TestCase): method test_match_n (line 11) | def test_match_n(self): method test_match_p (line 29) | def test_match_p(self): FILE: tests/deep_scanner/test_gzip_scanner.py class TestGzipScanner (line 6) | class TestGzipScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 12) | def test_match_n(self): FILE: tests/deep_scanner/test_html_scanner.py class TestHtmlScanner (line 6) | class TestHtmlScanner(unittest.TestCase): method test_match_n (line 8) | def test_match_n(self): method test_match_p (line 13) | def test_match_p(self): FILE: tests/deep_scanner/test_jclass_scanner.py class TestJclassScanner (line 32) | class TestJclassScanner(unittest.TestCase): method setUp (line 34) | def setUp(self): method test_get_utf8_constants_n (line 37) | def test_get_utf8_constants_n(self): method test_get_utf8_constants_p (line 44) | def test_get_utf8_constants_p(self): method test_match_p (line 60) | def test_match_p(self): method test_match_n (line 65) | def test_match_n(self): FILE: tests/deep_scanner/test_jks_scanner.py class TestJksScanner (line 6) | class TestJksScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 13) | def test_match_n(self): FILE: tests/deep_scanner/test_lzma_scanner.py class TestLzmaScanner (line 6) | class TestLzmaScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 15) | def test_match_n(self): FILE: tests/deep_scanner/test_mxfile_scanner.py class TestMxfileScanner (line 6) | class TestMxfileScanner(unittest.TestCase): method test_match_n (line 8) | def test_match_n(self): method test_match_p (line 16) | def test_match_p(self): FILE: tests/deep_scanner/test_pdf_scanner.py class TestPdfScanner (line 6) | class TestPdfScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 12) | def test_match_n(self): FILE: tests/deep_scanner/test_png_scanner.py class TestPngScanner (line 13) | class TestPngScanner(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_match_n (line 18) | def test_match_n(self): method test_match_p (line 23) | def test_match_p(self): method test_yield_png_chunks_p (line 27) | def test_yield_png_chunks_p(self): FILE: tests/deep_scanner/test_rtf_scanner.py class TestRtfScanner (line 12) | class TestRtfScanner(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_get_lines_n (line 17) | def test_get_lines_n(self): method test_get_lines_p (line 20) | def test_get_lines_p(self): FILE: tests/deep_scanner/test_sqlite3_scanner.py class TestSqlite3Scanner (line 7) | class TestSqlite3Scanner(unittest.TestCase): method setUp (line 9) | def setUp(self): method test_walk_n (line 12) | def test_walk_n(self): method test_walk_p (line 16) | def test_walk_p(self): FILE: tests/deep_scanner/test_strings_scanner.py class TestStringsScanner (line 8) | class TestStringsScanner(unittest.TestCase): method setUp (line 10) | def setUp(self): method test_get_lines_hypothesis_n (line 14) | def test_get_lines_hypothesis_n(self, data): method test_get_lines_n (line 17) | def test_get_lines_n(self): method test_get_lines_p (line 23) | def test_get_lines_p(self): FILE: tests/deep_scanner/test_struct_scanner.py class TestStructScanner (line 12) | class TestStructScanner(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_scan_n (line 28) | def test_scan_n(self): method test_scan_p (line 32) | def test_scan_p(self): FILE: tests/deep_scanner/test_tar_scanner.py class TestTarScanner (line 8) | class TestTarScanner(unittest.TestCase): method test_match_p (line 10) | def test_match_p(self): method test_match_n (line 18) | def test_match_n(self): FILE: tests/deep_scanner/test_tmx_scanner.py class TestTmxScanner (line 6) | class TestTmxScanner(unittest.TestCase): method test_match_p (line 8) | def test_match_p(self): method test_match_n (line 21) | def test_match_n(self): FILE: tests/deep_scanner/test_xml_scanner.py class TestXmlScanner (line 7) | class TestXmlScanner(unittest.TestCase): method test_match_n (line 9) | def test_match_n(self): method test_match_p (line 22) | def test_match_p(self): FILE: tests/deep_scanner/test_zip_scanner.py class TestZipScanner (line 7) | class TestZipScanner(unittest.TestCase): method test_match_p (line 9) | def test_match_p(self): method test_match_n (line 16) | def test_match_n(self): FILE: tests/deep_scanner/test_zlib_scanner.py class TestZlibScanner (line 18) | class TestZlibScanner(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_match_hypothesis_n (line 24) | def test_match_hypothesis_n(self, data): method test_match_p (line 28) | def test_match_p(self): method test_decompress_hypothesis_n (line 34) | def test_decompress_hypothesis_n(self, data): method test_decompress_static_n (line 39) | def test_decompress_static_n(self): method test_decompress_static_p (line 51) | def test_decompress_static_p(self): method test_decompress_n (line 56) | def test_decompress_n(self): method test_decompress_p (line 74) | def test_decompress_p(self): FILE: tests/file_handler/test_byte_content_provider.py class TestByteContentProvider (line 13) | class TestByteContentProvider: method test_get_analysis_target_p (line 17) | def test_get_analysis_target_p(self, lines_as_bytes: bytes, lines: Lis... method test_byte_content_provider_p (line 29) | def test_byte_content_provider_p(self) -> None: method test_free_n (line 43) | def test_free_n(self) -> None: FILE: tests/file_handler/test_data_content_provider.py class DataContentProviderTest (line 18) | class DataContentProviderTest(unittest.TestCase): method test_wrong_xml_n (line 21) | def test_wrong_xml_n(self) -> None: method test_scan_wrong_provider_n (line 35) | def test_scan_wrong_provider_n(self) -> None: method test_scan_bottom_reach_n (line 41) | def test_scan_bottom_reach_n(self) -> None: method test_scan_wrong_zip_data_n (line 46) | def test_scan_wrong_zip_data_n(self) -> None: method test_scan_empty_zip_n (line 51) | def test_scan_empty_zip_n(self) -> None: method test_scan_zipfile_n (line 57) | def test_scan_zipfile_n(self) -> None: method test_scan_zipfile_p (line 73) | def test_scan_zipfile_p(self) -> None: method test_scan_zipfile_size_limit_n (line 139) | def test_scan_zipfile_size_limit_n(self) -> None: method test_scan_zipfile_size_limit_p (line 144) | def test_scan_zipfile_size_limit_p(self) -> None: method test_scan_zipfile_bomb_1_n (line 149) | def test_scan_zipfile_bomb_1_n(self) -> None: method test_scan_zipfile_bomb_2_n (line 156) | def test_scan_zipfile_bomb_2_n(self) -> None: method test_free_n (line 163) | def test_free_n(self) -> None: FILE: tests/file_handler/test_diff_content_provider.py class TestDiffContentProvider (line 9) | class TestDiffContentProvider(unittest.TestCase): method test_get_analysis_target_p (line 11) | def test_get_analysis_target_p(self) -> None: method test_get_analysis_target_n (line 41) | def test_get_analysis_target_n(self) -> None: method test_parse_lines_data_p (line 64) | def test_parse_lines_data_p(self) -> None: method test_parse_lines_data_n (line 74) | def test_parse_lines_data_n(self) -> None: method test_free_n (line 84) | def test_free_n(self) -> None: method test_data_n (line 106) | def test_data_n(self) -> None: FILE: tests/file_handler/test_file_path_extractor.py class TestFilePathExtractor (line 16) | class TestFilePathExtractor(unittest.TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 60) | def tearDown(self): method test_apply_gitignore_p (line 63) | def test_apply_gitignore_p(self) -> None: method test_apply_gitignore_n (line 69) | def test_apply_gitignore_n(self) -> None: method assert_true_check_exclude_file (line 90) | def assert_true_check_exclude_file(self, paths: List[str]): method assert_false_check_exclude_file (line 94) | def assert_false_check_exclude_file(self, paths: List[str]): method test_check_exclude_file_p (line 98) | def test_check_exclude_file_p(self) -> None: method test_check_exclude_file_n (line 126) | def test_check_exclude_file_n(self) -> None: method test_find_by_ext_file_p (line 148) | def test_find_by_ext_file_p(self) -> None: method test_find_by_ext_file_n (line 155) | def test_find_by_ext_file_n(self) -> None: method test_check_file_size_p (line 163) | def test_check_file_size_p(self, mock_getsize) -> None: method test_check_file_size_n (line 169) | def test_check_file_size_n(self, mock_getsize) -> None: method test_skip_symlink_n (line 176) | def test_skip_symlink_n(self) -> None: FILE: tests/file_handler/test_files_provider.py class TestFilesProvider (line 13) | class TestFilesProvider(unittest.TestCase): method test_get_scannable_files_io_p (line 15) | def test_get_scannable_files_io_p(self) -> None: method test_get_scannable_files_io_n (line 78) | def test_get_scannable_files_io_n(self) -> None: FILE: tests/file_handler/test_patches_provider.py class TestPatchesProvider (line 13) | class TestPatchesProvider: method test_load_patch_data_p (line 15) | def test_load_patch_data_p(self, config: Config) -> None: method test_load_patch_data_io_p (line 39) | def test_load_patch_data_io_p(self, config: Config) -> None: method test_load_patch_data_utf16_p (line 64) | def test_load_patch_data_utf16_p(self, config: Config) -> None: method test_load_patch_data_western_n (line 86) | def test_load_patch_data_western_n(self, config: Config) -> None: method test_load_patch_data_n (line 111) | def test_load_patch_data_n(self, config: Config) -> None: method test_oversize_n (line 137) | def test_oversize_n(self, config: Config) -> None: method test_memory_error_n (line 151) | def test_memory_error_n(self, config: Config) -> None: method test_overflow_error_n (line 178) | def test_overflow_error_n(self, config: Config) -> None: FILE: tests/file_handler/test_string_content_provider.py class TestStringContentProvider (line 9) | class TestStringContentProvider(unittest.TestCase): method test_get_analysis_target_p (line 11) | def test_get_analysis_target_p(self) -> None: method test_get_analysis_target_n (line 31) | def test_get_analysis_target_n(self) -> None: method test_free_n (line 53) | def test_free_n(self) -> None: method test_data_n (line 60) | def test_data_n(self) -> None: FILE: tests/file_handler/test_struct_content_provider.py class TestStructContentProvider (line 6) | class TestStructContentProvider(unittest.TestCase): method test_free_n (line 8) | def test_free_n(self) -> None: method test_data_n (line 15) | def test_data_n(self) -> None: FILE: tests/file_handler/test_text_content_provider.py class TestTextContentProvider (line 11) | class TestTextContentProvider(unittest.TestCase): method test_get_analysis_target_p (line 13) | def test_get_analysis_target_p(self) -> None: method test_get_analysis_target_n (line 52) | def test_get_analysis_target_n(self) -> None: method test_free_n (line 72) | def test_free_n(self) -> None: FILE: tests/filters/conftest.py function success_line (line 25) | def success_line(request) -> str: FILE: tests/filters/test_line_git_binary_check.py class TestLineGitBinaryCheck (line 9) | class TestLineGitBinaryCheck: method test_line_specific_key_check_p (line 13) | def test_line_specific_key_check_p(self, file_path: pytest.fixture, li... method test_line_specific_key_check_n (line 20) | def test_line_specific_key_check_n(self, file_path: pytest.fixture, li... FILE: tests/filters/test_line_specific_key_check.py class TestLineSpecificKeyCheck (line 9) | class TestLineSpecificKeyCheck: method test_line_specific_key_check_p (line 14) | def test_line_specific_key_check_p(self, file_path: pytest.fixture, li... method test_line_specific_key_check_n (line 23) | def test_line_specific_key_check_n(self, file_path: pytest.fixture, li... FILE: tests/filters/test_line_uue_part_check.py class TestLineUUEPartCheck (line 9) | class TestLineUUEPartCheck(TestCase): method test_line_uue_part_check_short_n (line 11) | def test_line_uue_part_check_short_n(self): method test_line_uue_part_check_uue__n (line 17) | def test_line_uue_part_check_uue__n(self): method test_line_uue_part_single_n (line 27) | def test_line_uue_part_single_n(self): method test_line_uue_part_check_n (line 33) | def test_line_uue_part_check_n(self): method test_line_uue_part_check_p (line 39) | def test_line_uue_part_check_p(self): FILE: tests/filters/test_value_allowlist_check.py class TestValueAllowlistCheck (line 8) | class TestValueAllowlistCheck: method test_value_allowlist_check_p (line 30) | def test_value_allowlist_check_p(self, file_path: pytest.fixture, line... method test_value_allowlist_check_n (line 55) | def test_value_allowlist_check_n(self, file_path: pytest.fixture, line... FILE: tests/filters/test_value_array_dictionary_check.py class TestValueArrayDictionaryCheck (line 9) | class TestValueArrayDictionaryCheck: method token_rule (line 12) | def token_rule(self, config) -> Rule: method test_value_array_dictionary_p (line 27) | def test_value_array_dictionary_p(self, token_rule: Rule, file_path: p... method test_value_array_dictionary_n (line 38) | def test_value_array_dictionary_n(self, token_rule: Rule, file_path: p... method test_array_assignment_n (line 54) | def test_array_assignment_n(self, token_rule: Rule, file_path: pytest.... FILE: tests/filters/test_value_atlassian_token_check.py class TestValueAtlassianTokenCheck (line 12) | class TestValueAtlassianTokenCheck: method test_value_structured_token_check_p (line 15) | def test_value_structured_token_check_p(self, file_path: pytest.fixtur... method test_value_structured_token_check_n (line 28) | def test_value_structured_token_check_n(self, file_path: pytest.fixtur... FILE: tests/filters/test_value_azure_token_check.py class TestValueAzureTokenCheck (line 8) | class TestValueAzureTokenCheck(unittest.TestCase): method test_value_AzureToken_check_p (line 10) | def test_value_AzureToken_check_p(self): method test_value_AzureToken_check_n (line 21) | def test_value_AzureToken_check_n(self): FILE: tests/filters/test_value_base32_data_check.py class TestValueBase32DataCheck (line 8) | class TestValueBase32DataCheck: method test_value_entropy_check_p (line 11) | def test_value_entropy_check_p(self, file_path: pytest.fixture, line: ... method test_value_entropy_check_n (line 16) | def test_value_entropy_check_n(self, file_path: pytest.fixture, line: ... FILE: tests/filters/test_value_base64_data_check.py class TestValueBase64DataCheck (line 8) | class TestValueBase64DataCheck: method test_value_entropy_check_p (line 11) | def test_value_entropy_check_p(self, file_path: pytest.fixture, line: ... method test_value_entropy_check_n (line 16) | def test_value_entropy_check_n(self, file_path: pytest.fixture, line: ... FILE: tests/filters/test_value_base64_key_check.py class TestValueBase64KeyCheck (line 9) | class TestValueBase64KeyCheck(unittest.TestCase): method test_value_check_n (line 13) | def test_value_check_n(self) -> None: method test_value_check_p (line 24) | def test_value_check_p(self) -> None: FILE: tests/filters/test_value_base64_part_check.py class TestValueBase64PartCheck (line 9) | class TestValueBase64PartCheck(unittest.TestCase): method test_value_check_n (line 11) | def test_value_check_n(self) -> None: method test_value_check_p (line 47) | def test_value_check_p(self) -> None: FILE: tests/filters/test_value_basic_auth_check.py class TestValueBasicAuthCheck (line 9) | class TestValueBasicAuthCheck(unittest.TestCase): method test_value_check_n (line 11) | def test_value_check_n(self) -> None: method test_value_check_p (line 28) | def test_value_check_p(self) -> None: FILE: tests/filters/test_value_blocklist_check.py class TestValueBlocklistCheck (line 8) | class TestValueBlocklistCheck: method test_value_blocklist_p (line 10) | def test_value_blocklist_p(self, file_path: pytest.fixture, success_li... method test_value_blocklist_n (line 15) | def test_value_blocklist_n(self, file_path: pytest.fixture, line: str)... FILE: tests/filters/test_value_camel_case_check.py class TestValueCamelCaseCheck (line 8) | class TestValueCamelCaseCheck: method test_value_camelcase_p (line 10) | def test_value_camelcase_p(self, file_path: pytest.fixture, success_li... method test_value_camelcase_n (line 15) | def test_value_camelcase_n(self, file_path: pytest.fixture, line: str)... FILE: tests/filters/test_value_dictionary_keyword_check.py class TestValueDictionaryKeywordCheck (line 8) | class TestValueDictionaryKeywordCheck: method test_value_dictionary_keyword_check_p (line 10) | def test_value_dictionary_keyword_check_p(self, file_path: pytest.fixt... method test_value_dictionary_keyword_check_n (line 15) | def test_value_dictionary_keyword_check_n(self, file_path: pytest.fixt... FILE: tests/filters/test_value_entropy_base32_check.py class TestValueEntropyBase32Check (line 10) | class TestValueEntropyBase32Check: method test_value_entropy_check_p (line 13) | def test_value_entropy_check_p(self, file_path: pytest.fixture, line: ... method test_value_entropy_check_n (line 18) | def test_value_entropy_check_n(self, file_path: pytest.fixture, line: ... method test_get_min_data_entropy_p (line 28) | def test_get_min_data_entropy_p(self, size: int, entropy: float, devia... method test_get_min_data_entropy_n (line 36) | def test_get_min_data_entropy_n(self, size: int) -> None: FILE: tests/filters/test_value_entropy_base36_check.py class TestValueEntropyBase36Check (line 10) | class TestValueEntropyBase36Check: method test_value_entropy_check_p (line 13) | def test_value_entropy_check_p(self, file_path: pytest.fixture, line: ... method test_value_entropy_check_n (line 18) | def test_value_entropy_check_n(self, file_path: pytest.fixture, line: ... method test_get_min_data_entropy_p (line 29) | def test_get_min_data_entropy_p(self, size: int, entropy: float, devia... method test_get_min_data_entropy_n (line 37) | def test_get_min_data_entropy_n(self, size: int) -> None: FILE: tests/filters/test_value_entropy_base64_check.py class TestValueEntropyBase64Check (line 10) | class TestValueEntropyBase64Check: method test_value_entropy_check_p (line 13) | def test_value_entropy_check_p(self, file_path: pytest.fixture, line: ... method test_value_entropy_check_n (line 18) | def test_value_entropy_check_n(self, file_path: pytest.fixture, line: ... method test_get_min_data_entropy_p (line 37) | def test_get_min_data_entropy_p(self, size: int, entropy: float, devia... method test_get_min_data_entropy_n (line 45) | def test_get_min_data_entropy_n(self, size: int) -> None: FILE: tests/filters/test_value_file_path_check.py class TestValueFilePathCheck (line 8) | class TestValueFilePathCheck: method test_value_file_path_check_p (line 15) | def test_value_file_path_check_p(self, file_path: pytest.fixture, line... method test_value_file_path_check_n (line 39) | def test_value_file_path_check_n(self, file_path: pytest.fixture, line... FILE: tests/filters/test_value_github_check.py class TestValueGitHubCheck (line 8) | class TestValueGitHubCheck: method test_value_github_p (line 12) | def test_value_github_p(self, file_path: pytest.fixture, line: str) ->... method test_value_github_n (line 18) | def test_value_github_n(self, file_path: pytest.fixture, line: str) ->... FILE: tests/filters/test_value_grafana_check.py class TestValueGrafanaCheck (line 10) | class TestValueGrafanaCheck: method test_value_grafana_token_p (line 13) | def test_value_grafana_token_p(self, file_path: pytest.fixture, line: ... method test_value_grafana_key_p (line 19) | def test_value_grafana_key_p(self, file_path: pytest.fixture, line: st... method test_value_grafana_n (line 25) | def test_value_grafana_n(self, file_path: pytest.fixture, line: str) -... FILE: tests/filters/test_value_grafana_service_check.py class TestValueGrafanaServiceCheck (line 8) | class TestValueGrafanaServiceCheck: method test_value_sgrafana_service_check_p (line 11) | def test_value_sgrafana_service_check_p(self, file_path: pytest.fixtur... method test_value_sgrafana_service_check_n (line 16) | def test_value_sgrafana_service_check_n(self, file_path: pytest.fixtur... FILE: tests/filters/test_value_hex_number_check.py class TestValueHexNumberCheck (line 8) | class TestValueHexNumberCheck: method test_value_number_check_p (line 11) | def test_value_number_check_p(self, file_path: pytest.fixture, line: s... method test_value_number_check_n (line 16) | def test_value_number_check_n(self, file_path: pytest.fixture, line: s... FILE: tests/filters/test_value_json_web_key_check.py class TestValueJsonWebKeyCheck (line 9) | class TestValueJsonWebKeyCheck(unittest.TestCase): method test_value_jwk_check_n (line 11) | def test_value_jwk_check_n(self): method test_value_jwt_check_p (line 23) | def test_value_jwt_check_p(self): FILE: tests/filters/test_value_json_web_token_check.py class TestValueJsonWebTokenCheck (line 8) | class TestValueJsonWebTokenCheck(unittest.TestCase): method test_value_jwt_check_p (line 10) | def test_value_jwt_check_p(self): method test_value_jwt_check_n (line 27) | def test_value_jwt_check_n(self): FILE: tests/filters/test_value_last_word_check.py class TestValueLastWordCheck (line 8) | class TestValueLastWordCheck: method test_value_last_word_check_p (line 10) | def test_value_last_word_check_p(self, file_path: pytest.fixture, succ... method test_value_last_word_check_n (line 15) | def test_value_last_word_check_n(self, file_path: pytest.fixture, line... FILE: tests/filters/test_value_length_check.py class TestValueLengthCheck (line 8) | class TestValueLengthCheck: method test_value_length_check_p (line 10) | def test_value_length_check_p(self, file_path: pytest.fixture, success... method test_value_length_check_n (line 15) | def test_value_length_check_n(self, file_path: pytest.fixture, line: s... FILE: tests/filters/test_value_method_check.py class TestValueMethodCheck (line 8) | class TestValueMethodCheck: method test_value_method_check_p (line 10) | def test_value_method_check_p(self, file_path: pytest.fixture, success... method test_value_method_check_n (line 15) | def test_value_method_check_n(self, file_path: pytest.fixture, line: s... FILE: tests/filters/test_value_morphemes_check.py class TestValueMorphemesCheck (line 14) | class TestValueMorphemesCheck(unittest.TestCase): method setUp (line 16) | def setUp(self) -> None: method test_min_patter_len_n (line 19) | def test_min_patter_len_n(self) -> None: method test_init_n (line 23) | def test_init_n(self) -> None: method test_init_p (line 27) | def test_init_p(self) -> None: method test_run_small_n (line 31) | def test_run_small_n(self) -> None: method test_run_oversize_n (line 35) | def test_run_oversize_n(self) -> None: method test_run_true_p (line 42) | def test_run_true_p(self) -> None: method test_run_false_p (line 46) | def test_run_false_p(self) -> None: class TestValueMorphemesCheckFixture (line 51) | class TestValueMorphemesCheckFixture: method test_value_couple_keyword_check_p (line 62) | def test_value_couple_keyword_check_p(self, file_path: pytest.fixture,... method test_value_couple_keyword_check_n (line 86) | def test_value_couple_keyword_check_n(self, file_path: pytest.fixture,... method test_value_couple_keyword_check_arg_n (line 91) | def test_value_couple_keyword_check_arg_n(self, file_path: pytest.fixt... method test_value_couple_keyword_check_arg_p (line 96) | def test_value_couple_keyword_check_arg_p(self, file_path: pytest.fixt... FILE: tests/filters/test_value_not_allowed_pattern.py class TestValueLastWordCheck (line 8) | class TestValueLastWordCheck: method test_value_last_word_check_p (line 10) | def test_value_last_word_check_p(self, file_path: pytest.fixture, succ... method test_value_last_word_check_n (line 15) | def test_value_last_word_check_n(self, file_path: pytest.fixture, line... FILE: tests/filters/test_value_not_part_encoded.py class TestValueNotPartEncodedCheck (line 10) | class TestValueNotPartEncodedCheck: method test_value_not_part_encoded_p (line 12) | def test_value_not_part_encoded_p(self, config: pytest.fixture) -> None: method test_value_not_part_encoded_n (line 21) | def test_value_not_part_encoded_n(self, config: pytest.fixture) -> None: FILE: tests/filters/test_value_number_check.py class TestValueNumberCheck (line 8) | class TestValueNumberCheck: method test_value_number_check_p (line 11) | def test_value_number_check_p(self, file_path: pytest.fixture, line: s... method test_value_number_check_n (line 19) | def test_value_number_check_n(self, file_path: pytest.fixture, line: s... FILE: tests/filters/test_value_pattern_check.py class TestValuePatternCheck (line 13) | class TestValuePatternCheck(unittest.TestCase): method setUp (line 15) | def setUp(self) -> None: method test_min_patter_len_n (line 18) | def test_min_patter_len_n(self) -> None: method test_init_n (line 22) | def test_init_n(self) -> None: method test_init_p (line 27) | def test_init_p(self) -> None: method test_duple_pattern_check_n (line 32) | def test_duple_pattern_check_n(self) -> None: method test_duple_pattern_check_p (line 39) | def test_duple_pattern_check_p(self) -> None: method test_equal_pattern_check_n (line 44) | def test_equal_pattern_check_n(self) -> None: method test_equal_pattern_check_p (line 50) | def test_equal_pattern_check_p(self) -> None: method test_ascending_pattern_check_n (line 55) | def test_ascending_pattern_check_n(self) -> None: method test_ascending_pattern_check_p (line 60) | def test_ascending_pattern_check_p(self) -> None: method test_descending_pattern_check_n (line 64) | def test_descending_pattern_check_n(self) -> None: method test_descending_pattern_check_p (line 68) | def test_descending_pattern_check_p(self) -> None: class TestValuePatternCheckFixture (line 73) | class TestValuePatternCheckFixture: method test_value_similarity_check_p (line 75) | def test_value_similarity_check_p(self, file_path: pytest.fixture, con... method test_value_similarity_check_n (line 85) | def test_value_similarity_check_n(self, file_path: pytest.fixture, con... FILE: tests/filters/test_value_sealed_secret_check.py class TestValueSealedSecretCheck (line 12) | class TestValueSealedSecretCheck(unittest.TestCase): method test_value_search_check_n (line 14) | def test_value_search_check_n(self): method test_value_search_check_p (line 22) | def test_value_search_check_p(self): FILE: tests/filters/test_value_search_check.py class TestValueSearchCheck (line 11) | class TestValueSearchCheck(unittest.TestCase): method test_value_search_check_n (line 13) | def test_value_search_check_n(self): method test_value_search_check_p (line 24) | def test_value_search_check_p(self): FILE: tests/filters/test_value_similarity_check.py class TestValueSimilarityCheck (line 9) | class TestValueSimilarityCheck: method password_rule (line 12) | def password_rule(self, config) -> Rule: method test_value_similarity_check_p (line 26) | def test_value_similarity_check_p(self, password_rule: Rule, file_path... method test_value_similarity_check_n (line 33) | def test_value_similarity_check_n(self, password_rule: Rule, file_path... FILE: tests/filters/test_value_split_keyword_check.py class TestValueSplitKeywordCheck (line 8) | class TestValueSplitKeywordCheck: method test_value_split_keyword_check_p (line 11) | def test_value_split_keyword_check_p(self, file_path: pytest.fixture, ... method test_value_split_keyword_check_n (line 16) | def test_value_split_keyword_check_n(self, file_path: pytest.fixture, ... FILE: tests/filters/test_value_string_type_check.py class TestValueStringTypeCheck (line 9) | class TestValueStringTypeCheck: method test_value_string_type_check_p (line 11) | def test_value_string_type_check_p(self, config: Config, success_line:... method test_value_string_type_check_n (line 17) | def test_value_string_type_check_n(self, config: Config, line: str) ->... method test_value_string_type_check_none_path_n (line 22) | def test_value_string_type_check_none_path_n(self, config: Config, suc... method test_value_string_type_check_not_quoted_source_file_n (line 29) | def test_value_string_type_check_not_quoted_source_file_n(self, line: ... FILE: tests/filters/test_value_token_base32_check.py class TestValueTokenBase32Check (line 8) | class TestValueTokenBase32Check: method test_value_token_base32_check_p (line 11) | def test_value_token_base32_check_p(self, line: str) -> None: method test_value_token_base32_check_n (line 17) | def test_value_token_base32_check_n(self, line: str) -> None: FILE: tests/filters/test_value_token_base36_check.py class TestValueTokenBase36Check (line 8) | class TestValueTokenBase36Check: method test_value_token_base36_check_p (line 18) | def test_value_token_base36_check_p(self, line: str) -> None: method test_value_token_base36_check_n (line 32) | def test_value_token_base36_check_n(self, line: str) -> None: FILE: tests/filters/test_value_token_base64_check.py class TestValueTokenBase64Check (line 8) | class TestValueTokenBase64Check: method test_value_token_base64_check_p (line 18) | def test_value_token_base64_check_p(self, line: str) -> None: method test_value_token_base64_check_n (line 31) | def test_value_token_base64_check_n(self, line: str) -> None: FILE: tests/filters/test_value_token_check.py class TestValueTokenCheck (line 8) | class TestValueTokenCheck: method test_value_token_check_p (line 10) | def test_value_token_check_p(self, file_path: pytest.fixture, success_... method test_value_token_check_n (line 15) | def test_value_token_check_n(self, file_path: pytest.fixture, line: st... FILE: tests/ml_model/test_features.py class TestFeatures (line 28) | class TestFeatures(TestCase): method init_feature_search_comment (line 31) | def init_feature_search_comment(comment: str) -> SearchInAttribute: method setUp (line 42) | def setUp(self): method test_entropy_evaluation_n (line 59) | def test_entropy_evaluation_n(self): method test_entropy_evaluation_p (line 66) | def test_entropy_evaluation_p(self): method test_file_extension_n (line 79) | def test_file_extension_n(self): method test_file_extension_p (line 82) | def test_file_extension_p(self): method test_length_attribute_unsupported_n (line 85) | def test_length_attribute_unsupported_n(self): method test_length_attribute_empty_n (line 89) | def test_length_attribute_empty_n(self): method test_length_attribute_oversize_n (line 95) | def test_length_attribute_oversize_n(self): method test_length_attribute_p (line 101) | def test_length_attribute_p(self): method test_word_in_path_empty_n (line 106) | def test_word_in_path_empty_n(self): method test_word_in_path_n (line 110) | def test_word_in_path_n(self): method test_word_in_path_p (line 113) | def test_word_in_path_p(self): method test_word_in_value_empty_n (line 116) | def test_word_in_value_empty_n(self): method test_word_in_value_n (line 120) | def test_word_in_value_n(self): method test_word_in_value_p (line 123) | def test_word_in_value_p(self): method test_word_in_variable_empty_n (line 127) | def test_word_in_variable_empty_n(self): method test_word_in_variable_n (line 132) | def test_word_in_variable_n(self): method test_word_in_variable_p (line 136) | def test_word_in_variable_p(self): method test_word_in_preamble_dup_n (line 140) | def test_word_in_preamble_dup_n(self): method test_word_in_preamble_empty_n (line 144) | def test_word_in_preamble_empty_n(self): method test_word_in_preamble_n (line 150) | def test_word_in_preamble_n(self): method test_word_in_preamble_p (line 154) | def test_word_in_preamble_p(self): method test_word_in_transition_dup_n (line 158) | def test_word_in_transition_dup_n(self): method test_word_in_transition_empty_n (line 162) | def test_word_in_transition_empty_n(self): method test_word_in_transition_n (line 168) | def test_word_in_transition_n(self): method test_word_in_transition_p (line 172) | def test_word_in_transition_p(self): method test_word_in_postamble_dup_n (line 176) | def test_word_in_postamble_dup_n(self): method test_word_in_postamble_empty_n (line 180) | def test_word_in_postamble_empty_n(self): method test_word_in_postamble_n (line 186) | def test_word_in_postamble_n(self): method test_word_in_postamble_p (line 190) | def test_word_in_postamble_p(self): method test_has_html_tag_empty_n (line 194) | def test_has_html_tag_empty_n(self): method test_has_html_tag_n (line 200) | def test_has_html_tag_n(self): method test_has_html_tag_p (line 204) | def test_has_html_tag_p(self): method test_is_secret_numeric_empty_n (line 211) | def test_is_secret_numeric_empty_n(self): method test_is_secret_numeric_n (line 216) | def test_is_secret_numeric_n(self): method test_is_secret_numeric_p (line 220) | def test_is_secret_numeric_p(self): method test_search_in_attribute_line_empty_n (line 232) | def test_search_in_attribute_line_empty_n(self): method test_search_in_attribute_variable_empty_n (line 236) | def test_search_in_attribute_variable_empty_n(self): method test_search_in_attribute_value_empty_n (line 242) | def test_search_in_attribute_value_empty_n(self): method test_search_in_attribute_n (line 246) | def test_search_in_attribute_n(self): method test_search_in_attribute_p (line 251) | def test_search_in_attribute_p(self): method test_morpheme_dense_n (line 257) | def test_morpheme_dense_n(self): method test_morpheme_dense_p (line 263) | def test_morpheme_dense_p(self): method test_rule_name_n (line 272) | def test_rule_name_n(self): method test_rule_name_p (line 275) | def test_rule_name_p(self): method test_style_n (line 314) | def test_style_n(self): method test_style_p (line 323) | def test_style_p(self): method test_rule_severity_n (line 332) | def test_rule_severity_n(self): method test_rule_severity_p (line 339) | def test_rule_severity_p(self): FILE: tests/ml_model/test_ml_validator.py class TestMlValidator (line 19) | class TestMlValidator(unittest.TestCase): method setUp (line 21) | def setUp(self): method validate (line 36) | def validate(self, _candidate: Candidate) -> Tuple[bool, float]: method test_ml_validator_simple_n (line 43) | def test_ml_validator_simple_n(self): method test_ml_validator_auxiliary_p (line 69) | def test_ml_validator_auxiliary_p(self): method test_ml_validator_auxiliary_n (line 105) | def test_ml_validator_auxiliary_n(self): method test_extract_features_n (line 130) | def test_extract_features_n(self): method test_extract_features_p (line 140) | def test_extract_features_p(self): method testVariableNotAllowedPatternCheck_n (line 170) | def testVariableNotAllowedPatternCheck_n(self): method test_extract_features_normalized_n (line 184) | def test_extract_features_normalized_n(self): method test_encode_n (line 200) | def test_encode_n(self): method test_encode_p (line 205) | def test_encode_p(self): FILE: tests/rules/common.py class BaseTestRule (line 8) | class BaseTestRule: method test_scan_p (line 10) | def test_scan_p(self, file_path: pytest.fixture, lines: pytest.fixture, method test_scan_n (line 18) | def test_scan_n(self, file_path: pytest.fixture, lines: List[str], sca... class BaseTestNoQuotesRule (line 24) | class BaseTestNoQuotesRule: method test_scan_quote_p (line 33) | def test_scan_quote_p(self, file_path: pytest.fixture, lines: pytest.f... method test_scan_quote_n (line 38) | def test_scan_quote_n(self, python_file_path: pytest.fixture, lines: p... class BaseTestCommentRule (line 45) | class BaseTestCommentRule: method test_scan_comment_p (line 54) | def test_scan_comment_p(self, python_file_path: pytest.fixture, lines:... method test_scan_comment_n (line 60) | def test_scan_comment_n(self, python_file_path: pytest.fixture, lines:... class BaseTestMultiRule (line 68) | class BaseTestMultiRule: method test_scan_line_data_p (line 70) | def test_scan_line_data_p(self, file_path: pytest.fixture, lines: pyte... method test_scan_line_data_n (line 76) | def test_scan_line_data_n(self, file_path: pytest.fixture, scanner: py... FILE: tests/rules/test_api.py class TestApi (line 8) | class TestApi(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_auth.py class TestAuth (line 8) | class TestAuth(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method empty_line (line 15) | def empty_line(self, request) -> List[str]: method rule_name (line 19) | def rule_name(self) -> str: FILE: tests/rules/test_aws_key.py class TestAwsKey (line 8) | class TestAwsKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_aws_multi.py class TestAwsMulti (line 8) | class TestAwsMulti(BaseTestRule, BaseTestMultiRule): method lines (line 13) | def lines(self, request) -> List[str]: method rule_name (line 17) | def rule_name(self) -> str: FILE: tests/rules/test_aws_mws_key.py class TestAwsMwsKey (line 8) | class TestAwsMwsKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_credential.py class TestCredential (line 8) | class TestCredential(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_dynatrace_api_token.py class TestStripeApiKey (line 8) | class TestStripeApiKey(BaseTestRule): method lines (line 13) | def lines(self, request) -> List[str]: method rule_name (line 17) | def rule_name(self) -> str: FILE: tests/rules/test_facebook_key.py class TestFacebookKey (line 8) | class TestFacebookKey(BaseTestRule): method lines (line 14) | def lines(self, request) -> List[str]: method rule_name (line 18) | def rule_name(self) -> str: FILE: tests/rules/test_firebase_domain.py class TestFirebasDomain (line 8) | class TestFirebasDomain(BaseTestRule): method lines (line 14) | def lines(self, request) -> List[str]: method rule_name (line 18) | def rule_name(self) -> str: FILE: tests/rules/test_github_classic_token.py class TestClassicToken (line 8) | class TestClassicToken(BaseTestRule): method lines (line 13) | def lines(self, request) -> List[str]: method rule_name (line 17) | def rule_name(self) -> str: FILE: tests/rules/test_github_fine_granted_token.py class TestGithubFineGrantedToken (line 8) | class TestGithubFineGrantedToken(BaseTestRule): method lines (line 13) | def lines(self, request) -> List[str]: method rule_name (line 17) | def rule_name(self) -> str: FILE: tests/rules/test_google_api_key.py class TestGoogleApiKey (line 8) | class TestGoogleApiKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_google_multi.py class TestGoogleMulti (line 8) | class TestGoogleMulti(BaseTestRule, BaseTestMultiRule): method lines (line 12) | def lines(self, request) -> List[str]: method rule_name (line 16) | def rule_name(self) -> str: FILE: tests/rules/test_google_oauth_key.py class TestGoogleOAuthKey (line 8) | class TestGoogleOAuthKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_instagram_access_token.py class TestInstagramAccessToken (line 10) | class TestInstagramAccessToken(BaseTestRule): method lines (line 14) | def lines(self, request) -> List[str]: method rule_name (line 18) | def rule_name(self) -> str: FILE: tests/rules/test_jwt.py class TestJwt (line 8) | class TestJwt(BaseTestRule): method lines (line 18) | def lines(self, request) -> List[str]: method rule_name (line 22) | def rule_name(self) -> str: FILE: tests/rules/test_key.py class TestKey (line 8) | class TestKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method empty_line (line 15) | def empty_line(self, request) -> List[str]: method rule_name (line 19) | def rule_name(self) -> str: FILE: tests/rules/test_mailchimp_key.py class TestMailChimpKey (line 8) | class TestMailChimpKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_nonce.py class TestNone (line 8) | class TestNone(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method empty_line (line 15) | def empty_line(self, request) -> List[str]: method rule_name (line 19) | def rule_name(self) -> str: FILE: tests/rules/test_password.py class TestPassword (line 8) | class TestPassword(BaseTestRule): method lines (line 12) | def lines(self, request) -> List[str]: method rule_name (line 16) | def rule_name(self) -> str: class TestPasswordNoQuotes (line 20) | class TestPasswordNoQuotes(BaseTestNoQuotesRule): method lines (line 23) | def lines(self, request) -> List[str]: method rule_name (line 27) | def rule_name(self) -> str: class TestPasswordComment (line 31) | class TestPasswordComment(BaseTestCommentRule): method lines (line 34) | def lines(self, request) -> List[str]: method rule_name (line 38) | def rule_name(self) -> str: FILE: tests/rules/test_paypal_key.py class TestPayPalKey (line 8) | class TestPayPalKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_pem_key.py class TestPemKey (line 9) | class TestPemKey(BaseTestRule): method lines (line 62) | def lines(self, request) -> List[str]: method rule_name (line 66) | def rule_name(self) -> str: class TestEmptyPemKey (line 70) | class TestEmptyPemKey: method lines (line 82) | def lines(self, request) -> List[str]: method rule_name (line 86) | def rule_name(self) -> str: method test_scan_no_division_by_zero_exception_n (line 89) | def test_scan_no_division_by_zero_exception_n(self, file_path: pytest.... FILE: tests/rules/test_picatic_key.py class TestPicaticKey (line 8) | class TestPicaticKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_pypi_api_token.py class TestPyPiApiToken (line 8) | class TestPyPiApiToken(BaseTestRule): method lines (line 24) | def lines(self, request) -> List[str]: method rule_name (line 28) | def rule_name(self) -> str: FILE: tests/rules/test_rule.py class TestRuleConfigParsing (line 12) | class TestRuleConfigParsing: method rule_config (line 40) | def rule_config(self, request: str) -> Any: method test_create_from_config_p (line 43) | def test_create_from_config_p(self, config: Config, rule_config: pytes... method test_create_from_malformed_config_n (line 51) | def test_create_from_malformed_config_n(self, config: Config, rule_con... method test_create_from_missing_fields_n (line 57) | def test_create_from_missing_fields_n(self, config: Config) -> None: FILE: tests/rules/test_salt.py class TestSalt (line 8) | class TestSalt(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method empty_line (line 15) | def empty_line(self, request) -> List[str]: method rule_name (line 19) | def rule_name(self) -> str: FILE: tests/rules/test_secret.py class TestSecret (line 8) | class TestSecret(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: class TestSecretNoQuotes (line 19) | class TestSecretNoQuotes(BaseTestNoQuotesRule): method lines (line 22) | def lines(self, request) -> List[str]: method rule_name (line 26) | def rule_name(self) -> str: class TestSecretComment (line 30) | class TestSecretComment(BaseTestCommentRule): method lines (line 33) | def lines(self, request) -> List[str]: method rule_name (line 37) | def rule_name(self) -> str: FILE: tests/rules/test_sendgrid_api_key_token.py class TestSendGridApiKey (line 8) | class TestSendGridApiKey(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_shopify_token.py class TestShopifyToken (line 8) | class TestShopifyToken(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_slack_token.py class TestSlackToken (line 8) | class TestSlackToken(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_slack_webhook.py class TestSlackToken (line 8) | class TestSlackToken(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_square_access_token.py class TestSquareAccessToken (line 8) | class TestSquareAccessToken(BaseTestRule): method lines (line 11) | def lines(self, request) -> List[str]: method rule_name (line 15) | def rule_name(self) -> str: FILE: tests/rules/test_telegram_bot_api_token.py class TestTelegramBotApiToken (line 8) | class TestTelegramBotApiToken(BaseTestRule): method lines (line 14) | def lines(self, request) -> List[str]: method rule_name (line 18) | def rule_name(self) -> str: FILE: tests/rules/test_token.py class TestToken (line 9) | class TestToken(BaseTestRule): method lines (line 12) | def lines(self, request) -> List[str]: method rule_name (line 16) | def rule_name(self) -> str: class TestTokenNoQuotes (line 20) | class TestTokenNoQuotes(BaseTestNoQuotesRule): method lines (line 23) | def lines(self, request) -> List[str]: method rule_name (line 27) | def rule_name(self) -> str: class TestTokenComment (line 31) | class TestTokenComment(BaseTestCommentRule): method lines (line 34) | def lines(self, request) -> List[str]: method rule_name (line 38) | def rule_name(self) -> str: class TestTokenWhitespaceBeforeQuote (line 42) | class TestTokenWhitespaceBeforeQuote: method lines (line 45) | def lines(self) -> List[str]: method rule_name (line 50) | def rule_name(self) -> str: method test_scan_whitespace_before_quote_p (line 53) | def test_scan_whitespace_before_quote_p(self, file_path: pytest.fixtur... FILE: tests/rules/test_url_credentials.py class TestUrlCredentials (line 8) | class TestUrlCredentials(BaseTestRule): method lines (line 14) | def lines(self, request) -> List[str]: method rule_name (line 18) | def rule_name(self) -> str: FILE: tests/scanner/scan_type/test_multipattern.py class TestMultiPattern (line 13) | class TestMultiPattern(unittest.TestCase): method setUp (line 15) | def setUp(self) -> None: method test_oversize_line_n (line 33) | def test_oversize_line_n(self) -> None: method test_oversize_line_p (line 41) | def test_oversize_line_p(self) -> None: method test_get_line_positions_n (line 48) | def test_get_line_positions_n(self): method test_get_line_positions_p (line 54) | def test_get_line_positions_p(self): FILE: tests/scanner/scan_type/test_pem_key_pattern.py class TestPemKeyPattern (line 6) | class TestPemKeyPattern(unittest.TestCase): method test_remove_leading_config_lines_p (line 8) | def test_remove_leading_config_lines_p(self): method test_remove_leading_config_lines_n (line 13) | def test_remove_leading_config_lines_n(self): method test_sanitize_line_p (line 22) | def test_sanitize_line_p(self): method test_sanitize_line_n (line 36) | def test_sanitize_line_n(self): FILE: tests/test_app.py class TestApp (line 30) | class TestApp(TestCase): method setUp (line 32) | def setUp(self): method _m_credsweeper (line 36) | def _m_credsweeper(args) -> Tuple[str, str]: method test_it_works_p (line 54) | def test_it_works_p(self) -> None: method test_huge_diff_p (line 77) | def test_huge_diff_p(self) -> None: method test_it_works_with_patch_p (line 103) | def test_it_works_with_patch_p(self) -> None: method test_it_works_with_multiline_in_patch_p (line 136) | def test_it_works_with_multiline_in_patch_p(self) -> None: method test_it_works_with_patch_color_p (line 182) | def test_it_works_with_patch_color_p(self) -> None: method test_it_works_n (line 199) | def test_it_works_n(self) -> None: method test_log_p (line 255) | def test_log_p(self) -> None: method test_log_n (line 282) | def test_log_n(self) -> None: method test_help_p (line 301) | def test_help_p(self) -> None: method test_version_p (line 321) | def test_version_p(self) -> None: method test_banner_p (line 330) | def test_banner_p(self) -> None: method test_patch_save_json_p (line 359) | def test_patch_save_json_p(self) -> None: method test_patch_save_json_n (line 370) | def test_patch_save_json_n(self) -> None: method test_export_config_p (line 383) | def test_export_config_p(self) -> None: method test_import_config_p (line 391) | def test_import_config_p(self) -> None: method test_import_config_n (line 417) | def test_import_config_n(self) -> None: method test_export_log_config_p (line 437) | def test_export_log_config_p(self) -> None: method test_import_log_config_p (line 445) | def test_import_log_config_p(self) -> None: method test_find_by_ext_p (line 460) | def test_find_by_ext_p(self) -> None: method test_find_by_ext_n (line 495) | def test_find_by_ext_n(self) -> None: method test_depth_p (line 511) | def test_depth_p(self) -> None: method test_depth_n (line 555) | def test_depth_n(self) -> None: method test_denylist_p (line 569) | def test_denylist_p(self) -> None: method test_denylist_n (line 595) | def test_denylist_n(self) -> None: method test_rules_ml_p (line 612) | def test_rules_ml_p(self) -> None: method test_rules_ml_n (line 638) | def test_rules_ml_n(self) -> None: method test_no_filters_p (line 660) | def test_no_filters_p(self) -> None: method test_severity_patch_xlsx_n (line 680) | def test_severity_patch_xlsx_n(self) -> None: method test_severity_patch_xlsx_p (line 702) | def test_severity_patch_xlsx_p(self) -> None: method test_doc_n (line 733) | def test_doc_n(self) -> None: method test_external_ml_n (line 751) | def test_external_ml_n(self) -> None: method test_external_ml_p (line 777) | def test_external_ml_p(self) -> None: FILE: tests/test_doc.py class TestDoc (line 11) | class TestDoc(unittest.TestCase): method setUp (line 13) | def setUp(self) -> None: method test_secret_pair_p (line 18) | def test_secret_pair_p(self) -> None: method test_passwd_pair_p (line 26) | def test_passwd_pair_p(self) -> None: method test_ip_id_passwd_triple_p (line 34) | def test_ip_id_passwd_triple_p(self) -> None: method test_id_pair_passwd_pair_p (line 42) | def test_id_pair_passwd_pair_p(self) -> None: method test_id_passwd_pair_p (line 50) | def test_id_passwd_pair_p(self) -> None: FILE: tests/test_git.py class TestGit (line 19) | class TestGit(unittest.TestCase): method setUp (line 21) | def setUp(self): method tearDown (line 256) | def tearDown(self): method test_git_n (line 266) | def test_git_n(self, mock_get_arguments) -> None: method test_git_p (line 303) | def test_git_p(self, mock_get_arguments) -> None: FILE: tests/test_main.py class TestMain (line 36) | class TestMain(unittest.TestCase): method setUp (line 38) | def setUp(self): method tearDown (line 41) | def tearDown(self): method test_ml_validation_p (line 44) | def test_ml_validation_p(self) -> None: method test_ml_validation_n (line 50) | def test_ml_validation_n(self) -> None: method test_use_filters_p (line 56) | def test_use_filters_p(self) -> None: method test_use_filters_n (line 65) | def test_use_filters_n(self) -> None: method test_rules_dub_n (line 74) | def test_rules_dub_n(self) -> None: method test_rules_dub_p (line 102) | def test_rules_dub_p(self) -> None: method test_main_n (line 129) | def test_main_n(self, mock_get_arguments, mock_scan) -> None: method test_main_path_p (line 147) | def test_main_path_p(self, mock_get_arguments) -> None: method test_binary_patch_p (line 182) | def test_binary_patch_p(self, mock_get_arguments) -> None: method test_report_p (line 216) | def test_report_p(self, mock_get_arguments) -> None: method test_parse_args_n (line 270) | def test_parse_args_n(self, mock_parse) -> None: method test_positive_int_p (line 276) | def test_positive_int_p(self): method test_positive_int_n (line 282) | def test_positive_int_n(self): method test_threshold_or_float_or_zero_p (line 289) | def test_threshold_or_float_or_zero_p(self): method test_threshold_or_float_or_zero_n (line 296) | def test_threshold_or_float_or_zero_n(self): method test_wrong_severity_n (line 302) | def test_wrong_severity_n(self) -> None: method test_scan_bytes_p (line 308) | def test_scan_bytes_p(self) -> None: method test_scan_bytes_n (line 320) | def test_scan_bytes_n(self) -> None: method test_colored_line_p (line 329) | def test_colored_line_p(self) -> None: method test_string_content_provider_n (line 346) | def test_string_content_provider_n(self) -> None: method test_find_by_ext_and_not_ignore_p (line 357) | def test_find_by_ext_and_not_ignore_p(self) -> None: method test_multi_jobs_n (line 381) | def test_multi_jobs_n(self) -> None: method test_multi_jobs_p (line 407) | def test_multi_jobs_p(self) -> None: method test_find_by_ext_n (line 438) | def test_find_by_ext_n(self) -> None: method test_tar_n (line 461) | def test_tar_n(self) -> None: method test_tar_p (line 469) | def test_tar_p(self) -> None: method test_bad_tar_n (line 477) | def test_bad_tar_n(self) -> None: method test_png_p (line 492) | def test_png_p(self) -> None: method test_aws_multi_p (line 500) | def test_aws_multi_p(self) -> None: method test_depth_p (line 514) | def test_depth_p(self) -> None: method test_depth_n (line 529) | def test_depth_n(self) -> None: method test_bzip2_p (line 537) | def test_bzip2_p(self) -> None: method test_bzip2_n (line 546) | def test_bzip2_n(self) -> None: method test_eml_p (line 564) | def test_eml_p(self) -> None: method test_pdf_p (line 574) | def test_pdf_p(self) -> None: method test_pdf_n (line 588) | def test_pdf_n(self) -> None: method test_py_n (line 596) | def test_py_n(self) -> None: method test_py_p (line 604) | def test_py_p(self) -> None: method test_json_p (line 704) | def test_json_p(self) -> None: method test_json_n (line 716) | def test_json_n(self) -> None: method test_yaml_p (line 726) | def test_yaml_p(self) -> None: method test_yaml_n (line 739) | def test_yaml_n(self) -> None: method test_encoded_p (line 749) | def test_encoded_p(self) -> None: method test_docx_p (line 761) | def test_docx_p(self) -> None: method test_docx_n (line 786) | def test_docx_n(self) -> None: method test_html_p (line 796) | def test_html_p(self) -> None: method test_html_n (line 822) | def test_html_n(self) -> None: method test_exclude_value_p (line 831) | def test_exclude_value_p(self) -> None: method test_exclude_value_n (line 840) | def test_exclude_value_n(self) -> None: method test_exclude_line_p (line 849) | def test_exclude_line_p(self) -> None: method test_exclude_line_n (line 858) | def test_exclude_line_n(self) -> None: method test_doc_p (line 867) | def test_doc_p(self) -> None: method test_doc_n (line 884) | def test_doc_n(self) -> None: method test_fallback_n (line 893) | def test_fallback_n(self) -> None: method test_data_p (line 905) | def test_data_p(self) -> None: method test_param_n (line 979) | def test_param_n(self) -> None: method test_param_p (line 1018) | def test_param_p(self) -> None: method test_random_p (line 1099) | def test_random_p(self) -> None: method test_hashed_n (line 1114) | def test_hashed_n(self) -> None: FILE: tests/test_utils/dummy_line_data.py function config (line 11) | def config() -> Config: function get_line_data (line 23) | def get_line_data(test_config: Config = config(), FILE: tests/utils/test_hop_stat.py class TestHopStat (line 6) | class TestHopStat(unittest.TestCase): method test_hop_stat_n (line 8) | def test_hop_stat_n(self): method test_hop_stat_p (line 17) | def test_hop_stat_p(self): FILE: tests/utils/test_util.py class TestUtils (line 20) | class TestUtils(unittest.TestCase): method test_asn1_n (line 112) | def test_asn1_n(self): method test_asn1_p (line 127) | def test_asn1_p(self): method test_get_extension_n (line 140) | def test_get_extension_n(self): method test_get_extension_p (line 151) | def test_get_extension_p(self): method test_colon_os_n (line 161) | def test_colon_os_n(self): method test_get_shannon_entropy_hypothesis_n (line 176) | def test_get_shannon_entropy_hypothesis_n(self, data): method test_get_shannon_entropy_n (line 179) | def test_get_shannon_entropy_n(self): method test_get_shannon_entropy_p (line 186) | def test_get_shannon_entropy_p(self): method test_util_read_file_n (line 202) | def test_util_read_file_n(self): method test_util_read_file_p (line 216) | def test_util_read_file_p(self): method test_util_read_utf8_bin_p (line 229) | def test_util_read_utf8_bin_p(self): method test_util_read_utf16le_bin_p (line 280) | def test_util_read_utf16le_bin_p(self): method test_util_read_utf16le_txt_p (line 314) | def test_util_read_utf16le_txt_p(self): method test_util_read_utf16be_txt_p (line 345) | def test_util_read_utf16be_txt_p(self): method test_decode_text_n (line 377) | def test_decode_text_n(self): method test_decode_text_p (line 381) | def test_decode_text_p(self): method test_is_binary_n (line 390) | def test_is_binary_n(self): method test_is_binary_p (line 400) | def test_is_binary_p(self): method test_is_latin1_n (line 409) | def test_is_latin1_n(self): method test_is_latin1_p (line 417) | def test_is_latin1_p(self): method test_is_ascii_entropy_validate_p (line 425) | def test_is_ascii_entropy_validate_p(self): method test_is_ascii_entropy_validate_n (line 437) | def test_is_ascii_entropy_validate_n(self): method test_read_bin_file_n (line 448) | def test_read_bin_file_n(self): method test_read_data_n (line 457) | def test_read_data_n(self): method test_split_text_n (line 461) | def test_split_text_n(self, text): method test_get_xml_data_p (line 464) | def test_get_xml_data_p(self): method test_get_xml_data_n (line 484) | def test_get_xml_data_n(self): method test_json_load_p (line 490) | def test_json_load_p(self): method test_json_load_n (line 535) | def test_json_load_n(self): method test_json_dump_p (line 544) | def test_json_dump_p(self): method test_json_dump_n (line 570) | def test_json_dump_n(self): method test_parse_py_p (line 579) | def test_parse_py_p(self): method test_parse_py_n (line 586) | def test_parse_py_n(self): method test_decode_base64_p (line 595) | def test_decode_base64_p(self): method test_decode_base64_n (line 606) | def test_decode_base64_n(self): method test_get_chunks_n (line 620) | def test_get_chunks_n(self): method test_get_chunks_p (line 633) | def test_get_chunks_p(self): method test_get_chunks_coverage_n (line 663) | def test_get_chunks_coverage_n(self): method test_subtext_n (line 676) | def test_subtext_n(self): method test_subtext_p (line 680) | def test_subtext_p(self): method test_get_excel_column_name_n (line 701) | def test_get_excel_column_name_n(self): method test_get_excel_column_name_p (line 706) | def test_get_excel_column_name_p(self): method test_load_pk_n (line 714) | def test_load_pk_n(self): method test_load_pk_p (line 721) | def test_load_pk_p(self): method test_check_pk_n (line 743) | def test_check_pk_n(self): method test_check_pk_p (line 746) | def test_check_pk_p(self):