Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.85ms] Passed 4 tests
This is a short check of server-side resources used by GP UX Optimized Mobile Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.62 ▼6.36 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.28 ▼3.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.57 ▲0.90 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.19 ▼2.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.23 ▲3.92 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GP UX Optimized Mobile Menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.16 ▼1.22 | 1.76 ▲0.11 | 38.78 ▼4.29 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▲0.97 | 106.08 ▼4.91 | 39.84 ▼3.28 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.12 ▲0.12 | 39.66 ▲2.31 | 34.72 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.82 ▼5.55 | 661.59 ▼28.27 | 52.71 ▼5.69 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.17 ▼0.02 | 95.84 ▼12.11 | 41.64 ▼4.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gp-ux-optimized-mobile-menu/gp-ux-optimized-mobile-menu.php:13
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Screenshot_1.jpg), #2 (Screeshot_2.jpg)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== gp-ux-optimized-mobile-menu ===
) - Contributors: Plugin contributors not specified
gp-ux-optimized-mobile-menu/gp-ux-optimized-mobile-menu.php Passed 13 tests
The primary PHP file in "GP UX Optimized Mobile Menu" version 1.0 is used by WordPress to initiate all plugin functionality
67 characters long description:
Convert the standart GP menu in UX optimized menu for mobile users.
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
Good job! No executable or dangerous file extensions detected6 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 9 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
There were not PNG files found in your plugin