Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.28MB] [CPU: ▼2.90ms] Passed 4 tests
This is a short check of server-side resources used by Playbuzz
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 42.52 ▲0.27 |
Dashboard /wp-admin | 3.58 ▲0.28 | 48.31 ▼1.59 |
Posts /wp-admin/edit.php | 3.70 ▲0.35 | 53.55 ▼1.42 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 98.32 ▼8.86 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 39.92 ▲2.71 |
Playbuzz /wp-admin/options-general.php?page=playbuzz | 3.48 | 36.63 |
New Playbuzz /wp-admin/post-new.php?pb-story=true | 6.19 | 95.67 |
Server storage [IO: ▲2.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
playbuzz |
Browser metrics Passed 4 tests
A check of browser resources used by Playbuzz
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.74 ▲0.39 | 1.95 ▼0.05 | 41.97 ▼1.24 |
Dashboard /wp-admin | 2,231 ▲63 | 5.66 ▲0.13 | 92.50 ▼0.24 | 40.60 ▼5.80 |
Posts /wp-admin/edit.php | 2,149 ▲46 | 2.10 ▲0.10 | 40.02 ▼0.34 | 33.80 ▼7.28 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.37 ▲0.23 | 679.82 ▲47.41 | 36.53 ▼26.09 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.36 ▲0.08 | 97.16 ▼12.16 | 43.05 ▼4.35 |
Playbuzz /wp-admin/options-general.php?page=playbuzz | 1,198 | 1.77 | 29.40 | 34.33 |
New Playbuzz /wp-admin/post-new.php?pb-story=true | 1,673 | 17.82 | 912.42 | 33.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?pb-story=true
- > Javascript (severe) in unknown
/wp-content/plugins/playbuzz/js/story-creator/pb-story-creator-controller.js?ver=1.0.0 77:21 Uncaught TypeError: Cannot read properties of undefined (reading 'local')
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: interactive content, creative writing, blog, interactive poll, interactive article
playbuzz/playbuzz.php Passed 13 tests
"Playbuzz" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
75 characters long description:
Embed customized playful content from Playbuzz.com into your WordPress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,951 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 180 | 60 | 1,280 |
JavaScript | 20 | 529 | 289 | 1,200 |
PHP | 14 | 579 | 396 | 998 |
PO File | 1 | 183 | 187 | 473 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 17.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 99.00 |
Average method complexity | 4.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
15 PNG files occupy 0.11MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/tinymce_playbuzz_blue.png | 15.57KB | 0.66KB | ▼ 95.79% |
img/action_edit_grey.png | 0.81KB | 0.65KB | ▼ 19.44% |
img/favicon_blue_dark.png | 24.45KB | 10.51KB | ▼ 57.03% |
img/search-icon.png | 1.64KB | 0.93KB | ▼ 43.23% |
img/action_edit_blue.png | 0.70KB | 0.65KB | ▼ 6.46% |