Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.40ms] Passed 4 tests
Analyzing server-side resources used by WP PleaseWait - Loading Screen
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 38.92 ▼4.65 |
Dashboard /wp-admin | 3.47 ▲0.17 | 48.80 ▲0.14 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.94 ▼2.64 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 86.62 ▼10.46 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.35 ▲4.42 |
WP PleaseWait /wp-admin/options-general.php?page=wppleasewait-setting-admin | 3.34 | 34.63 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP PleaseWait - Loading Screen
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲131 | 13.49 ▼0.82 | 2.89 ▲0.57 | 48.23 ▲0.31 |
Dashboard /wp-admin | 2,229 ▲44 | 5.08 ▲0.19 | 112.90 ▼2.86 | 39.24 ▼9.54 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.30 ▲0.24 | 39.35 ▼1.15 | 31.99 ▼1.34 |
Add New Post /wp-admin/post-new.php | 1,535 ▼3 | 23.35 ▲0.35 | 690.73 ▲53.37 | 36.49 ▼16.80 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.35 ▲0.11 | 98.06 ▲4.46 | 40.12 ▼4.42 |
WP PleaseWait /wp-admin/options-general.php?page=wppleasewait-setting-admin | 1,423 | 2.23 | 54.46 | 34.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WpPleaseWait::uninstall() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wppleasewait-setting-admin
- > User deprecated in wp-includes/functions.php+5453
Function readonly is deprecated since version 5.9.0! Use wp_readonly() instead.
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-pleasewait/index.php
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
- Screenshots: These screenshots have no corresponding images in /assets: #1 (WP PleaseWait Settings), #2 (WP PleaseWait Settings), #3 (WP PleaseWait Loading Screen)
wp-pleasewait/pleasewait.php 85% from 13 tests
"WP PleaseWait - Loading Screen" version 2.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-pleasewait.php" instead of "pleasewait.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 168 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,022 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 92 | 135 | 1,009 |
Markdown | 1 | 9 | 0 | 10 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 1 | 10 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 40 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.76% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 32 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 32 | 100.00% |
▷ Public constants | 32 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 compressed PNG files occupy 0.15MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/kofi2.png | 16.04KB | 8.40KB | ▼ 47.65% |
screenshot-2.png | 62.39KB | 66.81KB | 0.00% |
screenshot-3.png | 14.29KB | 15.53KB | 0.00% |
screenshot-1.png | 65.96KB | 69.70KB | 0.00% |