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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▲1.61ms] Passed 4 tests
An overview of server-side resources used by eDS Responsive Menu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 42.33 ▼1.11 |
Dashboard /wp-admin | 3.54 ▲0.23 | 61.10 ▲6.91 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 56.28 ▲3.38 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 95.63 ▼2.73 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 46.25 ▲8.74 |
Server storage [IO: ▲2.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 110 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
_eds_Options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for eDS Responsive Menu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,189 ▲443 | 15.87 ▲1.58 | 7.23 ▲5.29 | 37.08 ▼8.39 |
Dashboard /wp-admin | 2,460 ▲272 | 7.01 ▲2.14 | 135.51 ▲27.53 | 44.60 ▲3.14 |
Posts /wp-admin/edit.php | 2,371 ▲282 | 3.48 ▲1.49 | 62.45 ▲26.28 | 38.90 ▲5.68 |
Add New Post /wp-admin/post-new.php | 1,745 ▲225 | 23.69 ▲0.37 | 594.44 ▼27.67 | 34.78 ▼18.12 |
Media Library /wp-admin/upload.php | 1,508 ▲120 | 4.86 ▲0.62 | 90.40 ▼8.65 | 42.70 ▼5.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- _eds_Options
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
Good news, no errors were detected
SRP 0% from 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
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/eds-responsive-menu/inc/css/eds_dynamic_css.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/eds-responsive-menu/inc/eds_menu_frontend.php:234
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eds-responsive-menu/eds-responsive-menu.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Initial Setup), #2 (Menu Symbol Settings), #3 (Menu Settings), #4 (Sub Menu Settings), #5 (Addition Setup), #6 (Backup/import/export)
- Tags: You are using too many tags: 13 tag instead of maximum 10
eds-responsive-menu/eds-responsive-menu.php Passed 13 tests
The main PHP script in "eDS Responsive Menu" version 1.2 is automatically included on every request by WordPress
110 characters long description:
eDS Responsive Menu Plugins,Control the edge, skins, toggle breakpoints, and more, right from the admin panel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin30,075 lines of code in 83 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 13,773 |
JavaScript | 10 | 1,174 | 826 | 5,085 |
CSS | 8 | 162 | 54 | 4,489 |
PHP | 47 | 1,185 | 935 | 3,325 |
Sass | 5 | 318 | 0 | 1,950 |
SVG | 4 | 0 | 1 | 748 |
PO File | 7 | 306 | 334 | 705 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 2 | 5.26% |
▷ Concrete classes | 36 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 5 | 4.13% |
▷ Public methods | 121 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 47 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.37MB with 0.21MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/toggle-icon.png | 0.98KB | 0.13KB | ▼ 86.91% |
screenshot-6.png | 87.84KB | 40.13KB | ▼ 54.31% |
screenshot-4.png | 58.37KB | 29.82KB | ▼ 48.91% |
screenshot-5.png | 53.80KB | 25.22KB | ▼ 53.12% |
screenshot-3.png | 68.54KB | 34.14KB | ▼ 50.18% |