Skip to content

Regression in detection of a copyright statement #5125

@fviernau

Description

@fviernau

Setup

  • Scancode version 32.5.0, or pick a version which reproduces from below table.
  • Ubuntu 24

Reproduce

  1. Scan /seed_local.h with options -c -l --json-pp out.json
  2. Note that detection in line 11 is
        {
          "copyright": "Copyright (c) 2007",
          "start_line": 11,
          "end_line": 11
        }
  1. But expected: Copyright (c) 2007 KISA(Korea Information Security Agency).

Scancode versions

Version   Extracted copyright
--------  -------------------------------------------
31.0.2    Copyright (c) 2007 KISA(Korea Information Security Agency)
31.1.1    Copyright (c) 2007 KISA(Korea Information Security Agency)
31.2.6    Copyright (c) 2007 KISA(Korea Information Security Agency)
32.0.8    Copyright (c) 2007
32.1.0    Copyright (c) 2007
32.2.1    Copyright (c) 2007
32.3.1    Copyright (c) 2007
32.3.2    Copyright (c) 2007
32.3.3    Copyright (c) 2007
32.4.0    Copyright (c) 2007
32.4.1    Copyright (c) 2007
32.5.0    Copyright (c) 2007

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions