Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼1.53MB] [CPU: ▼51.80ms] Passed 4 tests
This is a short check of server-side resources used by Pigeon Pack
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.46 ▼1.00 | 5.24 ▼34.67 |
Dashboard /wp-admin | 2.48 ▼0.83 | 6.54 ▼42.79 |
Posts /wp-admin/edit.php | 2.48 ▼0.88 | 8.11 ▼40.47 |
Add New Post /wp-admin/post-new.php | 2.48 ▼3.41 | 7.32 ▼89.26 |
Media Library /wp-admin/upload.php | 2.48 ▼0.75 | 6.17 ▼31.54 |
Server storage [IO: ▲0.43MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 60 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_pigeonpack_subscribers |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_pigeonpack |
pigeonpack |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Pigeon Pack
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲161 | 13.49 ▼0.63 | 9.06 ▲7.16 | 38.82 ▼5.18 |
Dashboard /wp-admin | 2,233 ▲53 | 5.56 ▼0.12 | 88.67 ▼7.07 | 69.64 ▲26.66 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.01 ▲0.05 | 36.59 ▼2.85 | 33.18 ▼6.57 |
Add New Post /wp-admin/post-new.php | 1,577 ▲44 | 22.97 ▲0.20 | 772.43 ▲107.94 | 53.93 ▼9.19 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.22 ▼0.01 | 104.48 ▼8.15 | 67.62 ▲23.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/pigeon-pack/class.php+16
Methods with the same name as their class will not be constructors in a future version of PHP; PigeonPack has a deprecated constructor
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_pigeonpack_subscribers
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- widget_pigeonpack
- can_compress_scripts
- pigeonpack
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pigeon-pack/pigeonpack.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pigeon-pack/functions.php:122
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pigeon-pack/list-post-type.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pigeon-pack/campaign-post-type.php:62
- > PHP Fatal error
Uncaught Error: Call to undefined function get_home_url() in wp-content/plugins/pigeon-pack/processing.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pigeon-pack/widgets.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: widget, email, email widget, campaign, email newsletter...
pigeon-pack/pigeonpack.php 85% from 13 tests
The main PHP script in "Pigeon Pack" version 1.3.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("pigeon-pack.php" instead of "pigeonpack.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Everything looks great! No dangerous files found in this plugin5,007 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 1,731 | 1,206 | 3,201 |
CSS | 6 | 65 | 43 | 837 |
PO File | 1 | 270 | 284 | 697 |
JavaScript | 8 | 164 | 0 | 272 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
32 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/blasts-16x16.png | 0.36KB | 0.34KB | ▼ 3.83% |
images/delete-16x16.png | 0.46KB | 0.39KB | ▼ 17.02% |
images/add-32x32.png | 0.90KB | 0.83KB | ▼ 8.10% |
css/smoothness/images/ui-bg_glass_75_dadada_1x400.png | 0.37KB | 0.18KB | ▼ 49.60% |
css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.27KB | 0.11KB | ▼ 56.99% |