| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
fix _mkdir parameter error.
Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
|
|
|
|
|
|
|
|
| |
Replaced raw pointer used with ReportsBase-derived classes to make code
cleaner and make it to where pointers do not have to be manually
deleted.
Closes #4376
|
|
|
|
|
|
|
|
|
|
|
| |
The uncoveredRanges and uncoveredBranch member variables are allocated
as a pair. They are both either NULL or not NULL. Coverity does not know
this though, so this assert is added to ensure they are not NULL before
being dereferenced.
CID 1503710: Dereference after null check
Closes #4428
|
|
|
|
|
|
| |
- Removed the includes of app_common.h
- Removed app_common references in build infrastructure
- Removed app_common.cc and app_common.h
|
|
|
|
|
|
| |
- Removed BranchInfoAvailable from app_common
- Created member variable in CoverageReaderBase and ReportsBase and a function
to get the value of the member variable
|
|
|
|
|
|
|
|
|
| |
- Removed SymbolsToAnalyze from app_common and replaced it with the
symbolsToAnalyze_m member variable in DesiredSymbols, GcovData, and
ObjdumpProcessor
- Added a parameter to constructors to initialize symbolsToAnalyze_m
- Moved the definition of objdumpLine_t out of ObjdumpProcessor to make
it work with DesiredSymbols
|
|
|
|
|
|
|
|
| |
- Replaced outputDirectory in app_common with a local variable in
covoar()
- Created the outputDirectory_m member variable
- Added parameters to Reports* constructors to initialize
outputDirectory_m and non member functions
|
|
|
|
|
|
|
|
| |
- Replaced projectName in app_common with a local variable in covoar()
- Changed datatype to string
- Changed conditionals to reflect this
- Created projectName_m member variable for ReportsBase
- Added parameter to Reports* constructors to initialize projectName_m
|
|
|
|
|
| |
Replaced Verbose in app_common with local variables that are passed
as a parameter into numerous functions
|
|
|
|
|
|
|
|
|
| |
- Replaced AllExplanations in app_common with a local variable in covoar()
- Added the allExplanations_m member variable to ReportsBase
- Added a parameter to ReportsBase and its derived classes' constructors
to initialize allExplanations_m
- Added parameter to GenerateReports() to pass the variable from
covoar() to the constructors for Reports*
|
| |
|
| |
|
|
|
|
|
|
| |
CID 1503709: Division or modulo by float zero
Closes #4415
|
|
|
|
|
|
| |
CID 1503711: Resource leak in WriteSummaryReport().
Closes #4422
|
|
|
|
|
|
|
|
| |
Some of the loops in the ReportsBase::Write* methods contained both
regular and range-based for loops. This changes them to use only range-
based for loops.
Closes #4374
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the way covoar organizes the symbols. Instead of treating
all symbols as one set, covoar is now aware of multiple symbol sets and
tracks statistics for each set. It now also generates reports for each
symbol set.
This change relieves the caller of covoar of the reponsibility of
managing the symbol sets. As a result, covoar can minimize the work
done for each symbol set, yielding a significant speedup.
Updates #4374
|
|
|
|
|
| |
This makes the branch report more consistent with the other reports when
there is no branch information found.
|
|
|
|
|
|
|
| |
The coverage reports contain places where they display incorrect or
vague information particularly when some statistic is unavailable. This
has been fixed. The formatting and wording of various things has been
improved as well.
|
|
|
|
|
|
| |
The following new statistics have been added to the summary report:
number of unreferenced symbols, total branch paths found, number of
branch paths not executed, and percentage of branch paths covered.
|
|
|
|
| |
Closes #3129
|
|
|
|
| |
Co-Author: Krzysztof Miesowicz <krzysztof.miesowicz@gmail.com>
|
| |
|
| |
|
|
Use waf to build covoar.
|