Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'rimip' does not have a method 'active'
Server metrics [RAM: ▼0.00MB] [CPU: ▼4.13ms] Passed 4 tests
Server-side resources used by Remove invalid menu items
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.96 ▼6.02 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.89 ▼17.93 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.88 ▲7.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.71 ▲3.94 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.03 ▲3.48 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove invalid menu items
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲56 | 14.37 ▲0.02 | 1.82 ▼0.60 | 45.47 ▼4.68 |
Dashboard /wp-admin | 2,200 ▲23 | 5.65 ▼0.02 | 92.08 ▼8.57 | 46.34 ▲3.85 |
Posts /wp-admin/edit.php | 2,102 ▲5 | 2.01 ▼0.02 | 40.38 ▲2.19 | 36.61 ▲0.82 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.34 ▼5.19 | 660.31 ▼40.88 | 83.70 ▲31.36 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.27 ▲0.09 | 100.66 ▼4.58 | 44.70 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'rimip' does not have a method 'deactivate'
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/remove-invalid-menu-items/remove-invalid-menu-items.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is missing in remove-invalid-menu-items/assets to your readme.txt
- Contributors: Contributors not specified
remove-invalid-menu-items/remove-invalid-menu-items.php 92% from 13 tests
The principal PHP file in "Remove invalid menu items" v. 1.3.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Git Repository: An alternative Git repository was detected
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
There were no executable files found in this plugin49 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 33 | 20 |
Markdown | 1 | 13 | 0 | 18 |
JavaScript | 1 | 5 | 3 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin