When you are inserting extended properties on top of your SQL Server tables, you have to call the
sp_addextendedproperty stored procedure.
Here is an example :
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'frequency (in minutes)', @level0type = N'SCHEMA', @level0name = N'myschema', @level1type = N'TABLE', @level1name = N'mytable', @level2type = N'COLUMN', @level2name = N'frequence';
When analyzing the script, Sonar (my version is 184.108.40.206899) sees those multiple calls and treats them as code duplication.