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 gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.20ms] Passed 4 tests
This is a short check of server-side resources used by Preload Everything
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.80 ▼2.20 |
Dashboard /wp-admin | 3.49 ▲0.19 | 53.31 ▼0.42 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 55.40 ▲9.99 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 82.06 ▼20.38 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.18 ▲2.20 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
pre_ev_basic_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Preload Everything
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲223 | 14.95 ▲0.37 | 1.80 ▲0.07 | 39.73 ▼6.57 |
Dashboard /wp-admin | 2,361 ▲173 | 6.60 ▲1.73 | 139.45 ▲22.53 | 41.88 ▼4.46 |
Posts /wp-admin/edit.php | 2,273 ▲184 | 3.53 ▲1.47 | 57.60 ▲17.56 | 36.97 ▲4.74 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 23.38 ▲0.44 | 630.81 ▼26.24 | 37.92 ▼21.12 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.34 ▲0.14 | 85.37 ▼8.65 | 41.95 ▲1.64 |
Preload Everything /wp-admin/preload-everything.php | 26 | 0.44 | 0.08 | 14.91 |
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 detected upon uninstall: 7 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- pre_ev_basic_settings
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
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 50% from 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/preload-everything/includes/admin_settings.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/preload-everything.php
- > Network (severe)
wp-admin/preload-everything.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: preloading, preload, fast, speed, speed-optimization...
preload-everything/preload-everything.php Passed 13 tests
This is the main PHP file of "Preload Everything" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
99 characters long description:
Fasten Your Website Loading Speed By Preloading Internal Pages Ahead Of The Time For Your Visitors.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin672 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 202 | 212 | 554 |
JavaScript | 1 | 23 | 4 | 118 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin