pub struct AdapterCounts {Show 22 fields
pub functions: Vec<FunctionNode>,
pub panic_calls: usize,
pub naming_violations: usize,
pub deeply_nested_blocks: usize,
pub debug_calls: usize,
pub excessive_params: usize,
pub unsafe_blocks: usize,
pub magic_numbers: usize,
pub commented_out_lines: usize,
pub todo_markers: usize,
pub goroutine_spawns: usize,
pub defer_in_loop: usize,
pub go_conventions: usize,
pub python_issues: usize,
pub java_issues: usize,
pub ruby_issues: usize,
pub c_issues: usize,
pub ts_issues: usize,
pub js_issues: usize,
pub swift_issues: usize,
pub dead_code: usize,
pub duplicate_imports: usize,
}Expand description
All adapter-computed counts in a single batch result.
Fields§
§functions: Vec<FunctionNode>§panic_calls: usize§naming_violations: usize§deeply_nested_blocks: usize§debug_calls: usize§excessive_params: usize§unsafe_blocks: usize§magic_numbers: usize§commented_out_lines: usize§todo_markers: usize§goroutine_spawns: usize§defer_in_loop: usize§go_conventions: usize§python_issues: usize§java_issues: usize§ruby_issues: usize§c_issues: usize§ts_issues: usize§js_issues: usize§swift_issues: usize§dead_code: usize§duplicate_imports: usizeTrait Implementations§
Source§impl Clone for AdapterCounts
impl Clone for AdapterCounts
Source§fn clone(&self) -> AdapterCounts
fn clone(&self) -> AdapterCounts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdapterCounts
impl Debug for AdapterCounts
Source§impl Default for AdapterCounts
impl Default for AdapterCounts
Source§fn default() -> AdapterCounts
fn default() -> AdapterCounts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdapterCounts
impl RefUnwindSafe for AdapterCounts
impl Send for AdapterCounts
impl Sync for AdapterCounts
impl Unpin for AdapterCounts
impl UnsafeUnpin for AdapterCounts
impl UnwindSafe for AdapterCounts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more