Benchmarks
Plugin footprint 83% 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.23MB] [CPU: ▼8.25ms] Passed 4 tests
Analyzing server-side resources used by Loading Page with Loading Screen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 42.19 ▼0.38 |
Dashboard /wp-admin | 3.54 ▲0.19 | 47.70 ▼25.52 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 49.05 ▼2.39 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 94.24 ▼4.71 |
Media Library /wp-admin/upload.php | 3.47 ▲0.23 | 37.10 ▲1.27 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
installed_loading-page |
loading_page_options |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Loading Page with Loading Screen
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,064 ▲317 | 13.54 ▲0.31 | 22.16 ▲18.18 | 57.11 ▲12.13 |
Dashboard /wp-admin | 2,199 ▲22 | 5.50 ▼0.18 | 82.79 ▼18.02 | 36.80 ▼5.70 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▲0.04 | 37.26 ▼3.26 | 32.79 ▼4.47 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.76 ▲0.59 | 636.43 ▼16.16 | 43.26 ▼8.14 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.21 ▲0.04 | 95.19 ▼1.24 | 42.04 ▲0.16 |
Loading Page /wp-admin/loading-page.php | 26 | 0.41 | 0.12 | 13.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- installed_loading-page
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loading-page/banner.php:105
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/loading-page/loading-screens/logo/adminsection.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/loading-page/banner.php:105
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/loading-page.php
- > Network (severe)
wp-admin/loading-page.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (22 tag instead of maximum 10)
loading-page/loading-page.php 92% from 13 tests
The main PHP script in "Loading Page with Loading Screen" version 1.1.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 188 characters long)
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
Success! There were no dangerous files found in this plugin2,251 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 107 | 161 | 1,213 |
JavaScript | 10 | 54 | 9 | 497 |
PO File | 1 | 106 | 106 | 249 |
HTML | 1 | 1 | 0 | 181 |
CSS | 4 | 15 | 0 | 72 |
SVG | 13 | 0 | 0 | 29 |
INI | 2 | 2 | 2 | 10 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.74 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 26 | 96.30% |
▷ Anonymous functions | 1 | 3.70% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/consumption_graph.png | 10.65KB | 10.25KB | ▼ 3.80% |