Project

General

Profile

Actions

Feature #1715

closed

Extend KB cache with calculated verdict

Added by Evgeny Novikov about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Category:
Statistics server
Start date:
08/31/2011
Due date:
% Done:

0%

Estimated time:
Published in build:
d7cadec

Description

It was found out, that this is rather useful feature. First of all, let us clarify the problem. Each launch from statistics can be related with several KB records, that in turn may have different verdicts. So, for each launch should be calculated its Verdict on the basis of the following table (it's situated in stats-visualizer/vhosts/ldv-stats/application/views/scripts/stats/index.phtml now):

//     TP  FP  UNK
// TP  TP  INC TP
// FP  INC FP  FP
// UNK TP  FP  UNK
// where TP is True positive, FP is False positive, UNK is Unknown and 
// INC is Inconclusive (the last cannot be specified by a user).

while Tag is just concatenation of corresponding tags.
It wasn't a problem to perform such calculations for 'Unsafe' page (first of all, because there isn't many unsafes in a task and they are separated from each other for the given page). But it becomes a problem for 'Index' page where can be shown many grouped unsafes - see issue #1639. Moreover it can be a problem for 'True positive', 'Inconclusive' and so on pages to be implemented in near future.
But both Verdict and Tag can be calculated in KB cache (re)calculating indeed. Then they will not be calculated each time when 'Unsafe', 'Index', 'False positive', etc. pages will be opened - just in case when KB will be changed. So, I assume to extend KB cache table with '*Verdict*' and '*Tag*' columns, and teach kb-recalc script to calculate them.
Any objections?


Related issues 1 (0 open1 closed)

Blocks Linux Driver Verification - Feature #1639: KB: KB verdicts and tags on main statistics pageClosedEvgeny Novikov08/13/2011

Actions
Actions

Also available in: Atom PDF