Function getCoverageSummary

Get the line that contains the coverage summary

std.algorithm.iteration.FilterResult!(trial.coverage.getCoverageSummary(string).__lambda5,std.algorithm.iteration.MapResult!(trial.coverage.getCoverageSummary(string).__lambda4,std.algorithm.iteration.FilterResult!(trial.coverage.getCoverageSummary(string).__lambda3,string[]).FilterResult).MapResult) getCoverageSummary (
  string fileContent
) pure nothrow @safe;

Example

It should get the coverage summary from the .lst file with no coverage

"
     |  double threadUsage(uint index);
     |}
core/cloud/source/cloud/system.d has no code
".getCoverageSummary.front.should.equal("core/cloud/source/cloud/system.d has no code");

Example

It should get the coverage summary from the .lst file with missing data

"

".getCoverageSummary.empty.should.equal(true);

Example

It should get the coverage summary from the .lst file with percentage

"
    2|  statusList[0].properties[\"thread1\"].value.should.startWith(\"1;\");
     |}
core/cloud/source/cloud/system.d is 88% covered
".getCoverageSummary.front.should.equal("core/cloud/source/cloud/system.d is 88% covered");