Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • List of parameters:
      Hide
      • Key: headerFormat
        • Description: Expected copyright and license header. Should not include positions 1 to 7.
      • key: isRegularExpression
        • description: Whether the headerFormat is a regular expression
        • default: false
      Show
      Key: headerFormat Description: Expected copyright and license header. Should not include positions 1 to 7. key: isRegularExpression description: Whether the headerFormat is a regular expression default: false
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Each program should contain an initial section of H* comments lines, which includes a copyright and/or license statement. This rule must be fed with the header text that is expected in the header.

      Compliant Solution

           H*  Copyright (C) 2008-2013 SonarSource
           H*  mailto:contact AT sonarsource DOT com
           H*  
           H*  SonarQube is free software; you can redistribute it and/or
           H*  modify it under the terms of the GNU Lesser General Public
           H*  License as published by the Free Software Foundation; either
           H*  version 3 of the License, or (at your option) any later version.
           H*  
           H*  SonarQube is distributed in the hope that it will be useful,
           H*  but WITHOUT ANY WARRANTY; without even the implied warranty of
           H*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
           H*  Lesser General Public License for more details.
           H*  
           H*  You should have received a copy of the GNU Lesser General Public License
           H*  along with this program; if not, write to the Free Software Foundation,
           H*  Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.                                         
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ann.campbell.2 Ann Campbell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: