pub struct HtmlIospView {
pub findings: Vec<HtmlIospFindingRow>,
}
pub struct HtmlIospFindingRow {
pub file: String,
pub line: usize,
pub logic_summary: String, pub call_summary: String, }
pub struct HtmlIospDataView {
pub violations: Vec<HtmlIospFunctionRow>,
}
pub struct HtmlIospFunctionRow {
pub qualified_name: String,
pub file: String,
pub line: usize,
pub severity_class: &'static str, pub severity_label: &'static str, pub effort: String, }
pub struct HtmlComplexityView {
pub flagged_keys: Vec<HtmlComplexityKey>,
}
pub struct HtmlComplexityKey {
pub file: String,
pub line: usize,
pub is_magic_number: bool,
}
pub struct HtmlComplexityDataView {
pub functions: Vec<HtmlComplexityFunctionRow>,
}
pub struct HtmlComplexityFunctionRow {
pub qualified_name: String,
pub file: String,
pub line: usize,
pub cognitive: usize,
pub cyclomatic: usize,
pub max_nesting: usize,
pub function_lines: usize,
pub issue_summary: String,
pub suppressed: bool,
pub complexity_suppressed: bool,
}
pub struct HtmlDryView {
pub duplicate_groups: Vec<DryGroupRow>,
pub fragment_groups: Vec<DryGroupRow>,
pub repeated_match_groups: Vec<DryGroupRow>,
pub dead_code: Vec<DeadCodeRow>,
pub boilerplate: Vec<BoilerplateRow>,
pub wildcards: Vec<WildcardRow>,
}
pub(crate) use crate::adapters::report::projections::dry::{
BoilerplateRow, DeadCodeRow, DryGroupRow, ParticipantRow, WildcardRow,
};
pub struct HtmlSrpView {
pub struct_warnings: Vec<SrpStructRow>,
pub module_warnings: Vec<SrpModuleRow>,
pub param_warnings: Vec<SrpParamRow>,
pub structural_rows: Vec<HtmlStructuralRow>,
}
pub(crate) use crate::adapters::report::projections::srp::{
SrpModuleRow, SrpParamRow, SrpStructRow,
};
pub struct HtmlCouplingView {
pub cycle_paths: Vec<Vec<String>>,
pub sdp_violations: Vec<SdpViolationRow>,
pub structural_rows: Vec<HtmlStructuralRow>,
}
pub(crate) use crate::adapters::report::projections::coupling::SdpViolationRow;
pub struct HtmlCouplingDataView {
pub modules: Vec<HtmlCouplingModuleRow>,
}
pub struct HtmlCouplingModuleRow {
pub name: String,
pub afferent: usize,
pub efferent: usize,
pub instability: f64,
pub suppressed: bool,
}
pub(crate) use crate::adapters::report::projections::srp::StructuralRow as HtmlStructuralRow;
pub struct HtmlTqView {
pub warnings: Vec<TqRow>,
}
pub(crate) use crate::adapters::report::projections::tq::TqRow;
pub struct HtmlArchitectureView {
pub findings: Vec<HtmlArchitectureRow>,
}
pub struct HtmlArchitectureRow {
pub rule_id: String,
pub file: String,
pub line: usize,
pub message: String,
}