Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.89ms] Passed 4 tests
This is a short check of server-side resources used by Triggerbee
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.29 ▼3.08 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.56 ▼5.34 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.02 ▲2.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.66 ▼2.50 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.59 ▼0.64 |
Triggerbee /wp-admin/options-general.php?page=triggerbee_options_page | 3.24 | 28.50 |
Server storage [IO: ▲0.14MB] [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: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Triggerbee
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.22 ▼1.16 | 6.67 ▲4.80 | 43.14 ▼7.62 |
Dashboard /wp-admin | 2,207 ▲22 | 4.86 ▼1.02 | 101.33 ▼13.01 | 39.50 ▼8.63 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▼0.04 | 39.78 ▲1.83 | 36.04 ▲7.18 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.51 ▼5.52 | 652.12 ▲7.54 | 45.24 ▼17.21 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.07 | 95.01 ▼7.69 | 40.84 ▼3.35 |
Triggerbee /wp-admin/options-general.php?page=triggerbee_options_page | 868 | 2.15 | 27.16 | 59.16 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/triggerbee/options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/triggerbee/options.php:3
- > 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 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in triggerbee/assets to your readme.txt
triggerbee/triggerbee.php 92% from 13 tests
The principal PHP file in "Triggerbee" v. 2.0 */... is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "2.0 */...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin633 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 67 | 4 | 303 |
PHP | 2 | 65 | 8 | 240 |
JavaScript | 2 | 35 | 2 | 90 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/triggerbee-logo-black-280px.png | 56.09KB | 10.50KB | ▼ 81.29% |
images/bullet-white-triggerbee.png | 41.65KB | 20.17KB | ▼ 51.57% |