Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲5.06MB] [CPU: ▲26.83ms] 75% from 4 tests
This is a short check of server-side resources used by UltraEmbed - Advanced Iframe Plugin For WordPress with Gutenberg Block Included
Please have a look at the following items
- Extra RAM: The extra memory usage must be under 5MB (currently 5.06MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.95 ▲5.48 | 69.36 ▲28.86 |
Dashboard /wp-admin | 8.97 ▲5.66 | 76.71 ▲26.89 |
Posts /wp-admin/edit.php | 8.97 ▲5.61 | 85.16 ▲35.78 |
Add New Post /wp-admin/post-new.php | 9.38 ▲3.49 | 113.15 ▲17.09 |
Media Library /wp-admin/upload.php | 8.97 ▲5.73 | 72.78 ▲34.47 |
Freemius Debug [v.2.5.11] /wp-admin/admin.php?page=freemius | 8.97 | 65.35 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 214 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
fs_active_plugins |
widget_recent-comments |
fs_accounts |
fs_debug_mode |
db_upgraded |
can_compress_scripts |
ultra_embed_installed_time |
... |
Browser metrics Passed 4 tests
UltraEmbed - Advanced Iframe Plugin For WordPress with Gutenberg Block Included: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲171 | 13.32 ▼1.27 | 8.14 ▲6.55 | 35.19 ▼7.69 |
Dashboard /wp-admin | 2,229 ▲52 | 5.61 ▼0.11 | 91.80 ▼3.00 | 40.02 ▼1.96 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 1.99 ▼0.03 | 38.50 ▲1.15 | 34.46 ▼1.06 |
Add New Post /wp-admin/post-new.php | 1,715 ▲189 | 22.17 ▲4.55 | 627.83 ▼41.14 | 30.82 ▼26.09 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.24 ▼0.02 | 101.81 ▼1.70 | 47.39 ▲0.98 |
Freemius Debug [v.2.5.11] /wp-admin/admin.php?page=freemius | 1,099 | 1.69 | 26.14 | 28.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/ultraembed-advanced-iframe/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 11 options
- fs_active_plugins
- theysaidso_admin_options
- ultra_embed_installed_time
- widget_recent-comments
- ultra_embed_version
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- fs_accounts
- fs_debug_mode
- ...
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)
Everything seems fine, however 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ultraembed-advanced-iframe/ultraEmbed.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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
6 plugin tags: iframe for all user, iframe block, iframe for logged user, embed iframe by shortcode, iframe...
ultraembed-advanced-iframe/ultraEmbed.php 92% from 13 tests
The main file in "UltraEmbed - Advanced Iframe Plugin For WordPress with Gutenberg Block Included" v. 1.0.3 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: Name the main plugin file the same as the plugin slug ("ultraembed-advanced-iframe.php" instead of "ultraEmbed.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin34,488 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 138 | 8,197 | 17,890 | 33,992 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 5 | 34 | 60 | 197 |
CSS | 16 | 5 | 0 | 44 |
JSON | 2 | 0 | 0 | 25 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,087)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 78.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,087.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 1 | 1.75% |
Methods | 1,329 | |
▷ Static methods | 225 | 16.93% |
▷ Public methods | 937 | 70.50% |
▷ Protected methods | 17 | 1.28% |
▷ Private methods | 375 | 28.22% |
Functions | 103 | |
▷ Named functions | 102 | 99.03% |
▷ Anonymous functions | 1 | 0.97% |
Constants | 151 | |
▷ Global constants | 104 | 68.87% |
▷ Class constants | 47 | 31.13% |
▷ Public constants | 47 | 100.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
4 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/block.png | 12.99KB | 3.85KB | ▼ 70.34% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/ultraembed-advanced-iframe.png | 6.77KB | 2.20KB | ▼ 67.51% |