Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/jquery-easy-menu/jquery-easy-menu.php+1102
Function create_function() is deprecated
Server metrics [RAM: ▼1.97MB] [CPU: ▼59.34ms] Passed 4 tests
Server-side resources used by Easy menus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.50 ▼38.39 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.02 ▼55.88 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 4.83 ▼46.42 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.19 ▼96.67 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.36 ▼29.60 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_wp_easymenu |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Easy menus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲169 | 13.40 ▼1.35 | 10.05 ▲7.96 | 42.77 ▼3.05 |
Dashboard /wp-admin | 2,260 ▲80 | 5.58 ▼0.10 | 86.21 ▼2.81 | 45.28 ▼1.48 |
Posts /wp-admin/edit.php | 2,162 ▲59 | 1.99 ▼0.03 | 34.32 ▼8.74 | 36.81 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,612 ▲71 | 23.16 ▼0.04 | 658.46 ▼26.08 | 60.56 ▲4.10 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 4.20 ▼0.05 | 100.18 ▼6.76 | 42.99 ▼5.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/jquery-easy-menu/jquery-easy-menu.php+1102
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_wp_easymenu
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Menus samples), #2 (Page/Post Shortcodes), #3 (Widget)
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
jquery-easy-menu/jquery-easy-menu.php 92% from 13 tests
The main PHP file in "Easy menus" ver. 3.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin6,635 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 867 | 708 | 4,353 |
CSS | 12 | 48 | 12 | 1,511 |
PHP | 3 | 400 | 442 | 724 |
PO File | 1 | 14 | 16 | 47 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 14.40 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
3 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/overlay.png | 6.95KB | 1.17KB | ▼ 83.21% |
images/round1.png | 35.70KB | 11.76KB | ▼ 67.05% |
images/minilogo.png | 2.69KB | 1.73KB | ▼ 35.68% |