Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.01ms] Passed 4 tests
A check of server-side resources used by Remove Wordpress Overhead
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 40.17 ▼2.41 |
Dashboard /wp-admin | 3.54 ▲0.19 | 56.19 ▼8.16 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 48.08 ▼1.00 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 82.00 ▼4.45 |
Media Library /wp-admin/upload.php | 3.47 ▲0.23 | 38.08 ▲4.89 |
Remove WP Overhead /wp-admin/options-general.php?page=remove_wordpress_overhead_settings | 3.45 | 33.98 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
remove_wordpress_overhead_version |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Remove Wordpress Overhead
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.21 ▼1.44 | 1.65 ▼0.04 | 42.94 ▼8.48 |
Dashboard /wp-admin | 2,214 ▲26 | 5.85 ▲0.01 | 108.22 ▼6.89 | 41.32 ▼1.70 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.05 | 39.58 ▲4.93 | 34.39 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,521 ▲4 | 17.39 ▼0.43 | 667.29 ▲26.24 | 55.47 ▲9.21 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.24 ▲0.08 | 94.61 ▼2.78 | 43.55 ▲2.61 |
Remove WP Overhead /wp-admin/options-general.php?page=remove_wordpress_overhead_settings | 1,158 | 2.07 | 23.49 | 40.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- remove_wordpress_overhead_version
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% 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: Screenshot #1 (screenshot-1: settings screen) image missing
- Tags: Please reduce the number of tags, currently 28 tag instead of maximum 10
remove-wp-overhead/remove-wordpress-overhead.php 77% from 13 tests
Analyzing the main PHP file in "Remove Wordpress Overhead" version 1.5.5.2
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("remove-wp-overhead.php" instead of "remove-wordpress-overhead.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,023 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 234 | 489 | 830 |
CSS | 2 | 20 | 0 | 118 |
JavaScript | 4 | 15 | 6 | 64 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 45 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.25% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.34MB with 0.23MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 349.38KB | 109.11KB | ▼ 68.77% |