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.02MB] [CPU: ▼2.21ms] Passed 4 tests
A check of server-side resources used by Quick Preloader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 43.60 ▲5.14 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.93 ▼2.85 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.26 ▲5.52 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.07 ▼10.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.10 ▼1.00 |
Quick Preloader /wp-admin/options-general.php?page=quick-preloader-options | 3.19 | 29.33 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Preloader
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲242 | 14.27 ▼0.41 | 12.09 ▲10.36 | 49.28 ▲5.08 |
Dashboard /wp-admin | 2,229 ▲38 | 5.17 ▲0.27 | 117.85 ▲15.33 | 41.99 ▼1.80 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.29 ▲0.26 | 41.36 ▲2.60 | 34.45 ▼0.73 |
Add New Post /wp-admin/post-new.php | 1,540 ▼4 | 18.17 ▼0.31 | 607.95 ▼42.52 | 34.43 ▼29.14 |
Media Library /wp-admin/upload.php | 1,414 ▲23 | 4.39 ▲0.22 | 99.52 ▼1.77 | 43.05 ▼1.79 |
Quick Preloader /wp-admin/options-general.php?page=quick-preloader-options | 961 | 2.56 | 42.46 | 25.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=quick-preloader-options
- > Notice in wp-content/plugins/quick-preloader/quick-preloader.php+78
Undefined index: link_img
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/quick-preloader/quick-preloader.php:12
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/quick-preloader/quick-preloader.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 30 tag instead of maximum 10
quick-preloader/quick-preloader.php Passed 13 tests
The main PHP file in "Quick Preloader" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
102 characters long description:
This plugin will enable custom background color and custom preloader image url in your wordpress site.
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
There were no executable files found in this plugin108 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 18 | 105 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin