Benchmarks
Plugin footprint 83% 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: ▲0.10MB] [CPU: ▼2.69ms] Passed 4 tests
Analyzing server-side resources used by Embed Bokun
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 45.03 ▲3.41 |
Dashboard /wp-admin | 3.40 ▲0.10 | 50.97 ▼5.90 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 56.35 ▲8.28 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 90.77 ▼10.10 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.40 ▲1.83 |
Bokun settings /wp-admin/options-general.php?page=embed-bokun-settings-page | 3.29 | 35.53 |
Server storage [IO: ▲0.59MB] [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: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Embed Bokun: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.37 ▲0.17 | 1.80 ▲0.02 | 43.72 ▲0.18 |
Dashboard /wp-admin | 2,196 ▲22 | 5.62 ▼0.04 | 90.93 ▼3.72 | 42.44 ▼0.61 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.07 | 38.20 ▼2.95 | 34.54 ▼1.05 |
Add New Post /wp-admin/post-new.php | 6,231 ▲4,686 | 18.86 ▼4.56 | 869.04 ▲182.60 | 51.19 ▲1.40 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▼0.03 | 96.61 ▼12.31 | 43.40 ▼3.19 |
Bokun settings /wp-admin/options-general.php?page=embed-bokun-settings-page | 861 | 2.02 | 22.80 | 28.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/embed-bokun/embed-bokun.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: bokun
embed-bokun/embed-bokun.php Passed 13 tests
The main file in "Embed Bokun" v. 0.22 serves as a complement to information provided in readme.txt and as the entry point to the plugin
27 characters long description:
Bokun plugin for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected8,071 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 7,025 |
PHP | 7 | 137 | 222 | 517 |
JavaScript | 5 | 26 | 34 | 261 |
Sass | 5 | 38 | 2 | 189 |
Markdown | 1 | 32 | 0 | 62 |
SVG | 1 | 1 | 0 | 13 |
CSS | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 9 | 29.03% |
▷ Public methods | 28 | 90.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 9.68% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin