Object | Number | Invalid | $cost_headerComments | Details |
};
$self->logrep($html_header);
foreach my $typ (sort keys %{ $report_info{'Objects'} } ) {
$report_info{'Objects'}{$typ}{'detail'} =~ s/\n/
/gs;
$report_info{'Objects'}{$typ}{'detail'} = "See details
$report_info{'Objects'}{$typ}{'detail'} " if ($report_info{'Objects'}{$typ}{'detail'} ne '');
if ($self->{estimate_cost}) {
$self->logrep("$typ | $report_info{'Objects'}{$typ}{'number'} | $report_info{'Objects'}{$typ}{'invalid'} | $report_info{'Objects'}{$typ}{'cost_value'} | $report_info{'Objects'}{$typ}{'comment'} | $report_info{'Objects'}{$typ}{'detail'} |
\n");
} else {
$self->logrep("$typ | $report_info{'Objects'}{$typ}{'number'} | $report_info{'Objects'}{$typ}{'invalid'} | $report_info{'Objects'}{$typ}{'comment'} | $report_info{'Objects'}{$typ}{'detail'} |
\n");
}
}
if ($self->{estimate_cost}) {
my $human_cost = $self->_get_human_cost($report_info{'total_cost_value'});
my $comment = "$report_info{'total_cost_value'} cost migration units means approximatively $human_cost. The migration unit was set to $self->{cost_unit_value} minute(s)\n";
$self->logrep("Total | $report_info{'total_object_number'} | $report_info{'total_object_invalid'} | $report_info{'total_cost_value'} | $comment |
\n");
} else {
$self->logrep("Total | $report_info{'total_object_number'} | $report_info{'total_object_invalid'} | |
\n");
}
$self->logrep("