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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.80ms] Passed 4 tests
An overview of server-side resources used by ConvertBar Auto Embed WordPress plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.60 ▼1.87 |
Dashboard /wp-admin | 3.31 ▲0.01 | 41.65 ▼5.01 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.19 ▼7.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.95 ▼20.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.44 ▼0.26 |
ConvertBar /wp-admin/tools.php?page=convertbar | 3.23 | 30.78 |
Server storage [IO: ▲1.12MB] [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: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ConvertBar Auto Embed WordPress plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲85 | 13.24 ▼1.01 | 2.21 ▲0.43 | 40.34 ▼1.66 |
Dashboard /wp-admin | 2,220 ▲32 | 4.87 ▼0.02 | 99.68 ▼14.76 | 40.91 ▲0.05 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 2.03 ▲0.03 | 35.89 ▼4.56 | 35.37 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,525 ▼8 | 17.86 ▼5.25 | 651.16 ▲6.30 | 53.97 ▲1.13 |
Media Library /wp-admin/upload.php | 1,405 ▲17 | 4.19 ▲0.05 | 102.63 ▼0.45 | 42.70 ▼3.37 |
ConvertBar /wp-admin/tools.php?page=convertbar | 806 | 2.01 | 22.95 | 37.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/convertbar-auto-embed/convert-bar-plugin.php:104
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/convertbar-auto-embed/embed-code.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/convertbar-auto-embed/embed-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== convertbar-auto-embed ===
)
convertbar-auto-embed/convert-bar-plugin.php 92% from 13 tests
The main file in "ConvertBar Auto Embed WordPress plugin" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("convertbar-auto-embed.php" instead of "convert-bar-plugin.php")
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
There were no executable files found in this plugin5,268 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 3 | 27 | 13 | 2,461 |
PHP | 4 | 16 | 14 | 136 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/ConvertBar-logo-wordpress.png | 9.07KB | 5.19KB | ▼ 42.82% |