Created scancode_copyright and scancode_author table in the FOSSology database.
Copyright and author information coming from scancode scan result is inserted in these newly created tables.
Improved license data insertion in the license_file and highlight tables by inserting only unique entries based upon rf_fk, agent_fk, and pfile_fk. It solved UI glitch in license relevant text highlighting for scancode.
Using 'S' instead of 'L' for ScanCode type field in the highlight table where 'S' will be match property of the highlight class in HighlightDao.php.
Added a new type 'S' in the HighlightDao.php also changed type from signature to match as like monk agent ScanCode matches text.
Gaurav explained about identical displayed on the UI by monk scanner as, It highlight those text which are identical with the license text in the license_ref table. Whereas license relevant text means the highlighted text has been matched with license text or rules written for the license.
So license relevant text is suitable for the ScanCode highlight.
Also Gaurav suggested to reuse the resources already present and no need to add a new type for scancode highlight, nomos type could be reused.
Sarita(Me) shows newly created tables for scancode_copyright and scancode_author. Gaurav approved changes.
Added a function in the scancode database to insert no license in the license_file table for a code zip have no license.