Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.56MB] [CPU: ▼14.34ms] Passed 4 tests
Server-side resources used by Relive Classic
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 33.73 ▼8.71 |
Dashboard /wp-admin | 3.37 ▲0.06 | 43.16 ▼6.83 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.96 ▲2.15 |
Add New Post /wp-admin/post-new.php | 3.45 ▼2.44 | 52.47 ▼43.98 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.94 ▲3.72 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Relive Classic
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.28 ▼1.09 | 1.58 ▼0.29 | 37.01 ▼5.56 |
Dashboard /wp-admin | 2,224 ▲33 | 4.85 ▼0.01 | 113.23 ▲11.07 | 43.08 ▲0.31 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.00 ▼0.03 | 41.01 ▲3.42 | 35.14 ▲2.22 |
Add New Post /wp-admin/post-new.php | 3,106 ▲1,573 | 7.75 ▼15.35 | 220.38 ▼445.63 | 75.86 ▲14.29 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.18 ▲0.01 | 93.60 ▼10.06 | 37.44 ▼8.06 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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 | 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
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/relive-classic/settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/relive-classic/implement.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: blocks, editor, disable, gutenberg, block editor...
relive-classic/index.php 85% from 13 tests
The main PHP script in "Relive Classic" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires PHP: Please use periods and digits for the required version (ex. "7.0" instead of "5.6 or later")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("relive-classic.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected251 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 50 | 29 | 230 |
CSS | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected