Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲2.00MB] [CPU: ▲15.61ms] Passed 4 tests
A check of server-side resources used by EmbedPress - Embed PDF, YouTube, Google Docs, Vimeo, Wistia Videos, Audios, Maps & Any Documents in Gutenberg & Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.24 ▲1.77 | 51.35 ▲10.86 |
Dashboard /wp-admin | 5.36 ▲2.05 | 64.40 ▲11.52 |
Posts /wp-admin/edit.php | 5.48 ▲2.12 | 66.71 ▲20.33 |
Add New Post /wp-admin/post-new.php | 8.15 ▲2.26 | 115.65 ▲22.17 |
Media Library /wp-admin/upload.php | 5.29 ▲2.05 | 54.38 ▲19.73 |
Server storage [IO: ▲9.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 770 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
embedpress:elements |
embedpress_v_320_migration |
db_upgraded |
embedpress_activation_redirect_done |
can_compress_scripts |
embedpress_elements_updated |
widget_recent-comments |
embedpress |
... |
Browser metrics Passed 4 tests
Checking browser requirements for EmbedPress - Embed PDF, YouTube, Google Docs, Vimeo, Wistia Videos, Audios, Maps & Any Documents in Gutenberg & Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,032 ▲270 | 14.00 ▼0.40 | 11.94 ▲10.06 | 40.19 ▲2.75 |
Dashboard /wp-admin | 2,294 ▲117 | 5.71 ▲0.06 | 95.18 ▼5.08 | 78.37 ▲32.90 |
Posts /wp-admin/edit.php | 2,204 ▲107 | 2.19 ▲0.12 | 38.93 ▲2.27 | 41.90 ▲9.88 |
Add New Post /wp-admin/post-new.php | 6,385 ▲4,859 | 21.45 ▼1.64 | 871.67 ▲251.29 | 167.06 ▲106.78 |
Media Library /wp-admin/upload.php | 1,501 ▲98 | 4.22 ▲0.00 | 102.46 ▲3.86 | 80.96 ▲39.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 12 options in the database
- embedpress_v_320_migration
- can_compress_scripts
- embedpress_activation_redirect_done
- widget_recent-posts
- widget_recent-comments
- embedpress
- embedpress_elements_updated
- widget_theysaidso_widget
- embedpress_v_330_migration
- db_upgraded
- ...
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 37× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/embedpress/EmbedPress/Elementor/Embedpress_Elementor_Integration.php
- > /wp-content/plugins/embedpress/EmbedPress/Ends/Handler.php
- > /wp-content/plugins/embedpress/EmbedPress/Providers/GitHub.php
- > /wp-content/plugins/embedpress/EmbedPress/Providers/Calendly.php
- > /wp-content/plugins/embedpress/EmbedPress/AMP/Adapter/Twitter.php
- > /wp-content/plugins/embedpress/EmbedPress/Loader.php
- > /wp-content/plugins/embedpress/autoloader.php
- > /wp-content/plugins/embedpress/EmbedPress/Providers/Giphy.php
- > /wp-content/plugins/embedpress/EmbedPress/Compatibility.php
- > /wp-content/plugins/embedpress/EmbedPress/Providers/GoogleDrive.php
- 245× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/Youtube.php:22
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/Uppy.php:21
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/Facebook.php:21
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/SmashNotes.php:21
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/Podbean.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/embedpress/EmbedPress/Ends/Back/Settings/templates/google-calendar.php:7
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/Spreaker.php:21
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Cache\\CacheAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Cache/Filesystem.php:21
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/MedienArchivKuenste.php:21
- > PHP Fatal error
Uncaught Error: Class 'Embera\\Provider\\ProviderAdapter' not found in wp-content/plugins/embedpress/vendor/wpdevelopers/embera/src/Embera/Provider/Spotful.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (25 tag instead of maximum 10)
embedpress/embedpress.php 92% from 13 tests
The entry point to "EmbedPress - Embed PDF, YouTube, Google Docs, Vimeo, Wistia Videos, Audios, Maps & Any Documents in Gutenberg & Elementor" version 3.9.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 224 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin144,235 lines of code in 467 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 29 | 1,609 | 856 | 96,831 |
PHP | 311 | 6,269 | 9,069 | 28,777 |
CSS | 23 | 2,074 | 239 | 10,810 |
SVG | 98 | 2 | 13 | 7,238 |
HTML | 3 | 49 | 19 | 389 |
JSON | 1 | 0 | 0 | 106 |
Markdown | 1 | 17 | 0 | 67 |
XML | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 11.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 333.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 4 | |
Traits | 3 | |
Classes | 268 | |
▷ Abstract classes | 7 | 2.61% |
▷ Concrete classes | 261 | 97.39% |
▷ Final classes | 1 | 0.38% |
Methods | 1,313 | |
▷ Static methods | 182 | 13.86% |
▷ Public methods | 1,200 | 91.39% |
▷ Protected methods | 82 | 6.25% |
▷ Private methods | 31 | 2.36% |
Functions | 53 | |
▷ Named functions | 29 | 54.72% |
▷ Anonymous functions | 24 | 45.28% |
Constants | 88 | |
▷ Global constants | 72 | 81.82% |
▷ Class constants | 16 | 18.18% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
155 compressed PNG files occupy 0.30MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
EmbedPress/Ends/Back/Settings/assets/img/sources/icons/docdroid.png | 0.79KB | 0.87KB | 0.00% |
EmbedPress/Ends/Back/Settings/assets/img/sources/icons/roosterteeth.png | 0.83KB | 0.81KB | ▼ 2.35% |
EmbedPress/Ends/Back/Settings/assets/img/sources/icons/getshow.png | 0.60KB | 0.60KB | 0.00% |
EmbedPress/Ends/Back/Settings/assets/img/sources/icons/medienarchiv.png | 0.44KB | 0.52KB | 0.00% |
EmbedPress/Ends/Back/Settings/assets/img/sources/icons/toornament.png | 1.06KB | 1.12KB | 0.00% |