Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.79ms] Passed 4 tests
Analyzing server-side resources used by iceCred Preloader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.06 | 23.89 ▼14.87 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.36 ▼5.17 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.55 ▲5.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.68 ▼8.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.11 ▲1.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for iceCred Preloader
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.47 ▼0.90 | 1.69 ▲0.02 | 41.02 ▼2.87 |
Dashboard /wp-admin | 2,244 ▲59 | 5.18 ▼0.71 | 111.40 ▲5.79 | 38.60 ▼2.36 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.28 ▲0.27 | 41.57 ▲6.99 | 33.84 ▲1.63 |
Add New Post /wp-admin/post-new.php | 1,541 ▲8 | 17.65 ▼5.54 | 662.67 ▼16.62 | 34.46 ▼28.08 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.42 ▲0.29 | 99.56 ▼18.09 | 41.79 ▼6.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/icecred-preloader/frontend/js.php
- > /wp-content/plugins/icecred-preloader/settings.php
- > /wp-content/plugins/icecred-preloader/frontend.php
- > /wp-content/plugins/icecred-preloader/icecred-preloader.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/icecred-preloader/frontend/style.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/icecred-preloader/frontend/html.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: preloader
icecred-preloader/icecred-preloader.php Passed 13 tests
The main PHP script in "iceCred Preloader" version 1.0.1 is automatically included on every request by WordPress
75 characters long description:
A fullscreen wordpress preloader. It is great, lightweight and easy to use.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected222 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 37 | 26 | 165 |
SVG | 1 | 0 | 0 | 54 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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