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.06MB] [CPU: ▲4.40ms] Passed 4 tests
A check of server-side resources used by WDES Responsive Mobile Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.87 ▲0.33 |
Dashboard /wp-admin | 3.37 ▲0.07 | 50.76 ▲4.64 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 59.47 ▲13.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.02 ▲1.15 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 43.39 ▲11.47 |
Server storage [IO: ▲1.38MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 38 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
wdes_rmm_settings |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WDES Responsive Mobile Menu: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,092 ▲357 | 15.45 ▲1.04 | 6.70 ▲5.01 | 38.47 ▼7.67 |
Dashboard /wp-admin | 2,388 ▲197 | 6.65 ▲0.75 | 132.31 ▲16.58 | 39.70 ▼6.40 |
Posts /wp-admin/edit.php | 2,294 ▲223 | 3.56 ▲1.55 | 53.65 ▲18.92 | 34.52 ▼1.87 |
Add New Post /wp-admin/post-new.php | 1,553 ▲18 | 23.34 ▲0.27 | 666.86 ▼2.72 | 37.06 ▼17.96 |
Media Library /wp-admin/upload.php | 1,430 ▲48 | 4.32 ▲0.15 | 83.96 ▼16.53 | 45.71 ▲2.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- wdes_rmm_settings
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/wdes-responsive-mobile-menu/lib/templates/layout-1.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: navigation, popup, mobile menu, mobile, anthonycarboncom...
wdes-responsive-mobile-menu/wdes-rmm.php 69% from 13 tests
The main PHP script in "WDES Responsive Mobile Menu" version 1.2.5 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 166 characters long)
- 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
- Domain Path: The domain path folder does not exist ("/i18n/languages/")
- Main file name: Name the main plugin file the same as the plugin slug ("wdes-responsive-mobile-menu.php" instead of "wdes-rmm.php")
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
There were no executable files found in this plugin3,026 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 78 | 92 | 1,561 |
SVG | 1 | 0 | 0 | 655 |
JavaScript | 3 | 12 | 24 | 600 |
CSS | 3 | 0 | 2 | 210 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 22.22% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin