Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.33ms] Passed 4 tests
Server-side resources used by Preloader for Website
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 39.46 ▼4.34 |
Dashboard /wp-admin | 3.38 ▲0.08 | 50.66 ▲2.82 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 47.88 ▼2.07 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 94.75 ▲2.16 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 34.98 ▼1.08 |
Preloader - WPOS /wp-admin/admin.php?page=plwao-settings | 3.34 | 38.30 |
How It Works /wp-admin/admin.php?page=plwao-how-it-work | 3.28 | 34.52 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 8 new options
New WordPress options |
---|
plwao_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
plwao_plugin_version |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Preloader for Website
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,015 ▲253 | 13.39 ▼0.95 | 15.51 ▲13.80 | 43.81 ▼0.24 |
Dashboard /wp-admin | 2,222 ▲45 | 5.58 ▼0.04 | 89.98 ▼5.28 | 40.95 ▼6.29 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.14 ▲0.12 | 35.84 ▼4.93 | 31.79 ▼4.78 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 25.32 ▲2.19 | 603.50 ▼52.38 | 66.85 ▲11.09 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.19 ▲0.03 | 98.38 ▲0.16 | 42.07 ▼0.43 |
Preloader - WPOS /wp-admin/admin.php?page=plwao-settings | 2,302 | 7.13 | 164.64 | 112.76 |
How It Works /wp-admin/admin.php?page=plwao-how-it-work | 996 | 2.12 | 24.23 | 26.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- plwao_plugin_version
- plwao_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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
These attributes need your attention:
- Tags: There are too many tags (13 tag instead of maximum 10)
preloader-for-website/pageloader-website-add-on.php 92% from 13 tests
This is the main PHP file of "Preloader for Website" version 1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("preloader-for-website.php" instead of "pageloader-website-add-on.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
There were no executable files found in this plugin777 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 190 | 270 | 695 |
JavaScript | 2 | 16 | 6 | 59 |
CSS | 2 | 0 | 2 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.46 |
▷ 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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin