melexis/sphinx-coverity-extension

View on GitHub
mlx/coverity_directives/coverity_defect_list.py

Summary

Maintainability
A
0 mins
Test Coverage

Formatting a regular string which could be a f-string
Open

                    report_warning("Attribute value '%s' should be unique in chart option." % attr_val, docname)

Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6.

Formatting a regular string which could be a f-string
Open

        return "{:.0f}%\n({:d})".format(pct, absolute)

Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6.

Formatting a regular string which could be a f-string
Open

        rel_file_path = path.join('_images', 'piechart-{}.png'.format(hash_value))

Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6.

Formatting a regular string which could be a f-string
Open

            report_info('No issues matching your query or empty stream. %s' % err)

Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6.

Formatting a regular string which could be a f-string
Open

                row += self.create_cell("{}#L{}".format(defect['filePathname'], linenum))

Used when we detect a string that is being formatted with format() or % which could potentially be a f-string. The use of f-strings is preferred. Requires Python 3.6 and py-version >= 3.6.

There are no issues that match your filters.

Category
Status