excoveralls v0.10.0 ExCoveralls.Stats

Provide calculation logics of coverage stats.

Link to this section Summary

Functions

Append the name of the sub app to the source info stats

Calculate the statistical information for the specified list of modules. It uses :cover.analyse for getting the information

Exit the process with a status of 1 if coverage is below the minimum

Generate coverage, based on the pre-calculated statistic information

Generate objects which stores source-file and coverage stats information

Returns total line counts of the specified source file

Returns the source file of the specified module

Wrapper for reading the specified file

Report the statistical information for he specified module

Summarizes source coverage details

Link to this section Functions

Link to this function append_sub_app_name(stats, sub_app_name, apps_path)

Append the name of the sub app to the source info stats.

Link to this function calculate_stats(modules)

Calculate the statistical information for the specified list of modules. It uses :cover.analyse for getting the information.

Link to this function ensure_minimum_coverage(stats)

Exit the process with a status of 1 if coverage is below the minimum.

Link to this function generate_coverage(hash)

Generate coverage, based on the pre-calculated statistic information.

Link to this function generate_source_info(coverage)

Generate objects which stores source-file and coverage stats information.

Link to this function get_source_line_count(file_path)

Returns total line counts of the specified source file.

Link to this function read_module_source(module)

Returns the source file of the specified module.

Link to this function read_source(file_path)

Wrapper for reading the specified file.

Link to this function report(modules)

Report the statistical information for he specified module.

Link to this function skip_files(converage)
Link to this function source(stats, patterns)

Summarizes source coverage details.

Link to this function trim_empty_prefix_and_suffix(string)