-
-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
Description
Description
Here for the license detection with identifier: apache_2_0-921dec4f-d240-dc2d-2900-d39127ffbeea the top level detection is:
"license_detections": [
{
"identifier": "apache_2_0-921dec4f-d240-dc2d-2900-d39127ffbeea",
"license_expression": "apache-2.0",
"detection_count": 180,
"detection_log": []
},
And a file level detection is:
"detected_license_expression": "apache-2.0",
"detected_license_expression_spdx": "Apache-2.0",
"license_detections": [
{
"license_expression": "apache-2.0",
"matches": [
{
"score": 98.91,
"start_line": 4,
"end_line": 14,
"matched_length": 91,
"match_coverage": 100.0,
"matcher": "2-aho",
"license_expression": "apache-2.0",
"rule_identifier": "apache-2.0_843.RULE",
"rule_relevance": 100,
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/apache-2.0_843.RULE",
"matched_text": "The [Netty] Project licenses this file to you under the Apache License,\n * version 2.0 (the \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at:\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations\n * under the License."
}
],
"detection_log": [],
"identifier": "apache_2_0-921dec4f-d240-dc2d-2900-d39127ffbeea"
}
],
So there is only 1 LicenseMatch object in this License Detection. And so in the matches table it should show only that one match. And not 180 matches which are the same details repeated again and again.
See the corresponding scancode result JSON
netty-common-4.1.66.Final-sources.jar-v32rc4results.zip
Reactions are currently unavailable
