Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.66ms] Passed 4 tests
Server-side resources used by Rundiz Font Awesome
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 46.17 ▲6.02 |
Dashboard /wp-admin | 3.40 ▲0.10 | 55.57 ▲6.17 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 54.75 ▲0.98 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 93.02 ▼2.53 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.77 ▲7.43 |
Rundiz Font Awesome /wp-admin/options-general.php?page=rd-fontawesome-settings | 3.30 | 40.36 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Rundiz Font Awesome
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.00 | 1.82 ▲0.15 | 44.08 ▼3.56 |
Dashboard /wp-admin | 2,199 ▲19 | 5.58 ▼0.06 | 95.21 ▲7.76 | 41.08 ▲0.01 |
Posts /wp-admin/edit.php | 2,104 ▼3 | 2.03 ▲0.03 | 33.94 ▼7.17 | 35.84 ▼0.41 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.67 ▲0.46 | 694.05 ▲3.77 | 52.67 ▼0.94 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.12 ▼0.08 | 112.51 ▲9.46 | 48.49 ▲3.63 |
Rundiz Font Awesome /wp-admin/options-general.php?page=rd-fontawesome-settings | 1,091 | 2.03 | 26.62 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'RdFontAwesome\\App\\Controllers\\BaseController' not found in wp-content/plugins/rd-fontawesome/App/Controllers/Admin/SettingsAjax.php:15
- > PHP Fatal error
Uncaught Error: Interface 'RdFontAwesome\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-fontawesome/App/Controllers/BaseController.php:15
- > PHP Fatal error
Uncaught Error: Class 'RdFontAwesome\\App\\Controllers\\BaseController' not found in wp-content/plugins/rd-fontawesome/App/Controllers/Admin/Activation.php:15
- > PHP Fatal error
Uncaught Error: Class 'RdFontAwesome\\App\\Controllers\\BaseController' not found in wp-content/plugins/rd-fontawesome/App/Controllers/Front/Hooks/PrintScriptsScanDequeue.php:15
- > PHP Fatal error
Uncaught Error: Class 'RdFontAwesome\\App\\Controllers\\BaseController' not found in wp-content/plugins/rd-fontawesome/App/Controllers/Front/Hooks/EnqueueDequeue.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/rd-fontawesome/App/Views/admin/settings_v.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function RdFontAwesome\\App\\add_action() in wp-content/plugins/rd-fontawesome/App/App.php:34
- > PHP Fatal error
Uncaught Error: Class 'RdFontAwesome\\App\\Controllers\\BaseController' not found in wp-content/plugins/rd-fontawesome/App/Controllers/Admin/Settings.php:15
- > PHP Fatal error
Trait 'RdFontAwesome\\App\\AppTrait' not found in wp-content/plugins/rd-fontawesome/App/App.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/rd-fontawesome/App/Views/admin/settings_serverinfo_tab.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: font awesome, icons, fontawesome
rd-fontawesome/rd-fontawesome.php 92% from 13 tests
This is the main PHP file of "Rundiz Font Awesome" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: Use only dashes and lowercase characters for the domain path ("/App/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,907 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 387 | 696 | 1,498 |
JavaScript | 2 | 74 | 108 | 341 |
CSS | 1 | 17 | 4 | 68 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 14.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 2 | 3.51% |
▷ Public methods | 42 | 73.68% |
▷ Protected methods | 15 | 26.32% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin