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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.21ms] Passed 4 tests
An overview of server-side resources used by Responsive Mobile Select Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.01 ▼9.21 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.18 ▼4.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.19 ▼3.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.86 ▼3.18 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.06 ▲0.06 |
Responsive Menu /wp-admin/themes.php?page=responsive-mobile-select | 3.22 | 30.75 |
Server storage [IO: ▲0.29MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Mobile Select Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲150 | 13.37 ▼0.97 | 8.44 ▲6.61 | 37.90 ▼4.79 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.04 | 91.02 ▼7.08 | 41.80 ▼5.56 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.07 | 39.32 ▼2.77 | 35.15 ▼3.63 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.96 ▲0.02 | 601.85 ▼14.07 | 47.87 ▼12.63 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.15 ▼0.06 | 93.95 ▼3.36 | 40.98 ▼0.32 |
Responsive Menu /wp-admin/themes.php?page=responsive-mobile-select | 1,074 | 2.42 | 39.37 | 76.77 |
Uninstaller [IO: ▲0.00MB] [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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/responsive-mobile-select-menu/responsive-mobile-select-menu.php:25
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/responsive-mobile-select-menu/classes/class-rms-walker.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Responsive mobile select menu on the iPhone/iPod Touch)
responsive-mobile-select-menu/responsive-mobile-select-menu.php 92% from 13 tests
The main file in "Responsive Mobile Select Menu" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,804 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 221 | 133 | 765 |
CSS | 1 | 47 | 13 | 569 |
PO File | 2 | 106 | 110 | 308 |
JavaScript | 1 | 21 | 17 | 80 |
Markdown | 1 | 42 | 0 | 70 |
SVG | 1 | 0 | 0 | 12 |
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.33 |
Average class complexity | 33.67 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 1 | 2.63% |
▷ Public methods | 38 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
6 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 107.45KB | 44.65KB | ▼ 58.45% |
screenshot-1.png | 92.91KB | 33.77KB | ▼ 63.65% |
assets/images/social_media_icons/dribbble.png | 1.34KB | 0.50KB | ▼ 62.54% |
assets/images/social_media_icons/facebook.png | 1.08KB | 0.21KB | ▼ 80.62% |
assets/images/social_media_icons/twitter_2.png | 1.20KB | 0.36KB | ▼ 70.02% |