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.11MB] [CPU: ▼14.53ms] Passed 4 tests
An overview of server-side resources used by Profiler - What Slowing Down Your WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.70 ▼5.86 |
Dashboard /wp-admin | 3.43 ▲0.08 | 48.33 ▼22.08 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 49.51 ▼5.50 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 84.96 ▼24.67 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.02 ▼0.84 |
Profiler What Slowing Down /wp-admin/tools.php?page=profiler_what_slowing_down | 3.32 | 39.05 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Profiler - What Slowing Down Your WP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.46 ▼0.90 | 7.76 ▲5.84 | 43.26 ▲1.35 |
Dashboard /wp-admin | 2,200 ▲20 | 5.61 ▲0.01 | 91.89 ▼1.61 | 41.09 ▼3.13 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▲0.02 | 42.08 ▲5.16 | 36.19 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.19 ▲0.06 | 664.15 ▼45.89 | 55.77 ▲4.20 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.20 ▼0.01 | 94.73 ▼8.08 | 46.74 ▲1.98 |
Profiler What Slowing Down /wp-admin/tools.php?page=profiler_what_slowing_down | 934 | 2.01 | 24.61 | 33.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/profiler-what-slowing-down/admin/partials/which-plugin-slowing-down-admin-display.php
- > /wp-content/plugins/profiler-what-slowing-down/public/partials/which-plugin-slowing-down-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/profiler-what-slowing-down/filters.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Example results) image not found
- Plugin Name: Please specify the plugin name on the first line (
=== profiler-what-slowing-down ===
)
profiler-what-slowing-down/profiler-what-slowing-down.php 92% from 13 tests
The primary PHP file in "Profiler - What Slowing Down Your WP" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 166 characters long)
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
Success! There were no dangerous files found in this plugin636 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 230 | 552 | 537 |
CSS | 2 | 21 | 10 | 93 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 20 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/run_test.png | 21.65KB | 12.71KB | ▼ 41.31% |