Closed henry2cox closed 1 year ago
I just fixed a few typos and updated the PR (force-push - sorry about that). At Peter's request/suggestion, I'm cleaning up a bit so this can be safely merged.
Yes…it caused a syntax error on our systems…I just commented it out and didn’t do any more debugging to see why it happened or what functionality I removed. To be honest: I kind of forgot I had done it, and never went back to it.
When I put it back (just now) – I find: @.***
Henry
Applied as 5f659f63801ef7f94c50a0eb5cffa1ea70f73651 with the following minor changes:
Thanks for your contribution and persistence in getting it merged :) And looking forward to a productive cooperation going forward.
this PR subsumes PR #86 which was created some time ago. It contains all the same code, adds all the same features, and makes all the same changes. The only substantial change vs the 'diffcov_initial' branch mentioned in #86 is (automated) reformatting of code.
The aim of the new branch - and the aim of this PR - is to make it very easy to merge to master.
Commit comment from merge branch says it all:
(Squashed commit of all changes from the 'diffcov_initial' branch:) New features and enhancements (compared to lcov 1.16):
New features and capabilities fall into 6 major categories:
a) Categorization
b) Error handling
c) Navigation and display:
d) Data manipulation
e) Callbacks/customization
See the genhtml/lcov/geninfo man pages for details.
Note that the various sample scripts are found in the source code 'bin' directory, but are installed in the $LCOV_HOME/share/lcov/support-scripts directory of the release.
Related options: --annotate-script, --criteria-script, --version-script
f) Performance
In general, the new features and options are implemented uniformly in lcov, genhtml, and geninfo. Most of the features can be enabled/disabled using either command line options or by setting defaults in your 'lcovrc' file. See the lcovrc man page for details.
Finally - and of interest onl to developers - the various lcov-related scripts have been refactored to use a common utility library. See the code in .../lib/lcovutil.pm for details.
Signed-off-by: Henry Cox henry.cox@mediatek.com