This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6959 - Code extracts: restrict list to one or two items
Summary: Code extracts: restrict list to one or two items
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Web interface (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement
Target Milestone: ---
Assignee: fd
QA Contact: fd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 09:22 UTC by fd
Modified: 2009-06-05 12:13 UTC (History)
0 users

See Also:


Attachments

Description fd 2009-05-27 09:22:27 UTC
Some failures can be repeated a number of times in the resource. One extract is usually enough. If we cannot be more precise on the position where the error occurs, it doesn't make any sense to output a list of 20 code excerpts. One is enough, prefixed by the number of times the failure/warning was detected.

If the failure occurs less than 3 times, it might still make sense to output all the code excerpts.
Comment 1 fd 2009-06-05 12:13:29 UTC
As failure details now are expandable sections that are not expanded by default, restricting the list to only one or two items is not that important.

The list is now restricted to the top 10 occurrences. The number of occurrences is given before the list.