Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.88MB] [CPU: ▼278.35ms] Passed 4 tests
Server-side resources used by 3D Menu Awesome by Themes Awesome
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.41 ▲1.90 | 76.03 ▲25.57 |
Dashboard /wp-admin | 5.29 ▲1.88 | 56.27 ▲22.94 |
Posts /wp-admin/edit.php | 5.57 ▲1.94 | 53.07 ▲15.27 |
Add New Post /wp-admin/post-new.php | 8.83 ▲1.83 | 106.86 ▼1,162.03 |
Media Library /wp-admin/upload.php | 5.21 ▲1.91 | 34.19 ▲10.44 |
Menus /wp-admin/nav-menus.php | 5.27 | 55.84 |
Server storage [IO: ▲9.99MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 554 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for 3D Menu Awesome by Themes Awesome
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,356 ▲612 | 21.40 ▲5.38 | 10.90 ▲4.33 | 17.16 ▲14.79 |
Dashboard /wp-admin | 3,296 ▲435 | 10.69 ▲4.42 | 195.80 ▲62.51 | 154.29 ▼11.84 |
Posts /wp-admin/edit.php | 3,115 ▲421 | 7.97 ▲4.74 | 114.48 ▲48.83 | 148.32 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,830 ▲169 | 17.35 ▲0.84 | 456.74 ▲52.37 | 161.72 ▲6.11 |
Media Library /wp-admin/upload.php | 1,922 ▲224 | 7.89 ▲2.37 | 141.65 ▼4.09 | 187.07 ▼2.79 |
Go Pro /wp-admin/crb_carbon_fields_container_threed_go_pro.php | 26 | 0.94 | 0.03 | 20.02 |
Documentation /wp-admin/crb_carbon_fields_container_threed_docs.php | 26 | 0.94 | 0.03 | 14.92 |
3D Menu /wp-admin/crb_carbon_fields_container_threed_menu_awesome_opts.php | 26 | 0.94 | 0.11 | 15.20 |
Menus /wp-admin/nav-menus.php | 3,189 | 8.35 | 163.31 | 146.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 124× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Theme_Options_Container' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Network_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Any_Equality_Comparer.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Field/Footer_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Post_Meta_Container.php:14
- > PHP Notice
Undefined variable: errors in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 35
- > 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/user_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Custom_Comparer.php:7
- > 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/Term_Ancestor_Condition.php:28
- > 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
Uncaught Error: Class 'Carbon_Fields\\Container\\Fulfillable\\Translator\\Translator' not found in wp-content/plugins/3d-menu-awesome/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Translator/Array_Translator.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)
Please fix the following browser errors
- > 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_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_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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: custom nav, custom menu, navigation layout, menu, menu 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:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("3d-menu-awesome.php" instead of "threed-menu-awesome.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress 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 short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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-2.png | 5.09KB | 2.46KB | ▼ 51.74% |
assets/menu3d-4.png | 2.89KB | 1.54KB | ▼ 46.75% |
assets/menu3d-1.png | 5.06KB | 2.30KB | ▼ 54.60% |
assets/menu3d-3.png | 4.59KB | 3.03KB | ▼ 33.96% |
assets/menu3d-6.png | 3.79KB | 2.12KB | ▼ 44.14% |