Benchmarks
Plugin footprint 82% 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.97MB] [CPU: ▲2.94ms] 75% from 4 tests
This is a short check of server-side resources used by WordPress Mega Menu - QuadMenu
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 633.17ms on /wp-admin/admin.php?page=quadmenu_welcome_suggestions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.62 ▲4.16 | 54.57 ▲13.87 |
Dashboard /wp-admin | 4.35 ▲1.01 | 53.35 ▼4.89 |
Posts /wp-admin/edit.php | 4.36 ▲1.00 | 53.30 ▲2.88 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.96 | 90.58 ▲6.54 |
Media Library /wp-admin/upload.php | 4.15 ▲0.92 | 43.18 ▲7.23 |
Options /wp-admin/admin.php?page=quadmenu_options | 9.08 | 356.23 |
Premium /wp-admin/admin.php?page=quadmenu_welcome_premium | 4.18 | 41.59 |
Welcome /wp-admin/admin.php?page=quadmenu_welcome | 4.17 | 38.39 |
Suggestions /wp-admin/admin.php?page=quadmenu_welcome_suggestions | 4.54 | 633.17 |
System /wp-admin/admin.php?page=quadmenu_welcome_system | 4.22 | 42.94 |
Server storage [IO: ▲11.86MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 684 new files
Database: no new tables, 11 new options
New WordPress options |
---|
redux_version_upgraded_from |
widget_quadmenu_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
quadmenu_twentytwentyone |
can_compress_scripts |
quadmenu_twentytwentyone-transients |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
WordPress Mega Menu - QuadMenu: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,044 ▲286 | 13.54 ▼0.82 | 11.43 ▲9.43 | 35.43 ▼9.78 |
Dashboard /wp-admin | 2,322 ▲145 | 5.56 ▼0.15 | 105.83 ▲3.38 | 75.75 ▲31.98 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 1.95 ▼0.06 | 39.06 ▼1.13 | 34.23 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,714 ▲188 | 22.02 ▼1.16 | 774.63 ▲125.76 | 49.65 ▼1.04 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.17 ▼0.05 | 95.25 ▼2.68 | 73.11 ▲32.16 |
Options /wp-admin/admin.php?page=quadmenu_options | 5,323 | 9.77 | 264.17 | 168.47 |
Premium /wp-admin/admin.php?page=quadmenu_welcome_premium | 1,061 | 1.89 | 33.98 | 44.20 |
Welcome /wp-admin/admin.php?page=quadmenu_welcome | 967 | 1.88 | 33.29 | 38.56 |
Suggestions /wp-admin/admin.php?page=quadmenu_welcome_suggestions | 1,981 | 2.39 | 33.24 | 51.52 |
System /wp-admin/admin.php?page=quadmenu_welcome_system | 1,297 | 1.91 | 25.46 | 35.07 |
Uninstaller [IO: ▲0.07MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 11 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- quadmenu_twentytwentyone-transients
- widget_theysaidso_widget
- quadmenu_twentytwentyone
- quadmenu_twentytwentyone_locations
- widget_quadmenu_widget
- widget_recent-posts
- widget_recent-comments
- ...
Smoke tests 50% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 46× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/quadmenu/lib/class-admin.php
- > /wp-content/plugins/quadmenu/lib/class-themes.php
- > /wp-content/plugins/quadmenu/lib/class-widget.php
- > /wp-content/plugins/quadmenu/lib/panel/class-system.php
- > /wp-content/plugins/quadmenu/lib/integrations/class-vc.php
- > /wp-content/plugins/quadmenu/lib/frontend/class-frontend.php
- > /wp-content/plugins/quadmenu/lib/frontend/walker/class-quadmenu-item-mega.php
- > /wp-content/plugins/quadmenu/lib/class-activation.php
- > /wp-content/plugins/quadmenu/lib/class-import.php
- > /wp-content/plugins/quadmenu/lib/frontend/walker/class-quadmenu-item.php
- 58× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: url in wp-content/plugins/quadmenu/templates/logo.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Panel' not found in wp-content/plugins/quadmenu/redux/ReduxCore/inc/extensions/customizer/inc/customizer_panel.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function QuadLayers\\QuadMenu\\wp_upload_dir() in wp-content/plugins/quadmenu/lib/class-plugin.php:183
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/quadmenu/redux/ReduxCore/templates/panel/header.tpl.php:11
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/quadmenu/lib/integrations/beaver/module.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/quadmenu/lib/panel/pages/welcome.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/quadmenu/redux/redux/template/header_stickybar.tpl.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/quadmenu/templates/layout/offcanvas.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/quadmenu/redux/ReduxCore/inc/welcome/views/extensions.php:64
- > PHP Warning
Use of undefined constant QUADMENU_PLUGIN_VERSION - assumed 'QUADMENU_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/quadmenu/lib/panel/pages/welcome.php on line 8
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: You are using too many tags: 21 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in quadmenu/assets to your readme.txt
quadmenu/quadmenu.php Passed 13 tests
The main file in "WordPress Mega Menu - QuadMenu" v. 3.0.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
102 characters long description:
The best drag & drop WordPress Mega Menu plugin which allow you to create Tabs Menus & Carousel Menus.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin79,386 lines of code in 485 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 221 | 6,472 | 7,724 | 28,325 |
CSS | 74 | 3,797 | 115 | 16,468 |
JavaScript | 103 | 2,738 | 2,053 | 12,622 |
SVG | 9 | 0 | 3 | 9,753 |
Sass | 54 | 1,187 | 60 | 7,580 |
LESS | 8 | 575 | 109 | 2,479 |
JSON | 3 | 184 | 0 | 1,368 |
Markdown | 12 | 271 | 0 | 734 |
JSX | 1 | 14 | 1 | 57 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 25.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 884.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 21 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 171 | |
▷ Abstract classes | 1 | 0.58% |
▷ Concrete classes | 170 | 99.42% |
▷ Final classes | 1 | 0.59% |
Methods | 1,105 | |
▷ Static methods | 214 | 19.37% |
▷ Public methods | 924 | 83.62% |
▷ Protected methods | 95 | 8.60% |
▷ Private methods | 86 | 7.78% |
Functions | 53 | |
▷ Named functions | 37 | 69.81% |
▷ Anonymous functions | 16 | 30.19% |
Constants | 110 | |
▷ Global constants | 53 | 48.18% |
▷ Class constants | 57 | 51.82% |
▷ Public constants | 57 | 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
51 PNG files occupy 0.41MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
redux/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
assets/backend/img/layouts/collapse.png | 0.13KB | 0.14KB | 0.00% |
redux/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
redux/ReduxCore/assets/img/3cm.png | 2.96KB | 0.29KB | ▼ 90.35% |
assets/backend/img/icon-dark-18x18.png | 14.83KB | 0.39KB | ▼ 97.38% |