Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲1.89MB] [CPU: ▲14.22ms] Passed 4 tests
This is a short check of server-side resources used by 3D Menu Awesome by Themes Awesome
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.38 ▲1.91 | 76.83 ▲31.27 |
Dashboard /wp-admin | 5.23 ▲1.93 | 65.84 ▲12.02 |
Posts /wp-admin/edit.php | 5.28 ▲1.93 | 76.72 ▲25.33 |
Add New Post /wp-admin/post-new.php | 7.76 ▲1.88 | 104.56 ▼0.13 |
Media Library /wp-admin/upload.php | 5.07 ▲1.84 | 58.36 ▲19.67 |
Server storage [IO: ▲9.99MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 554 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for 3D Menu Awesome by Themes Awesome
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,233 ▲472 | 18.58 ▲4.44 | 6.67 ▲5.00 | 43.95 ▼1.84 |
Dashboard /wp-admin | 2,519 ▲339 | 8.97 ▲3.45 | 175.56 ▲83.65 | 43.95 ▼2.46 |
Posts /wp-admin/edit.php | 2,451 ▲351 | 6.10 ▲4.10 | 72.91 ▲34.90 | 31.64 ▼5.34 |
Add New Post /wp-admin/post-new.php | 1,634 ▲108 | 19.91 ▼3.27 | 697.29 ▲24.61 | 35.74 ▼16.59 |
Media Library /wp-admin/upload.php | 1,587 ▲187 | 6.76 ▲2.55 | 109.90 ▲4.05 | 44.58 ▲1.17 |
Documentation /wp-admin/crb_carbon_fields_container_threed_docs.php | 26 | 0.42 | 0.15 | 13.37 |
Go Pro /wp-admin/crb_carbon_fields_container_threed_go_pro.php | 26 | 0.42 | 0.08 | 6.80 |
3D Menu /wp-admin/crb_carbon_fields_container_threed_menu_awesome_opts.php | 26 | 0.42 | 0.11 | 7.99 |
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
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 124× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Text_Field.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Service/REST_API_Service.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function Carbon_Fields\\Provider\\add_filter() in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Provider/Container_Condition_Provider.php:254
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Term_Condition.php:30
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Container/post_meta.php:1
- > PHP Notice
Undefined variable: plural in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 32
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Datastore/Network_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\File_Field' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Image_Field.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Datastore/Post_Meta_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/crb_carbon_fields_container_threed_docs.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_threed_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_threed_go_pro.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_threed_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_threed_menu_awesome_opts.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_threed_menu_awesome_opts.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: custom nav, menu, custom menu, menu layout, navigation layout...
3d-menu-awesome/threed-menu-awesome.php 85% from 13 tests
This is the main PHP file of "3D Menu Awesome by Themes Awesome" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("3d-menu-awesome.php" instead of "threed-menu-awesome.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected31,064 lines of code in 471 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 191 | 5,446 | 9,050 | 13,986 |
PHP | 171 | 2,803 | 7,248 | 9,839 |
CSS | 18 | 474 | 1,172 | 2,628 |
Sass | 51 | 367 | 0 | 1,936 |
PO File | 21 | 614 | 783 | 1,673 |
JSON | 12 | 0 | 0 | 797 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 26 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 136 | |
▷ Abstract classes | 11 | 8.09% |
▷ Concrete classes | 125 | 91.91% |
▷ Final classes | 1 | 0.80% |
Methods | 964 | |
▷ Static methods | 102 | 10.58% |
▷ Public methods | 788 | 81.74% |
▷ Protected methods | 166 | 17.22% |
▷ Private methods | 10 | 1.04% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/menu3d-3.png | 4.59KB | 3.03KB | ▼ 33.96% |
assets/menu3d-4.png | 2.89KB | 1.54KB | ▼ 46.75% |
assets/menu3d-6.png | 3.79KB | 2.12KB | ▼ 44.14% |
assets/menu3d-2.png | 5.09KB | 2.46KB | ▼ 51.74% |
assets/menu3d-5.png | 3.78KB | 2.08KB | ▼ 44.95% |