Codacy Production / Codacy Static Code Analysis
required action
Feb 22, 2025 in 0s
2 new issues (1 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 2
Complexity increasing per file
==============================
- inc/Engine/Media/PreloadFonts/Frontend/Controller.php 5
See the complete overview on Codacy
Annotations
Check warning on line 154 in inc/Engine/Media/PreloadFonts/Frontend/Controller.php
codacy-production / Codacy Static Code Analysis
inc/Engine/Media/PreloadFonts/Frontend/Controller.php#L154
The method add_preload_fonts_in_head() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
Check warning on line 100 in inc/Plugin.php
codacy-production / Codacy Static Code Analysis
inc/Plugin.php#L100
Avoid unused private fields such as '$options_api'.
Loading