Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.18ms] Passed 4 tests
Server-side resources used by WP Pace
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.48 ▼5.20 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.98 ▼1.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 39.88 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.32 ▼8.03 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.90 ▼2.91 |
Pace Settings /wp-admin/options-general.php?page=wp-pace/pace-options.php | 3.19 | 29.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Pace
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲53 | 14.68 ▲0.10 | 1.72 ▼0.19 | 43.55 ▼0.89 |
Dashboard /wp-admin | 2,219 ▲38 | 5.80 ▲0.09 | 97.20 ▼27.28 | 43.59 ▼5.20 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.44 ▲0.44 | 36.45 ▲1.69 | 33.24 ▼6.97 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 23.26 ▲0.09 | 667.87 ▲45.57 | 36.40 ▼13.56 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.34 ▲0.14 | 116.93 ▲17.61 | 47.38 ▲5.35 |
Pace Settings /wp-admin/options-general.php?page=wp-pace/pace-options.php | 1,020 | 2.55 | 42.70 | 25.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-pace/pace-options.php
- > Notice in wp-content/plugins/wp-pace/pace-options.php+153
Trying to access array offset on value of type bool
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: loading, loading animation, progress bar, pace
wp-pace/pace.php 85% from 13 tests
The primary PHP file in "WP Pace" version 2.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-pace.php" instead of "pace.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 457 characters long)
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
No dangerous file extensions were detected222 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 69 | 75 | 211 |
CSS | 10 | 0 | 0 | 10 |
JavaScript | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin