diff options
author | Mikhail Melnikov <mikhail_melnikov@epam.com> | 2017-10-25 15:02:52 +0300 |
---|---|---|
committer | Joel Martinez <joelmartinez@gmail.com> | 2017-10-25 17:30:41 +0300 |
commit | bc635e48317843fb126c4be0875d50ab1eeb61db (patch) | |
tree | 3926845a8877ef48d0bab5aa3fd45ad6ef6b4275 /mdoc/Test/expected_fx_remove_statistics.txt | |
parent | c173a8b596b5a9dc6d2746dabc7fe46f82478ef7 (diff) |
mdoc: Analytics mode
Added -statistics CLI argument with required parameter <path>.
Statistics module counts how many namespaces/types/members are added/removed/total.
If <path> parameter just points to a folder the default filename "statistics.txt" is appended. If the path can't be resolved a warning message is printed ("mdoc: Unable to save statistics file: Could not find a part of the path 'Z:\'.")
Unit tests for new classes are added; "check-monodocer-fx-statistics-remove" integration test is added, 2 other tests check statistics result file as well.
Closes #100
Diffstat (limited to 'mdoc/Test/expected_fx_remove_statistics.txt')
-rw-r--r-- | mdoc/Test/expected_fx_remove_statistics.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mdoc/Test/expected_fx_remove_statistics.txt b/mdoc/Test/expected_fx_remove_statistics.txt new file mode 100644 index 00000000..82b80e4d --- /dev/null +++ b/mdoc/Test/expected_fx_remove_statistics.txt @@ -0,0 +1,14 @@ +Framework: One +-------- +Types Added: 0 +Types Removed: 1 +Types Total: 2 + +Namespaces Added: 0 +Namespaces Removed: 0 +Namespaces Total: 1 + +Members Added: 0 +Members Removed: 5 +Members Total: 5 + |