Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Error in wp-content/plugins/pace-pro-epic-loading-progress-bar/class/pacePro.core.php+68
Uncaught Error: Using $this when not in object context in wp-content/plugins/pace-pro-epic-loading-progress-bar/class/pacePro.core.php:68
Stack trace:
#0 wp-content/plugins/pace-pro-epic-loading-progress-bar/class/pacePro.backbone.php(21): paceProCore::loadOptions()
#1 wp-content/plugins/pace-pro-epic-loading-progress-bar/pace_main.php(31): pacePro->__construct()
#2 wp-admin/includes/plugin.php(2318): include_once('/var/www/wordpr...')
#3 wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.98ms] Passed 4 tests
A check of server-side resources used by PACE Pro (EPIC Page Loading Progress Bar)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.21 ▼4.19 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.58 ▼14.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.08 ▼2.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.47 ▼22.70 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.14 ▲7.05 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PACE Pro (EPIC Page Loading Progress Bar)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.34 ▼0.01 | 1.95 ▲0.17 | 40.12 ▼2.07 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.02 | 90.15 ▲1.63 | 41.94 ▼2.40 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 38.74 ▲1.04 | 35.68 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.10 ▼0.04 | 648.88 ▼22.06 | 46.45 ▼12.72 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▲0.01 | 99.20 ▲1.57 | 41.92 ▼3.77 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pace-pro-epic-loading-progress-bar/pace_main.php:29
- > PHP Fatal error
Uncaught Error: Class 'paceProCore' not found in wp-content/plugins/pace-pro-epic-loading-progress-bar/class/misc/pacePro.admin.layout.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
8 plugin tags: customization, progress, top, page, bar...
pace-pro-epic-loading-progress-bar/pace_main.php 92% from 13 tests
The entry point to "PACE Pro (EPIC Page Loading Progress Bar)" version 1.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("pace-pro-epic-loading-progress-bar.php" instead of "pace_main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,466 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 86 | 0 | 1,191 |
PHP | 5 | 97 | 138 | 243 |
JavaScript | 3 | 2 | 1 | 32 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 4.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 15 | |
▷ Static methods | 8 | 53.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
22 PNG files occupy 0.03MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
class/misc/images/custom_rgb_r.png | 0.99KB | 0.74KB | ▼ 25.34% |
class/misc/images/colorpicker_rgb_b.png | 0.95KB | 0.76KB | ▼ 19.48% |
class/misc/images/custom_background.png | 1.87KB | 2.12KB | 0.00% |
class/misc/images/colorpicker_overlay.png | 10.11KB | 8.24KB | ▼ 18.50% |
class/misc/images/colorpicker_rgb_g.png | 1.04KB | 0.83KB | ▼ 20.21% |