Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/native-wp-cleaner/native-wp-cleaner.php+23
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.46MB] [CPU: ▼50.72ms] Passed 4 tests
A check of server-side resources used by Native WP Cleaner
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.53 ▼0.94 | 5.25 ▼34.29 |
Dashboard /wp-admin | 2.55 ▼0.76 | 7.94 ▼43.94 |
Posts /wp-admin/edit.php | 2.55 ▼0.81 | 8.31 ▼36.44 |
Add New Post /wp-admin/post-new.php | 2.55 ▼3.34 | 8.12 ▼88.21 |
Media Library /wp-admin/upload.php | 2.55 ▼0.68 | 7.14 ▼27.31 |
Native WP Cleaner /wp-admin/options-general.php?page=native-wp-cleaner | 2.55 | 7.08 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Native WP Cleaner
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.13 ▼1.16 | 5.37 ▲3.63 | 40.03 ▼6.14 |
Dashboard /wp-admin | 2,210 ▲22 | 5.83 ▲0.90 | 112.69 ▼5.57 | 42.62 ▼1.90 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.05 | 40.14 ▲1.38 | 36.50 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,517 ▼5 | 17.69 ▼5.46 | 608.40 ▼26.02 | 61.70 ▲1.29 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.17 ▼0.03 | 95.51 ▼6.16 | 40.77 ▼3.50 |
Native WP Cleaner /wp-admin/options-general.php?page=native-wp-cleaner | 1,933 | 1.74 | 26.62 | 34.71 |
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
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/native-wp-cleaner/native-wp-cleaner.php+23
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 143 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=native-wp-cleaner
- > Notice in wp-content/plugins/native-wp-cleaner/native-wp-cleaner.php+714
Trying to access array offset on value of type bool
SRP 50% from 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
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/native-wp-cleaner/native-wp-cleaner.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in native-wp-cleaner/assets to your readme.txt
native-wp-cleaner/native-wp-cleaner.php 92% from 13 tests
The entry point to "Native WP Cleaner" version 1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 300 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,166 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 66 | 670 |
PO File | 2 | 246 | 374 | 496 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 54 | |
▷ Named functions | 54 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin