Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.99ms] Passed 4 tests
This is a short check of server-side resources used by WP Sanitize : Auto WordPress Optimizer Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.15 ▼0.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.54 ▼3.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.03 ▼1.85 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 89.11 ▲3.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.05 ▲1.55 |
WP Sanitize /wp-admin/options-general.php?page=wp_sanitize | 3.20 | 30.60 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
wpsanitize |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Sanitize : Auto WordPress Optimizer Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.15 ▼1.50 | 1.97 ▲0.27 | 40.31 ▼3.86 |
Dashboard /wp-admin | 2,207 ▲16 | 5.84 ▼0.04 | 97.85 ▼5.95 | 35.87 ▼5.75 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.02 | 39.03 ▲3.66 | 33.52 ▼2.08 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.59 ▲0.04 | 592.15 ▼58.65 | 60.35 ▲13.97 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.18 ▼0.06 | 98.36 ▼1.54 | 46.01 ▲4.34 |
WP Sanitize /wp-admin/options-general.php?page=wp_sanitize | 914 | 2.05 | 28.90 | 25.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- wpsanitize
- theysaidso_admin_options
- can_compress_scripts
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)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/wp-sanitize/wp-sanitize.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: Screenshot #1 (WP Sanitize settings page) image required
wp-sanitize/wp-sanitize.php Passed 13 tests
This is the main PHP file of "WP Sanitize : Auto WordPress Optimizer Plugin" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
43 characters long description:
A super-simple plugin to optimize your blog
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin122 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 21 | 122 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 6 | |
▷ Named functions | 6 | 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
1 PNG file occupies 0.09MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 94.89KB | 25.96KB | ▼ 72.64% |