Newer
Older
mbed-os / tools / test / ci / scancode_test / scancode_test_3.json
{
  "headers":[
     {
        "tool_name":"scancode-toolkit",
        "tool_version":"3.1.1",
        "options":{
           "input":[
              "tools/test/ci/scancode_test/test.h",
              "tools/test/ci/scancode_test/test2.h",
              "tools/test/ci/scancode_test/test3.h",
              "tools/test/ci/scancode_test/test4.h",
              "tools/test/ci/scancode_test/test5.h"
           ],
           "--json-pp":"scancode.json",
           "--license":true
        },
        "notice":"Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
        "start_timestamp":"2020-10-01T135040.106260",
        "end_timestamp":"2020-10-01T135047.793497",
        "message":null,
        "errors":[
           
        ],
        "extra_data":{
           "files_count":5
        }
     }
  ],
  "files":[
     {
        "path":"tools/test/ci/scancode_test/test.h",
        "type":"file",
        "licenses":[
           
        ],
        "license_expressions":[
           
        ],
        "scan_errors":[
           
        ]
     },
     {
        "path":"tools/test/ci/scancode_test/test3.h",
        "type":"file",
        "licenses":[
           {
              "key":"proprietary-license",
              "score":77.0,
              "name":"Proprietary License",
              "short_name":"Proprietary License",
              "category":"Proprietary Free",
              "is_exception":false,
              "owner":"Unspecified",
              "homepage_url":null,
              "text_url":"",
              "reference_url":"https://enterprise.dejacode.com/urn/urn:dje:license:proprietary-license",
              "spdx_license_key":null,
              "spdx_url":"",
              "start_line":2,
              "end_line":3,
              "matched_rule":{
                 "identifier":"proprietary_12.RULE",
                 "license_expression":"proprietary-license",
                 "licenses":[
                    "proprietary-license"
                 ],
                 "is_license_text":false,
                 "is_license_notice":true,
                 "is_license_reference":false,
                 "is_license_tag":false,
                 "matcher":"2-aho",
                 "rule_length":14,
                 "matched_length":14,
                 "match_coverage":100.0,
                 "rule_relevance":77
              }
           }
        ],
        "license_expressions":[
           "proprietary-license"
        ],
        "scan_errors":[
           
        ]
     },
     {
        "path":"tools/test/ci/scancode_test/test4.h",
        "type":"file",
        "licenses":[
           {
              "key":"proprietary-license",
              "score":77.0,
              "name":"Proprietary License",
              "short_name":"Proprietary License",
              "category":"Proprietary Free",
              "is_exception":false,
              "owner":"Unspecified",
              "homepage_url":null,
              "text_url":"",
              "reference_url":"https://enterprise.dejacode.com/urn/urn:dje:license:proprietary-license",
              "spdx_license_key":null,
              "spdx_url":"",
              "start_line":2,
              "end_line":3,
              "matched_rule":{
                 "identifier":"proprietary_12.RULE",
                 "license_expression":"proprietary-license",
                 "licenses":[
                    "proprietary-license"
                 ],
                 "is_license_text":false,
                 "is_license_notice":true,
                 "is_license_reference":false,
                 "is_license_tag":false,
                 "matcher":"2-aho",
                 "rule_length":14,
                 "matched_length":14,
                 "match_coverage":100.0,
                 "rule_relevance":77
              }
           }
        ],
        "license_expressions":[
           "proprietary-license"
        ],
        "scan_errors":[
           
        ]
     },
     {
      "path":"tools/test/ci/scancode_test/test5.h",
      "type":"file",
      "licenses":[
         {
            "key":"apache-2.0",
            "score":100.0,
            "name":"Apache License 2.0",
            "short_name":"Apache 2.0",
            "category":"Permissive",
            "is_exception":false,
            "owner":"Apache Software Foundation",
            "homepage_url":"http://www.apache.org/licenses/",
            "text_url":"http://www.apache.org/licenses/LICENSE-2.0",
            "reference_url":"https://enterprise.dejacode.com/urn/urn:dje:license:apache-2.0",
            "spdx_license_key":"Apache-2.0",
            "spdx_url":"https://spdx.org/licenses/Apache-2.0",
            "start_line":4,
            "end_line":14,
            "matched_rule":{
               "identifier":"apache-2.0_7.RULE",
               "license_expression":"apache-2.0",
               "licenses":[
                  "apache-2.0"
               ],
               "is_license_text":false,
               "is_license_notice":true,
               "is_license_reference":false,
               "is_license_tag":false,
               "matcher":"2-aho",
               "rule_length":85,
               "matched_length":85,
               "match_coverage":100.0,
               "rule_relevance":100
            }
         }
      ],
      "license_expressions":[
         "apache-2.0"
      ],
      "scan_errors":[
         
      ]
   },
     {
      "path":"tools/test/ci/scancode_test/test6.h",
      "type":"file",
      "licenses":[
         {
            "key": "unknown-spdx",
            "score": 100.0,
             "name": "Unknown SPDX license detected but not recognized",
             "short_name": "unknown SPDX",
             "category": "Unstated License",
             "is_exception": false,
             "owner": "Unspecified",
             "homepage_url": null,
             "text_url": "",
             "reference_url": "https://enterprise.dejacode.com/urn/urn:dje:license:unknown-spdx",
             "spdx_license_key": null,
             "spdx_url": "",
             "start_line": 3,
             "end_line": 3,
             "matched_rule": {
               "identifier": "spdx-license-identifier: unknown-spdx",
               "license_expression": "unknown-spdx",
               "licenses": [
                 "unknown-spdx"
               ],
               "is_license_text": false,
               "is_license_notice": false,
               "is_license_reference": false,
               "is_license_tag": true,
               "matcher": "1-spdx-id",
               "rule_length": 1,
               "matched_length": 1,
               "match_coverage": 100.0,
               "rule_relevance": 100
          }
         }
      ],
      "license_expressions":[
         "unknown-spdx"
      ],
      "scan_errors":[

      ]
   }
  ]
}