Benchmarks
Plugin footprint 83% 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.08MB] [CPU: ▼296.80ms] Passed 4 tests
An overview of server-side resources used by XL Fly Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.13 | 56.65 ▲0.77 |
Dashboard /wp-admin | 3.47 ▲0.06 | 33.17 ▲1.85 |
Posts /wp-admin/edit.php | 3.75 ▲0.12 | 37.85 ▲0.20 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.04 | 97.33 ▼1,181.52 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 23.65 ▼6.66 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 4.70 | 49.19 |
Server storage [IO: ▲1.98MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 169 new files
Database: no new tables, 3 new options
New WordPress options |
---|
xlfly |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by XL Fly Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,986 ▲232 | 16.38 ▲0.78 | 9.39 ▲2.57 | 6.47 ▲3.82 |
Dashboard /wp-admin | 2,899 ▲41 | 6.09 ▼0.07 | 116.77 ▼13.67 | 158.33 ▼5.81 |
Posts /wp-admin/edit.php | 2,695 ▲7 | 3.24 ▲0.02 | 65.18 ▲0.85 | 143.62 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,673 ▼79 | 18.13 ▼3.39 | 397.00 ▼57.46 | 160.88 ▲3.65 |
Media Library /wp-admin/upload.php | 1,705 ▲7 | 5.52 ▲0.05 | 135.58 ▼1.45 | 185.10 ▼7.48 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 7,447 | 20.04 | 504.19 | 192.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 3 options
- xlfly
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-includes/class-wp-customize-nav-menus.php+1152
Trying to get property 'title' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/xl-fly-menu/includes/walker/xlmega_walker.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/xl-fly-menu/includes/xlfly-helper.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/xl-fly-menu/admin/config/menu-meta.php:48
- > PHP Fatal error
Uncaught Error: Class 'XL_Fly_Nav_Walker' not found in wp-content/plugins/xl-fly-menu/includes/frontend/view.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/xl-fly-menu/index.php:47
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: elementor, icon-font, mega-menu, megamenu
xl-fly-menu/index.php 77% from 13 tests
Analyzing the main PHP file in "XL Fly Menu" version 1.0.0.0
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("xl-fly-menu.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin35,148 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 3,411 | 1,422 | 14,119 |
PO File | 20 | 3,197 | 3,594 | 6,490 |
CSS | 6 | 295 | 481 | 5,352 |
Sass | 15 | 952 | 3 | 4,803 |
JavaScript | 7 | 1,266 | 347 | 4,020 |
SVG | 3 | 0 | 0 | 364 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 24.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 6.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 63 | |
▷ Abstract classes | 2 | 3.17% |
▷ Concrete classes | 61 | 96.83% |
▷ Final classes | 0 | 0.00% |
Methods | 264 | |
▷ Static methods | 43 | 16.29% |
▷ Public methods | 263 | 99.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.38% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |