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.05MB] [CPU: ▼2.49ms] Passed 4 tests
Analyzing server-side resources used by WP Downgrade | Specific Core Version
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 37.06 ▼2.65 |
Dashboard /wp-admin | 3.36 ▲0.05 | 43.64 ▼6.21 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.19 ▲0.42 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.97 ▼0.15 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 32.93 ▼0.96 |
WP Downgrade /wp-admin/options-general.php?page=wpdowngrade | 3.25 | 45.37 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Downgrade | Specific Core Version: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.10 ▼0.63 | 1.69 ▼0.00 | 43.49 ▼5.56 |
Dashboard /wp-admin | 2,199 ▲19 | 5.55 ▼0.12 | 84.13 ▼13.61 | 38.59 ▼4.44 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.04 | 39.25 ▲2.22 | 37.99 ▲4.13 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.08 ▼0.35 | 646.77 ▼44.60 | 53.81 ▲3.14 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.20 ▲0.02 | 93.56 ▼10.93 | 44.29 ▼1.39 |
WP Downgrade /wp-admin/options-general.php?page=wpdowngrade | 844 | 2.03 | 28.34 | 30.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Release-Nummer hinterlegen), #2 (Downgrade auf hinterlegte WordPress-Version aktivieren), #3 (WordPress bietet eine ältere Version als Update an)
wp-downgrade/wp-downgrade.php 92% from 13 tests
The principal PHP file in "WP Downgrade | Specific Core Version" v. 1.2.6 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 416 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin322 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 23 | 164 |
PO File | 2 | 44 | 50 | 158 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 39.98KB | 19.23KB | ▼ 51.91% |
screenshot-1.png | 29.31KB | 14.36KB | ▼ 50.99% |
screenshot-3.png | 14.13KB | 7.75KB | ▼ 45.17% |