Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲2.62ms] Passed 4 tests
Analyzing server-side resources used by Ultra Menu Remove
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.89 ▲1.59 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.32 ▲0.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.09 ▲4.77 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.59 ▲3.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.88 ▲5.17 |
Settings Menu page /wp-admin/admin.php?page=remove_menu_setting | 3.21 | 33.16 |
Server storage [IO: ▲0.20MB] [DB: ▲0.61MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Ultra Menu Remove: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.53 ▼1.12 | 2.05 ▼0.00 | 47.87 ▲3.54 |
Dashboard /wp-admin | 2,233 ▲42 | 5.18 ▲0.18 | 119.93 ▲3.03 | 46.42 ▲4.98 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.27 ▲0.22 | 41.09 ▲6.17 | 39.48 ▲8.41 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.75 ▲0.45 | 639.43 ▼28.41 | 61.84 ▲8.02 |
Media Library /wp-admin/upload.php | 1,418 ▲27 | 4.50 ▲0.32 | 95.01 ▼3.74 | 40.44 ▼5.25 |
Settings Menu page /wp-admin/admin.php?page=remove_menu_setting | 1,368 | 2.43 | 45.29 | 28.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.61MB] 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_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: admin menu page remove, remove menu, remove menu page, remove dashbord
ultra-menu-remove/umpr_remove.php 85% from 13 tests
The main PHP script in "Ultra Menu Remove" version 1.0.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("ultra-menu-remove.php" instead of "umpr_remove.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin6,974 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 8 | 15 | 6,661 |
PHP | 1 | 63 | 13 | 299 |
JavaScript | 3 | 2 | 13 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 13 | |
▷ Static methods | 3 | 23.08% |
▷ Public methods | 13 | 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 | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected