Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.93MB] [CPU: ▲10.55ms] Passed 4 tests
Server-side resources used by Flyout Menu Awesome by Themes Awesome
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.43 ▲1.97 | 63.40 ▲23.19 |
Dashboard /wp-admin | 5.28 ▲1.94 | 64.28 ▲2.51 |
Posts /wp-admin/edit.php | 5.33 ▲1.98 | 67.06 ▲15.72 |
Add New Post /wp-admin/post-new.php | 7.81 ▲1.93 | 94.42 ▲3.67 |
Media Library /wp-admin/upload.php | 5.12 ▲1.89 | 52.17 ▲20.30 |
Server storage [IO: ▲10.25MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 569 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Flyout Menu Awesome by Themes Awesome: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,226 ▲480 | 19.12 ▲4.69 | 10.32 ▲8.58 | 36.27 ▼11.07 |
Dashboard /wp-admin | 2,529 ▲340 | 9.16 ▲4.22 | 187.85 ▲78.00 | 36.84 ▲0.87 |
Posts /wp-admin/edit.php | 2,446 ▲354 | 6.10 ▲4.05 | 83.58 ▲44.54 | 33.36 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,612 ▲89 | 19.90 ▼3.31 | 674.47 ▲54.40 | 35.41 ▼16.54 |
Media Library /wp-admin/upload.php | 1,572 ▲181 | 6.57 ▲2.44 | 106.16 ▲5.22 | 42.05 ▼2.53 |
Documentation /wp-admin/crb_carbon_fields_container_flyout_docs.php | 26 | 0.44 | 0.13 | 13.47 |
Go Pro /wp-admin/crb_carbon_fields_container_flyout_go_pro.php | 26 | 0.44 | 0.06 | 6.69 |
Flyout Menu /wp-admin/crb_carbon_fields_container_flyout_menu_awesome_opts.php | 26 | 0.44 | 0.06 | 6.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 125× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Header_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Post_Meta_Container.php:14
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Current_User_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/File_Field.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Date_Field' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Time_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Any_Contain_Comparer.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Text_Field.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Widget_Container.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Key_Value_Datastore' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Datastore/Widget_Datastore.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Nav_Menu_Item_Container.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_flyout_docs.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_flyout_docs.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/crb_carbon_fields_container_flyout_go_pro.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_flyout_go_pro.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/crb_carbon_fields_container_flyout_menu_awesome_opts.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_flyout_menu_awesome_opts.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: custom nav, custom menu, vertical menu, menu layout, menu...
flyout-menu-awesome/flyout-menu-awesome.php Passed 13 tests
The primary PHP file in "Flyout Menu Awesome by Themes Awesome" version 1.0.0 is used by WordPress to initiate all plugin functionality
65 characters long description:
WordPress menu interface element with custom layouts and effects.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin32,539 lines of code in 480 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 193 | 5,472 | 9,084 | 14,191 |
PHP | 172 | 2,824 | 7,270 | 10,236 |
CSS | 18 | 533 | 1,183 | 2,944 |
PO File | 27 | 823 | 1,024 | 2,223 |
Sass | 51 | 368 | 0 | 1,943 |
JSON | 12 | 0 | 0 | 797 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 137 | |
▷ Abstract classes | 11 | 8.03% |
▷ Concrete classes | 126 | 91.97% |
▷ Final classes | 1 | 0.79% |
Methods | 970 | |
▷ Static methods | 102 | 10.52% |
▷ Public methods | 794 | 81.86% |
▷ Protected methods | 166 | 17.11% |
▷ Private methods | 10 | 1.03% |
Functions | 124 | |
▷ Named functions | 37 | 29.84% |
▷ Anonymous functions | 87 | 70.16% |
Constants | 39 | |
▷ Global constants | 14 | 35.90% |
▷ Class constants | 25 | 64.10% |
▷ Public constants | 25 | 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 files were detected