[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deviations tagging


  • To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 15 Jun 2022 08:03:48 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1Sq5wpI9+lRLfsSLf3kq0bn3b+v+KId0NktfCFulQ/4=; b=OUNh590OkFpgX5ca3EKz6jnKmxkPCDZIHvK3XSYqluCpN49zOdFGqTKq5FJ0xoO4IxaT4T42FOQQ5IwHi5racxAH01Zyj/A/FvP7hd89k+SWBghL80MbzK2xaZz0mX+oJb2hs6/o03/Tsg3Lkyiy1yhKHysadbBRc/UpOTWEszlF8f0z+GJmboP70jCnmd1lWr5zIO2luFfa+4DH6Oih3WWrEZ08VjbJf8eVKe8S5Y6+DxTd2b+nCf45sjlPqb75EmpUkGVuL+LZElUQumQJ0gLilS0fTGy1DGneaiwbo9J6PTBO5hvxdppPtyLQrhd93K08oq2ogbRQPvaiXhXwGw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KlWPIvTQFwr3swGqfI+ab5S43hrGwZJdf9tjyEWTJT9t575rJgIIqufIvF11AE7jdJ/9Py008poLO211OvFzLEHCjAhbN2nmNJkFqR6/HaI2gVFh6jqWacEll/uyj+zYe4kHm0nD91RxQm5JCSmWj48oFqvySCr2Vwk4Ax/BhUua0YSCuyWyt/00A0Dgzji9RPF8kT828hRoO4w3gSnw4PA7mY9OxF/4mGBUzCEZLCOWFcU6q9O7+QHI1Oslcv5puM3HZzlyFP+StHb5Er4jgB+3yyqqOsWd7N0TIXRC5PljXsI5C5+ZW426ZB2yTdbOkWPErBoRxGE1Rs80gjHCOg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: stefanos@xxxxxxxxxx, roberto.bagnara@xxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, julien@xxxxxxx, Bertrand.Marquis@xxxxxxx, Artem_Mygaiev@xxxxxxxx, fusa-sig@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 15 Jun 2022 06:03:57 +0000
  • List-id: This is a discussion list for members of the Xen Project FuSa SIG <fusa-sig.lists.xenproject.org>

On 15.06.2022 00:47, Stefano Stabellini wrote:
> Roberto was suggesting to use the following different categories for
> tagging deviations. We could pick any "TAG" we like for the in-code
> comments (or other tagging systems).
> 
> I am also CCing the MISRA C team to give them early visibility on this.
> Feel free to provide early feedback if you have any. The plan is to
> discuss it further during the next fusa-sig call and come up with a more
> detailed proposal (including the actual tags, how to use them and more)
> for xen-devel next.

And as early feedback: They all look like they're meant to be used
together with some rule reference (or else there's insufficient context
to know what is being talked about). Yet iirc we said we'd want tool-
agnostic tags, such that the same kind of comments can also be used to
mark e.g. things Coverity has found and we have decided to leave alone.

Jan

> adopted
> 
>    The report should be considered originated by adopted code without any
>    contribution of native code to the report.
> 
> safe
> 
>    The report is correct but the specific behavior is safe under every
>    aspect assumed to be covered by the guideline.
> 
> relied
> 
>    The report is correct but the rule concerns exclusively "developer
>    confusion" or readability matters that are not relevant for adopted code,
>    which is assumed to work as is and it is not meant to be read, reviewed
>    or modified by human programmers.  To be used for adopted code only.
> 
> false-positive
> 
>    In the opinion of the developer the violation report is not correct
>    and the problem has been notified to the tool provider.
>    To be used only for violation reports.
> 
> compliant
> 
>    The developer can prove that the possible non-compliance shown by
>    caution report cannot happen in any situation and can motivate such
>    claim.  To be used only for caution reports.
> 
> false-negative
> 
>    The developer has found a non-compliance not shown by the tool and the
>    problem has been notified to the tool provider.
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.