Skip to content

False positive: MIT and Boost, should be MIT #2675

Description

@hesa

Description

Checking SQLiteCpp Scancode identifies: boost-1.0 and mit

The reasons are as listed below:

boost-1.0

Distributed under the [MIT] License ([MIT]) (See accompanying file LICENSE.txt\n * or copy at http://"

mit

Distributed under [the] MIT License ([MIT]) ([See] [accompanying] file LICENSE.[txt]\n * [or] [copy] [at] [http]://opensource.org/licenses/MIT)"

File header

/**
 * @file    Exception.cpp
 * @ingroup SQLiteCpp
 * @brief   Encapsulation of the error message from SQLite3 on a std::runtime_error.
 *
 * Copyright (c) 2012-2020 Sebastien Rombauts (sebastien.rombauts@gmail.com)
 *
 * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
 * or copy at http://opensource.org/licenses/MIT)
 */

... and of course: I may be totally wrong (but I'm a Dancin' fool - Frank Zappa)

How To Reproduce

mkdir SQLiteCpp

curl -LJO "https://raw.githubusercontent.com/SRombauts/SQLiteCpp/master/src/Exception.cpp"

mv Exception.cpp SQLiteCpp/

PROC_ARGS="-n $(cat /proc/cpuinfo | grep processor | wc -l)"
ARGS="-clipe --license-text --license-text-diagnostics --classify --license-clarity-score --summary --summary-key-files --summary-with-details  $PROC_ARGS"

scancode $ARGS --json SQLiteCpp-scan.json SQLiteCpp

jq '.files[].licenses[] | "\(.key):    \(.matched_text)"' SQLiteCpp-scan.json

System configuration

  • OS: Ubuntu", "20.04.2 LTS (Focal Fossa)"

  • Scancode version: 21.8.4

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions