Skip to content

Regression in detection of a copyright statement #5125

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions