Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/wordpress-ping-optimizer/cbnet-ping-optimizer.php+113
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.13MB] [CPU: ▼8.94ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Ping Optimizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 37.64 ▼1.90 |
Dashboard /wp-admin | 3.44 ▲0.10 | 45.02 ▼11.67 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.45 ▼3.52 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 83.28 ▼18.66 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.18 ▲3.06 |
WordPress Ping Optimizer /wp-admin/options-general.php?page=wordpress-ping-optimizer/cbnet-ping-optimizer.php | 3.35 | 34.34 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cbnetpo_ping_optimizer |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
cbnetpo_options |
Browser metrics Passed 4 tests
WordPress Ping Optimizer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.22 ▼1.14 | 1.51 ▼0.18 | 37.88 ▼2.10 |
Dashboard /wp-admin | 2,217 ▲29 | 5.77 ▲0.91 | 106.33 ▼3.78 | 41.44 ▲1.85 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.02 | 38.29 ▼1.75 | 33.42 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.43 ▼5.44 | 647.99 ▼1.97 | 54.05 ▼2.35 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.28 ▲0.12 | 96.73 ▼3.22 | 40.21 ▼6.94 |
WordPress Ping Optimizer /wp-admin/options-general.php?page=wordpress-ping-optimizer/cbnet-ping-optimizer.php | 914 | 2.18 | 26.95 | 41.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_cbnetpo_ping_optimizer
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- cbnetpo_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/wordpress-ping-optimizer/include/about.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wordpress-ping-optimizer/include/options-pg.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordpress-ping-optimizer/cbnet-ping-optimizer.php:732
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot-1.png) image required
- Tags: There are too many tags (31 tag instead of maximum 10)
wordpress-ping-optimizer/cbnet-ping-optimizer.php 92% from 13 tests
The entry point to "WordPress Ping Optimizer" version 2.35.1.3.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wordpress-ping-optimizer.php" instead of "cbnet-ping-optimizer.php")
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 detected677 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 55 | 164 | 591 |
JavaScript | 1 | 4 | 0 | 70 |
CSS | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 133.00 |
▷ Minimum class complexity | 133.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 7.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 7.73KB | 5.62KB | ▼ 27.30% |