Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.53MB] [CPU: ▼140.53ms] Passed 4 tests
This is a short check of server-side resources used by Flyout Menu Awesome by Themes Awesome
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.34 ▲0.50 | 36.88 ▲14.96 |
Dashboard /wp-admin | 3.66 ▲0.59 | 37.83 ▲0.93 |
Posts /wp-admin/edit.php | 3.70 ▲0.60 | 36.98 ▲6.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.51 | 73.15 ▼573.13 |
Media Library /wp-admin/upload.php | 3.51 ▲0.51 | 27.22 ▲3.86 |
Server storage [IO: ▲10.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 569 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Flyout Menu Awesome by Themes Awesome
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,206 ▲575 | 21.28 ▲5.59 | 17.08 ▲11.86 | 76.36 ▲0.72 |
Dashboard /wp-admin | 3,330 ▲431 | 10.69 ▲4.56 | 190.35 ▲53.83 | 170.41 ▲5.35 |
Posts /wp-admin/edit.php | 3,162 ▲419 | 7.94 ▲4.70 | 108.21 ▲43.92 | 137.29 ▼3.94 |
Add New Post /wp-admin/post-new.php | 2,131 ▼1,610 | 20.23 ▲1.58 | 419.73 ▼49.28 | 166.60 ▼1.50 |
Media Library /wp-admin/upload.php | 1,942 ▲193 | 7.85 ▲2.31 | 143.31 ▲4.08 | 188.75 ▲3.13 |
Documentation /wp-admin/crb_carbon_fields_container_flyout_docs.php | 26 | 0.94 | 0.04 | 21.73 |
Go Pro /wp-admin/crb_carbon_fields_container_flyout_go_pro.php | 26 | 0.94 | 0.03 | 16.21 |
Flyout Menu /wp-admin/crb_carbon_fields_container_flyout_menu_awesome_opts.php | 26 | 0.94 | 0.03 | 14.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /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\\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 'Walker_Nav_Menu' not found in wp-content/plugins/flyout-menu-awesome/nav-menu-walker.php:3
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Datastore/User_Meta_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Pimple\\ServiceProviderInterface' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Provider/Container_Condition_Provider.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Term_Condition.php:30
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Event\\Listener' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Event/PersistentListener.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/templates/Container/post_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/flyout-menu-awesome/vendor/htmlburger/carbon-fields/core/Datastore/Network_Datastore.php:10
- > 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/Post_Parent_ID_Condition.php:8
- > 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/User_Capability_Condition.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors 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
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
6 plugin tags: custom nav, menu, vertical menu, menu layout, custom menu...
flyout-menu-awesome/flyout-menu-awesome.php Passed 13 tests
"Flyout Menu Awesome by Themes Awesome" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin32,536 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,233 |
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
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
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