A fluent design widgets library based on C++ Qt/PyQt/PySide. Make Qt Great Again.
This report summarizes scanner evidence for zhiyiYo/PyQt-Fluent-Widgets, a Python project with 8,117 GitHub stars. SynthScan examined 50,338 lines of code across 244 source files, recording 829 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 18.9 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 40 finding(s).
Are imports declared and package/API names verified? 756 finding(s).
Are wrappers, guards, and repeated structures necessary? 34 finding(s).
Which changes need focused human review? 829 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 829 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | qfluentwidgets/__init__.py | 18 | CODE | |
| LOW | qfluentwidgets/__init__.py | 19 | CODE | |
| LOW | qfluentwidgets/__init__.py | 20 | CODE | |
| LOW | qfluentwidgets/__init__.py | 21 | CODE | |
| LOW | qfluentwidgets/components/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/__init__.py | 2 | CODE | |
| LOW | qfluentwidgets/components/__init__.py | 3 | CODE | |
| LOW | qfluentwidgets/components/__init__.py | 4 | CODE | |
| LOW | qfluentwidgets/components/__init__.py | 5 | CODE | |
| LOW | qfluentwidgets/components/__init__.py | 6 | CODE | |
| LOW | …idgets/components/settings/folder_list_setting_card.py | 2 | CODE | |
| LOW | …idgets/components/settings/folder_list_setting_card.py | 6 | CODE | |
| LOW | …idgets/components/settings/folder_list_setting_card.py | 6 | CODE | |
| LOW | …idgets/components/settings/folder_list_setting_card.py | 7 | CODE | |
| LOW | …idgets/components/settings/folder_list_setting_card.py | 7 | CODE | |
| LOW | …idgets/components/settings/folder_list_setting_card.py | 12 | CODE | |
| LOW | …uentwidgets/components/settings/expand_setting_card.py | 2 | CODE | |
| LOW | …uentwidgets/components/settings/expand_setting_card.py | 11 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 4 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 4 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 4 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 5 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 6 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 7 | CODE | |
| LOW | qfluentwidgets/components/settings/__init__.py | 8 | CODE | |
| LOW | …luentwidgets/components/dialog_box/message_box_base.py | 2 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/dialog.py | 2 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 2 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 2 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 3 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 4 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 5 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/__init__.py | 6 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/color_dialog.py | 2 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/color_dialog.py | 3 | CODE | |
| LOW | qfluentwidgets/components/dialog_box/color_dialog.py | 8 | CODE | |
| LOW | qfluentwidgets/components/layout/flow_layout.py | 2 | CODE | |
| LOW | qfluentwidgets/components/layout/flow_layout.py | 5 | CODE | |
| LOW | qfluentwidgets/components/layout/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/layout/__init__.py | 2 | CODE | |
| LOW | qfluentwidgets/components/layout/__init__.py | 2 | CODE | |
| LOW | qfluentwidgets/components/layout/__init__.py | 3 | CODE | |
| LOW | qfluentwidgets/components/navigation/breadcrumb.py | 4 | CODE | |
| LOW | qfluentwidgets/components/navigation/breadcrumb.py | 4 | CODE | |
| LOW | qfluentwidgets/components/navigation/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/navigation/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/navigation/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/navigation/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/navigation/__init__.py | 1 | CODE | |
| LOW | qfluentwidgets/components/navigation/__init__.py | 1 | CODE | |
| 680 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | qfluentwidgets/components/navigation/navigation_bar.py | 0 | remove widget parameters ---------- routekey: str the unique name of item | STRING |
| HIGH | …luentwidgets/components/navigation/navigation_panel.py | 0 | remove widget parameters ---------- routekey: str the unique name of item | STRING |
| HIGH | qfluentwidgets/components/navigation/pivot.py | 0 | remove widget parameters ---------- routekey: str the unique name of item | STRING |
| HIGH | qfluentwidgets/components/navigation/navigation_bar.py | 0 | set current selected item parameters ---------- routekey: str the unique name of item | STRING |
| HIGH | …luentwidgets/components/navigation/navigation_panel.py | 0 | set current selected item parameters ---------- routekey: str the unique name of item | STRING |
| HIGH | qfluentwidgets/components/navigation/pivot.py | 0 | set current selected item parameters ---------- routekey: str the unique name of item | STRING |
| HIGH | qfluentwidgets/components/widgets/info_badge.py | 0 | set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/d | STRING |
| HIGH | qfluentwidgets/components/widgets/progress_ring.py | 0 | set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/d | STRING |
| HIGH | qfluentwidgets/components/widgets/info_bar.py | 0 | set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/d | STRING |
| HIGH | qfluentwidgets/components/widgets/progress_bar.py | 0 | set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/d | STRING |
| HIGH | qfluentwidgets/window/fluent_window.py | 0 | set custom background color parameters ---------- light, dark: qcolor | qt.globalcolor | str background color in light/d | STRING |
| HIGH | qfluentwidgets/components/widgets/info_badge.py | 0 | register menu animation manager parameters ---------- name: any the name of manager, it should be unique | STRING |
| HIGH | qfluentwidgets/components/widgets/menu.py | 0 | register menu animation manager parameters ---------- name: any the name of manager, it should be unique | STRING |
| HIGH | qfluentwidgets/components/widgets/flyout.py | 0 | register menu animation manager parameters ---------- name: any the name of manager, it should be unique | STRING |
| HIGH | qfluentwidgets/components/widgets/info_bar.py | 0 | register menu animation manager parameters ---------- name: any the name of manager, it should be unique | STRING |
| HIGH | qfluentwidgets/common/animation.py | 0 | register menu animation manager parameters ---------- name: any the name of manager, it should be unique | STRING |
| HIGH | qfluentwidgets/components/widgets/list_view.py | 0 | set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator | STRING |
| HIGH | qfluentwidgets/components/widgets/tree_view.py | 0 | set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator | STRING |
| HIGH | qfluentwidgets/components/widgets/table_view.py | 0 | set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator | STRING |
| HIGH | qfluentwidgets/components/widgets/switch_button.py | 0 | set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator | STRING |
| HIGH | qfluentwidgets/components/widgets/check_box.py | 0 | set the color of indicator in checked status parameters ---------- light, dark: str | qcolor | qt.globalcolor indicator | STRING |
| HIGH | qfluentwidgets/components/widgets/scroll_bar.py | 0 | set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme mo | STRING |
| HIGH | qfluentwidgets/components/widgets/label.py | 0 | set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme mo | STRING |
| HIGH | qfluentwidgets/components/widgets/switch_button.py | 0 | set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme mo | STRING |
| HIGH | qfluentwidgets/components/widgets/check_box.py | 0 | set the color of text parameters ---------- light, dark: str | qcolor | qt.globalcolor text color in light/dark theme mo | STRING |
| HIGH | examples/navigation/pivot/demo.py | 0 | demo{background: white} qlabel{ font: 20px 'segoe ui'; background: rgb(242,242,242); border-radius: 8px; } | STRING |
| HIGH | examples/navigation/segmented_tool_widget/demo.py | 0 | demo{background: white} qlabel{ font: 20px 'segoe ui'; background: rgb(242,242,242); border-radius: 8px; } | STRING |
| HIGH | examples/navigation/segmented_widget/demo.py | 0 | demo{background: white} qlabel{ font: 20px 'segoe ui'; background: rgb(242,242,242); border-radius: 8px; } | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | qfluentwidgets/common/icon.py | 202 | indexes = range(pathNodes.length()) if not indexes else indexes | CODE |
| HIGH | qfluentwidgets/common/icon.py | 209 | return dom.toString() | CODE |
| HIGH | qfluentwidgets/window/fluent_window.py | 155 | qrouter.push(self.stackedWidget, widget.objectName()) | CODE |
| HIGH | examples/gallery/app/view/navigation_view_interface.py | 123 | qrouter.push(self.stackedWidget, widget.objectName()) | CODE |
| HIGH | examples/gallery/app/view/navigation_view_interface.py | 260 | qrouter.push(self.stackedWidget, widget.objectName()) | CODE |
| HIGH | examples/navigation/navigation2/demo.py | 205 | qrouter.push(self.stackWidget, widget.objectName()) | CODE |
| HIGH | examples/navigation/navigation1/demo.py | 161 | # qrouter.push(self.stackWidget, widget.objectName()) | COMMENT |
| HIGH⚡ | examples/date_time/time_picker/demo.py | 53 | self.datePicker1.dateChanged.connect(lambda t: print(t.toString())) | CODE |
| HIGH⚡ | examples/date_time/time_picker/demo.py | 54 | self.datePicker2.dateChanged.connect(lambda t: print(t.toString())) | CODE |
| HIGH⚡ | examples/date_time/time_picker/demo.py | 55 | self.timePicker1.timeChanged.connect(lambda t: print(t.toString())) | CODE |
| HIGH⚡ | examples/date_time/time_picker/demo.py | 56 | self.timePicker2.timeChanged.connect(lambda t: print(t.toString())) | CODE |
| HIGH⚡ | examples/date_time/time_picker/demo.py | 57 | self.timePicker3.timeChanged.connect(lambda t: print(t.toString())) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …uentwidgets/components/settings/expand_setting_card.py | 115 | CODE | |
| LOW | …luentwidgets/components/dialog_box/mask_dialog_base.py | 96 | CODE | |
| LOW | qfluentwidgets/components/layout/flow_layout.py | 198 | CODE | |
| LOW | qfluentwidgets/components/layout/flow_layout.py | 266 | CODE | |
| LOW | …luentwidgets/components/navigation/navigation_panel.py | 715 | CODE | |
| LOW | qfluentwidgets/components/widgets/tool_tip.py | 322 | CODE | |
| LOW | qfluentwidgets/components/widgets/info_badge.py | 117 | CODE | |
| LOW | qfluentwidgets/components/widgets/teaching_tip.py | 57 | CODE | |
| LOW | qfluentwidgets/components/widgets/command_bar.py | 96 | CODE | |
| LOW | qfluentwidgets/components/widgets/combo_box.py | 79 | CODE | |
| LOW | qfluentwidgets/components/widgets/frameless_window.py | 24 | CODE | |
| LOW | qfluentwidgets/components/widgets/menu.py | 1087 | CODE | |
| LOW | qfluentwidgets/components/widgets/button.py | 303 | CODE | |
| LOW | qfluentwidgets/components/widgets/button.py | 504 | CODE | |
| LOW | qfluentwidgets/components/widgets/button.py | 1008 | CODE | |
| LOW | qfluentwidgets/components/widgets/switch_button.py | 221 | CODE | |
| LOW | qfluentwidgets/components/widgets/tab_view.py | 487 | CODE | |
| LOW | qfluentwidgets/components/widgets/tab_view.py | 639 | CODE | |
| LOW | qfluentwidgets/components/widgets/table_view.py | 118 | CODE | |
| LOW | qfluentwidgets/components/widgets/model_combo_box.py | 75 | CODE | |
| LOW | qfluentwidgets/common/image_utils.py | 120 | CODE | |
| LOW | qfluentwidgets/common/image_utils.py | 139 | CODE | |
| LOW | qfluentwidgets/common/image_utils.py | 158 | CODE | |
| LOW | qfluentwidgets/common/config.py | 349 | CODE | |
| LOW | qfluentwidgets/common/style_sheet.py | 462 | CODE | |
| LOW | qfluentwidgets/common/animation.py | 29 | CODE | |
| LOW | qfluentwidgets/common/animation.py | 140 | CODE | |
| LOW | qfluentwidgets/common/animation.py | 228 | CODE | |
| LOW | qfluentwidgets/common/overload.py | 26 | CODE | |
| LOW | qfluentwidgets/common/overload.py | 27 | CODE | |
| LOW | qfluentwidgets/common/smooth_scroll.py | 186 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …uentwidgets/components/navigation/navigation_widget.py | 315 | except: | CODE |
| HIGH | …uentwidgets/components/navigation/navigation_widget.py | 304 | except: | CODE |
| HIGH | qfluentwidgets/components/widgets/combo_box.py | 310 | except: | CODE |
| HIGH | qfluentwidgets/components/widgets/info_bar.py | 199 | except RuntimeError: | CODE |
| HIGH | qfluentwidgets/components/widgets/model_combo_box.py | 328 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/navigation/navigation2/demo.py | 161 | #!IMPORTANT: don't forget to set the default route key | COMMENT |
| LOW | examples/navigation/navigation2/demo.py | 161 | #!IMPORTANT: don't forget to set the default route key | COMMENT |
| LOW | examples/navigation/navigation1/demo.py | 107 | #!IMPORTANT: don't forget to set the default route key if you enable the return button | COMMENT |
| LOW | examples/navigation/navigation1/demo.py | 107 | #!IMPORTANT: don't forget to set the default route key if you enable the return button | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/navigation/stacked_widget/demo.py | 11 | LOREM = ('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et ' | CODE |
| LOW | examples/navigation/stacked_widget/demo.py | 11 | LOREM = ('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et ' | CODE |
| LOW | examples/navigation/stacked_widget/demo.py | 78 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit', self) | CODE |
| LOW | examples/navigation/stacked_widget/demo.py | 78 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit', self) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | qfluentwidgets/components/widgets/scroll_bar.py | 636 | # Check if the vertical scroll is at its limit | COMMENT |
| LOW | qfluentwidgets/components/widgets/scroll_bar.py | 640 | # Check if the horizontal scroll is at its limit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/.readthedocs.yaml | 21 | # builder: "dirhtml" | COMMENT |
| LOW | examples/navigation/navigation1/demo.py | 81 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | qfluentwidgets/components/widgets/flyout.py | 306 | CODE |