code-status-scanner-0.1.1 is not a library.
Code Status Scanner
A command-line tool to scan Rust codebases for code-status-macros usage and generate reports.
Installation
# Install from crates.io
# Or build from source
Features
- Scan entire codebases for code status macro usage
- Generate summary reports of technical debt and development issues
- Search for specific types of markers
- Filter files using regex patterns
- Color-coded output for better readability
Usage
Basic Commands
# Scan the current directory and list all markers
# Scan a specific directory
# Generate a summary report
# Search for specific macros
Filtering Options
# Only scan files matching a pattern
# Exclude files matching a pattern
# Combine patterns and commands
Output Examples
List Format
Found 42 code status macro instances:
src/main.rs:45 #[untested]
fn process_data(input: &str) -> Result<Data, Error> {
src/auth.rs:128 #[security_sensitive]
fn validate_token(token: &str) -> bool {
src/parser.rs:256 #[needs("better error handling")]
fn parse_complex_input(data: &[u8]) -> Vec<Token> {
Summary Format
== Macro Usage Summary ==
Total macro instances: 42
By macro type:
untested : 12
needs : 9
security_sensitive : 7
needs_review : 5
unsafe_usage : 4
temporary : 3
complexity : 2
Top 5 files by macro usage:
src/auth.rs : 8
src/parser.rs : 7
src/main.rs : 6
src/models/user.rs : 5
src/api/endpoints.rs : 4
Use Cases
- Track technical debt across a codebase
- Identify areas that need review before a release
- Generate reports for team discussions
- Plan refactoring efforts
- Monitor the use of unsafe code or potential panic points
Development
This tool is part of the code-status-macros collection of development utilities.
To contribute or report issues, please visit the GitHub repository.