Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.40ms] Passed 4 tests
Analyzing server-side resources used by WordPress WPO Tweaks & Optimizations
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.95 ▼1.67 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.34 ▼15.97 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.46 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 78.44 ▼21.72 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.89 ▲1.77 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Just a few items left to fix
- The plugin illegally modified 1 file (2.03KB) outside of "wp-content/plugins/wpo-tweaks/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
WordPress WPO Tweaks & Optimizations: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲23 | 14.27 ▼0.01 | 1.78 ▼0.15 | 42.61 ▲0.32 |
Dashboard /wp-admin | 2,195 ▲15 | 5.56 ▼0.08 | 85.17 ▼4.92 | 33.91 ▼6.78 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▲0.08 | 38.06 ▲0.93 | 31.60 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.85 ▼0.34 | 585.94 ▼115.33 | 46.99 ▼4.49 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.21 ▼0.00 | 100.54 ▼1.99 | 39.99 ▼4.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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 following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wpo-tweaks/wordpress-wpo-tweaks.php
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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
wpo-tweaks/wordpress-wpo-tweaks.php 85% from 13 tests
The main PHP script in "WordPress WPO Tweaks & Optimizations" version 1.0.4 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wpo-tweaks.php" instead of "wordpress-wpo-tweaks.php")
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
There were no executable files found in this plugin121 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 57 | 121 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.09 |
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 | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
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
PNG images were not found in this plugin