Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+116
Accessing static property PbxBlowball\PbxBlowball::$pluginPath as non static
Server metrics [RAM: ▼1.86MB] [CPU: ▼53.10ms] Passed 4 tests
An overview of server-side resources used by Blowball Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 4.66 ▼38.79 |
Dashboard /wp-admin | 2.16 ▼1.19 | 5.93 ▼54.51 |
Posts /wp-admin/edit.php | 2.16 ▼1.20 | 6.56 ▼39.56 |
Add New Post /wp-admin/post-new.php | 2.16 ▼3.73 | 7.52 ▼79.55 |
Media Library /wp-admin/upload.php | 2.16 ▼1.07 | 5.79 ▼30.12 |
Probelix Blowball /wp-admin/options-general.php?page=pbx-bb-settings | 2.16 | 6.16 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 160 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
pbx_blowball |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Blowball Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲51 | 14.37 ▼0.04 | 1.62 ▼0.16 | 41.05 ▼4.07 |
Dashboard /wp-admin | 2,204 ▲26 | 5.65 ▼0.05 | 90.74 ▼25.24 | 40.49 ▼4.56 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.94 ▲0.00 | 40.08 ▲0.20 | 35.72 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.63 ▲0.56 | 678.09 ▲4.52 | 55.17 ▲2.58 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.15 ▼0.05 | 100.45 ▲4.69 | 44.49 ▲1.04 |
Probelix Blowball /wp-admin/options-general.php?page=pbx-bb-settings | 910 | 2.13 | 25.37 | 44.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+116
Accessing static property PbxBlowball\PbxBlowball::$pluginPath as non static
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- pbx_blowball
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=pbx-bb-settings
- > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+116
Accessing static property PbxBlowball\PbxBlowball::$pluginPath as non static
- > GET request to /wp-admin/options-general.php?page=pbx-bb-settings
- > Notice in wp-content/plugins/probelix-blowball/src/PbxBlowball.php+117
Accessing static property PbxBlowball\PbxBlowball::$pluginUrl as non static
SRP 50% 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
The following issues need your attention
- 98× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/SamplingHandler.php:33
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/MongoDBHandler.php:34
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/MailHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/ErrorLogHandler.php:24
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/LogEntriesHandler.php:19
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/PushoverHandler.php:28
- > PHP Fatal error
Uncaught Error: Interface 'PbxVendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Processor/HostnameProcessor.php:17
- > PHP Fatal error
Uncaught Error: Interface 'PbxVendor\\Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Processor/MemoryProcessor.php:19
- > PHP Fatal error
Uncaught Error: Class 'PbxVendor\\Monolog\\Handler\\AbstractHandler' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/PsrHandler.php:27
- > PHP Fatal error
Uncaught Error: Interface 'PbxVendor\\Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' not found in wp-content/plugins/probelix-blowball/vendor_prefixed/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=pbx-bb-settings
- > Network (severe)
wp-content/plugins/probelix-blowball/assets/images/code.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% 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
3 plugin tags: cf7, contact form 7 integration, crm
probelix-blowball/pbx-blowball.php 77% from 13 tests
The entry point to "Blowball Integration" version 1.3.8 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "3.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("probelix-blowball.php" instead of "pbx-blowball.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin11,108 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 148 | 2,473 | 6,026 | 10,227 |
CSS | 2 | 75 | 0 | 576 |
PO File | 1 | 56 | 63 | 154 |
JSON | 1 | 0 | 0 | 148 |
JavaScript | 1 | 1 | 1 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 10 | |
Traits | 5 | |
Classes | 128 | |
▷ Abstract classes | 8 | 6.25% |
▷ Concrete classes | 120 | 93.75% |
▷ Final classes | 5 | 4.17% |
Methods | 844 | |
▷ Static methods | 57 | 6.75% |
▷ Public methods | 610 | 72.27% |
▷ Protected methods | 156 | 18.48% |
▷ Private methods | 78 | 9.24% |
Functions | 23 | |
▷ Named functions | 2 | 8.70% |
▷ Anonymous functions | 21 | 91.30% |
Constants | 64 | |
▷ Global constants | 2 | 3.12% |
▷ Class constants | 62 | 96.88% |
▷ Public constants | 40 | 64.52% |
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
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 |
assets/images/blowball-logo.png | 24.12KB | 9.56KB | ▼ 60.35% |