1
1
Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Ralph Castain
869041f770 Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Rainer Keller
3534fde554 - to get coverage analysis with gcc-4, detect the .gcda files, too
- check for files within the .libs directory (libtool-dependant?)

This commit was SVN r13147.
2007-01-17 14:21:23 +00:00
Prabhanjan Kambadur
02314bda9c Making some small changes
This commit was SVN r5481.
2005-04-21 17:17:40 +00:00
Prabhanjan Kambadur
ea0e1de399 Adding a dumb but essential check to see if any file was touched
This commit was SVN r5478.
2005-04-21 05:18:12 +00:00
Prabhanjan Kambadur
ed60597034 Making a minor change which goes a long way. This was a typo :)
This commit was SVN r5477.
2005-04-21 05:15:56 +00:00
Prabhanjan Kambadur
213da2abd0 - This version canhandle command line parsing
- If -d is specified, it assumes that the next parameter is 
      a valid subdirectory path.
    - If -f is specified, then it generates the statistic for tehse
      files. Each -f is pared with one file only. So multiple files require 
      multiple -f's
    - -p "%" can be given to spew out the files which have a coverage
      below this percentage

This commit was SVN r5426.
2005-04-19 00:35:59 +00:00
Prabhanjan Kambadur
c53e92c482 - This version reports all the files which are below a certain percentage as specified by -p %. If this is not specified, it defaults to 0%
- Added some minor changes to make sure that files are not reported more than once
- Print average coverage statistics
- TODO
    - Add support to get statistics for a particular file

This commit was SVN r5418.
2005-04-18 17:35:00 +00:00
Prabhanjan Kambadur
2d518033fc eliminating duplicate copies from the report
This commit was SVN r5417.
2005-04-18 17:14:29 +00:00
Prabhanjan Kambadur
884a04923e This is the perl script which parses the output of gcov.
Currently, the fllowing have been implemented:
    - the directory/ies are specified in a file "dir_list"
    - gcov is run on all the files which were touched
    - 4 files are generated as output
        - touched_files (those files which generated .da files)
        - untouched_files (those which did nto generate .da files)
        - coverage_stats.txt (index, filename, dirname, %coverage)
        - zero_coverage.txt (same as above, but for those with 0% coverage)
    - Currently, the statistics are generated only for *.c and *.cc files.
      gcov does infact generate the numbers for header files as and when 
      they are used. So, for every inclusion of a header file, a seperate
      .da for that header file is created. To get the numbers out for 
      the header files, we need to aggregate all the stats for the header 
      files manually. This is yet to be done

Things to do;
    - Generate the statistics for the header files
    - Command line parsing instead of reading from "dir_list"
    - Input a % and list all the files which were covered less
      than that percentage

This commit was SVN r5415.
2005-04-18 16:34:27 +00:00