Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-542

Unable to switch off issues with NOSONAR tag on rule "Lines should not be too long" when the issue is located in the header comment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: Rules
    • Labels:
      None

      Description

      Piece of code to reproduce this issue. An unexpected issue is logged on line 3 whereas the NOSONAR tag is located on this line

      /*
      **********************************************************************************************
      * FILENAME      : measure.c
      * REPOSITORY    : $URL: svn://serverid/aaaaaaa__long____path____________________________________/measure.c $ //NOSONAR (exceeding line length)
      **********************************************************************************************
      */
       
      #include <stdio.h>
      int main( int argc, const char* argv[] )
      {
      	printf( "\nHello World\n\n" );
      }
      

        Attachments

          Activity

            People

            Assignee:
            evgeny.mandrikov Evgeny Mandrikov
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: