Benchmarks
Plugin footprint 82% 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.19MB] [CPU: ▲2,199.08ms] 50% from 4 tests
This is a short check of server-side resources used by Rewind WP
Please fix the following
- CPU: Total CPU usage should be kept under 500.00ms (currently 7,259.17ms on /wp-admin/tools.php?page=rewindwp)
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 2,199.08ms on /wp-admin/tools.php?page=rewindwp)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 2,314.67 ▲2,274.59 |
Dashboard /wp-admin | 3.52 ▲0.22 | 2,245.19 ▲2,197.70 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 2,261.55 ▲2,210.58 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 2,295.07 ▲2,201.15 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 2,218.19 ▲2,186.87 |
Rewind WP /wp-admin/tools.php?page=rewindwp | 3.39 | 7,259.17 |
Server storage [IO: ▲22.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rewind WP
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.20 ▼1.55 | 1.75 ▼0.10 | 37.86 ▼10.55 |
Dashboard /wp-admin | 2,222 ▲37 | 5.88 ▲0.05 | 94.14 ▼6.02 | 44.46 ▲4.93 |
Posts /wp-admin/edit.php | 2,102 ▲13 | 1.94 ▼0.03 | 33.10 ▼7.59 | 37.08 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,524 ▼18 | 21.32 ▲2.87 | 605.24 ▼17.25 | 49.25 ▼21.36 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.18 ▼0.04 | 89.44 ▼22.96 | 44.01 ▼2.16 |
Rewind WP /wp-admin/tools.php?page=rewindwp | 842 | 2.14 | 23.65 | 37.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'rwp_Functions' not found in wp-content/plugins/rewind-wp/inc/RWPSettings.php:540
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rewind-wp/inc/RWPFunctions.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2 in rewind-wp/assets to your readme.txt
rewind-wp/rewindwp.php 85% from 13 tests
The main PHP script in "Rewind WP" version 1.0.3 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("rewind-wp.php" instead of "rewindwp.php")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin831 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 319 | 592 | 831 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 44.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 47 | 100.00% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 1.02MB with 0.52MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/rwp-logo.png | 922.57KB | 599.58KB | ▼ 35.01% |
assets/icon-128x128.png | 5.17KB | 2.76KB | ▼ 46.66% |
assets/screenshot-1.png | 119.83KB | 33.92KB | ▼ 71.70% |