Created
July 22, 2017 07:15
-
-
Save singh1114/f0e242b915026c548ba64960c200b06d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
'scan_result':OrderedDict( [ | |
('scanned_json_result', | |
{ | |
u'files':[ | |
{ | |
u'licenses':[ | |
{ | |
u'category':u'Permissive', | |
u'dejacode_url': u'https: //enterprise.dejacode.com/urn/urn: dje: license:apache-2.0', | |
u'short_name':u'Apache 2.0', | |
u'spdx_url': u'https://spdx.org/licenses/Apache-2.0', | |
u'text_url': u'http://www.apache.org/licenses/LICENSE-2.0', | |
u'spdx_license_key':u'Apache-2.0', | |
u'homepage_url': u'http://www.apache.org/licenses/', | |
u'score':20.0, | |
u'end_line':421, | |
u'key':u'apache-2.0', | |
u'owner':u'Apache Software Foundation', | |
u'start_line':421, | |
u'matched_rule':{ | |
u'licenses':[ | |
u'apache-2.0' | |
], | |
u'license_choice':False, | |
u'identifier':u'apache-2.0_3.RULE' | |
} | |
}, | |
{ | |
u'category':u'Public Domain', | |
u'dejacode_url': u'https: //enterprise.dejacode.com/urn/urn: dje: license:cc0-1.0', | |
u'short_name':u'CC0-1.0', | |
u'spdx_url': u'https://spdx.org/licenses/CC0-1.0', | |
u'text_url': u'http://creativecommons.org/publicdomain/zero/1.0/legalcode', | |
u'spdx_license_key':u'CC0-1.0', | |
u'homepage_url': u'http://creativecommons.org/publicdomain/zero/1.0/', | |
u'score':85.87, | |
u'end_line':984, | |
u'key':u'cc0-1.0', | |
u'owner':u'Creative Commons', | |
u'start_line':592, | |
u'matched_rule':{ | |
u'licenses':[ | |
u'cc0-1.0' | |
], | |
u'license_choice':False, | |
u'identifier':u'cc0-1.0.LICENSE' | |
} | |
} | |
], | |
u'path':u'URL/2', | |
u'packages':[ | |
], | |
u'copyrights':[ | |
{ | |
u'statements':[ | |
u'(c) 2017 span title' | |
], | |
u'holders':[ | |
], | |
u'start_line':1026, | |
u'end_line':1032, | |
u'authors':[ | |
] | |
} | |
], | |
u'scan_errors':[ | |
] | |
} | |
], | |
u'scancode_notice':u'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.', | |
u'scancode_version':u'2.0.0rc3', | |
u'files_count':1, | |
u'scancode_options':{ | |
u'--format':u'json', | |
u'--ignore':[ | |
], | |
u'--license':True, | |
u'--package':True, | |
u'--license-score':0, | |
u'--copyright':True | |
} | |
} ), | |
('scanned_html_result', | |
u'<h4> { | |
"files":[ | |
{ | |
"licenses":[ | |
{ | |
"category":"Permissive", | |
"dejacode_url":"https://enterprise.dejacode.com/urn/urn:dje:license:apache-2.0", | |
"score":20.0, | |
"short_name":"Apache 2.0", | |
"text_url":"http://www.apache.org/licenses/LICENSE-2.0", | |
"spdx_license_key":"Apache-2.0", | |
"homepage_url":"http://www.apache.org/licenses/", | |
"spdx_url":"https://spdx.org/licenses/Apache-2.0", | |
"end_line":421, | |
"key":"apache-2.0", | |
"owner":"Apache Software Foundation", | |
"start_line":421, | |
"matched_rule":{ | |
"licenses":[ | |
"apache-2.0" | |
], | |
"license_choice":false, | |
"identifier":"apache-2.0_3.RULE" | |
} | |
}, | |
{ | |
"category":"Public Domain", | |
"dejacode_url":"https://enterprise.dejacode.com/urn/urn:dje:license:cc0-1.0", | |
"score":85.87, | |
"short_name":"CC0-1.0", | |
"text_url":"http://creativecommons.org/publicdomain/zero/1.0/legalcode", | |
"spdx_license_key":"CC0-1.0", | |
"homepage_url":"http://creativecommons.org/publicdomain/zero/1.0/", | |
"spdx_url":"https://spdx.org/licenses/CC0-1.0", | |
"end_line":984, | |
"key":"cc0-1.0", | |
"owner":"Creative Commons", | |
"start_line":592, | |
"matched_rule":{ | |
"licenses":[ | |
"cc0-1.0" | |
], | |
"license_choice":false, | |
"identifier":"cc0-1.0.LICENSE" | |
} | |
} | |
], | |
"path":"URL/2", | |
"packages":[ | |
], | |
"scan_errors":[ | |
], | |
"copyrights":[ | |
{ | |
"statements":[ | |
"(c) 2017 span title" | |
], | |
"holders":[ | |
], | |
"start_line":1026, | |
"end_line":1032, | |
"authors":[ | |
] | |
} | |
] | |
} | |
], | |
"scancode_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.", | |
"scancode_version":"2.0.0rc3", | |
"files_count":1, | |
"scancode_options":{ | |
"--format":"json", | |
"--ignore":[ | |
], | |
"--license":true, | |
"--package":true, | |
"--license-score":0, | |
"--copyright":true | |
} | |
} </h4>'), | |
('scancode_notice', | |
u'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.'), | |
('scancode_version', | |
u'2.0.0rc3'), | |
('files_count', | |
1 ), | |
('total_errors', | |
0 ), | |
('scan_time', | |
5000 ), | |
('code_info', | |
21 ) | |
] ), | |
'matched_rule':[ | |
OrderedDict( [ | |
('license_choice', | |
False ), | |
('identifier', | |
u'apache-2.0_3.RULE'), | |
('license', | |
17 ) | |
] ), | |
OrderedDict( [ | |
('license_choice', | |
False ), | |
('identifier', | |
u'cc0-1.0.LICENSE'), | |
('license', | |
18 ) | |
] ) | |
], | |
'local_scan':None, | |
'license':[ | |
OrderedDict( [ | |
('category', | |
u'Public Domain'), | |
('start_line', | |
592 ), | |
('spdx_url', | |
u'https://spdx.org/licenses/CC0-1.0'), | |
('text_url', | |
u'http://creativecommons.org/publicdomain/zero/1.0/legalcode'), | |
('spdx_license_key', | |
u'CC0-1.0'), | |
('homepage_url', | |
u'http://creativecommons.org/publicdomain/zero/1.0/'), | |
('score', | |
85 ), | |
('end_line', | |
984 ), | |
('key', | |
u'cc0-1.0'), | |
('owner', | |
u'Creative Commons'), | |
('dejacode_url', | |
u'https: //enterprise.dejacode.com/urn/urn: dje: license:cc0-1.0'), | |
('scan_file_info', | |
17 ) | |
] ), | |
OrderedDict( [ | |
('category', | |
u'Permissive'), | |
('start_line', | |
421 ), | |
('spdx_url', | |
u'https://spdx.org/licenses/Apache-2.0'), | |
('text_url', | |
u'http://www.apache.org/licenses/LICENSE-2.0'), | |
('spdx_license_key', | |
u'Apache-2.0'), | |
('homepage_url', | |
u'http://www.apache.org/licenses/'), | |
('score', | |
20 ), | |
('end_line', | |
421 ), | |
('key', | |
u'apache-2.0'), | |
('owner', | |
u'Apache Software Foundation'), | |
('dejacode_url', | |
u'https: //enterprise.dejacode.com/urn/urn: dje: license:apache-2.0'), | |
('scan_file_info', | |
17 ) | |
] ) | |
], | |
'package':[ | |
], | |
'copyright_author':[ | |
], | |
'url_scan':OrderedDict( [ | |
('URL', | |
u'https://github.com/nexB/scancode-server/blob/master/cc0-1.0.LICENSE'), | |
('scan_info', | |
51 ) | |
] ), | |
'matched_rule_license':[ | |
OrderedDict( [ | |
('license', | |
u'apache-2.0'), | |
('matched_rule', | |
17 ) | |
] ), | |
OrderedDict( [ | |
('license', | |
u'cc0-1.0'), | |
('matched_rule', | |
18 ) | |
] ) | |
], | |
'scan_error':[ | |
], | |
'code_info':OrderedDict( [ | |
('total_code_files', | |
1 ), | |
('code_size', | |
4096 ), | |
('scan_info', | |
51 ) | |
] ), | |
'copyright_holder':[ | |
], | |
'copyright_statement':[ | |
OrderedDict( [ | |
('statement', | |
u'(c) 2017 span title'), | |
('copyright', | |
14 ) | |
] ) | |
], | |
'copyright':[ | |
OrderedDict( [ | |
('start_line', | |
1026 ), | |
('end_line', | |
1032 ), | |
('scan_file_info', | |
17 ) | |
] ) | |
], | |
'scan_file_info':[ | |
OrderedDict( [ | |
('file_path', | |
u'URL/2'), | |
('scan_result', | |
19 ) | |
] ) | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment