44 "description" : "🔥 The [yellow]CLI tool[/] that makes your code [yellow]spicier[/] 🥵" ,
55 # error messages
66 "error" : "Error:" ,
7+ "error_file_not_found" : "Error: File not found" ,
8+ "error_not_a_file" : "Error: Not a file" ,
9+ "error_reading_file" : "Error reading file" ,
10+ "error_invalid_format" : "Error: Invalid output format" ,
11+ "error_unexpected_result" : "Error: Unexpected result from analyzer." ,
12+ "error_analyzing_visibility" : "Error analyzing visibility" ,
713 # keys for the analyze command output
814 "analyzing_file" : "Analyzing file" ,
915 "line_count" : "The file has {count} lines" ,
2228 # keys for the version command
2329 "version_info" : "SpiceCode Version:" ,
2430 "version_not_found" : "Version information not found in setup.py" ,
25- "setup_not_found" : "Error: setup.py not found."
26- }
31+ "setup_not_found" : "Error: setup.py not found." ,
32+
33+ # General / Reusable
34+ "file_path_help" : "The path to the file to analyze." ,
35+ "output_format_help" : "Output format (console, json)." ,
36+ "valid_formats_are" : "Valid formats are" ,
37+ "line_num" : "Line No." ,
38+ "content_col" : "Content" ,
39+ "empty_line" : "Empty/Whitespace" , # for display in table cell
40+ "summary_statistics" : "Summary Statistics" ,
41+ "metric" : "Metric" ,
42+ "value" : "Value" ,
43+ "category" : "Category" ,
44+ "count" : "Count" ,
45+ "name" : "Name" ,
46+ "type" : "Type" , # for function/method type
47+ "visibility" : "Visibility" ,
48+
49+ # Indentation Analysis
50+ "analyze_indentation_help" : "Analyzes and reports the indentation levels for each line in the given file." ,
51+ "indentation_analysis_for" : "Indentation Analysis for" ,
52+ "indentation_details_per_line" : "Indentation Details Per Line" ,
53+ "indent_level_col" : "Indent Level" ,
54+
55+ # Dependency Analysis
56+ "analyze_dependencies_help" : "Analyzes and reports the external dependencies for the given file." ,
57+ "dependency_analysis_for" : "Dependency Analysis for" ,
58+ "dependencies_found" : "Dependencies Found" ,
59+ "dependency_name" : "Dependency Name" ,
60+ "no_dependencies_found" : "No dependencies found in this file." ,
61+
62+ # Comment/Code Ratio Analysis
63+ "analyze_comment_code_ratio_help" : "Analyzes and reports the comment to code ratio for the given file." ,
64+ "comment_code_ratio_analysis_for" : "Comment/Code Ratio Analysis for" ,
65+ "total_lines" : "Total Lines" ,
66+ "code_lines" : "Code Lines" ,
67+ "comment_lines" : "Comment-Only Lines" ,
68+ "empty_lines" : "Empty/Whitespace Lines" ,
69+ "comment_code_ratio" : "Comment/Code Ratio" ,
70+ "line_by_line_classification" : "Line-by-Line Classification" ,
71+ "line_type" : "Line Type" ,
72+ "code" : "Code" , # as a line type
73+ "comment_only" : "Comment Only" , # as a line type
74+ "empty_or_whitespace" : "Empty/Whitespace" , # as a line type (key for logic)
75+
76+ # Visibility Analysis
77+ "analyze_visibility_help" : "Analyzes and reports the visibility of functions and methods (public/private) in the given file." ,
78+ "visibility_analysis_for" : "Visibility Analysis for" ,
79+ "visibility_summary" : "Visibility Summary" ,
80+ "public_functions" : "Public Functions" ,
81+ "private_functions" : "Private Functions" ,
82+ "public_methods" : "Public Methods" ,
83+ "private_methods" : "Private Methods" ,
84+ "details_by_element" : "Details by Element" ,
85+ "function" : "Function" , # as a type of element
86+ "method" : "Method" , # as a type of element
87+ "public" : "Public" , # as visibility status
88+ "private (convention)" : "Private (convention)" ,
89+ "private (name mangling)" : "Private (name mangling)" ,
90+ "no_elements_found_for_visibility" : "No functions or methods found for visibility analysis in this file."
91+ }
92+
0 commit comments