Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.13MB] [CPU: ▲2.17ms] Passed 4 tests
Server-side resources used by glomex oEmbed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.47 ▲1.00 | 60.44 ▲12.26 |
Dashboard /wp-admin | 4.48 ▲1.17 | 65.29 ▲11.07 |
Posts /wp-admin/edit.php | 4.59 ▲1.23 | 58.72 ▲3.74 |
Add New Post /wp-admin/post-new.php | 7.08 ▲1.19 | 90.67 ▼18.38 |
Media Library /wp-admin/upload.php | 4.40 ▲1.17 | 52.19 ▲17.55 |
Server storage [IO: ▲4.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 715 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 glomex oEmbed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲31 | 14.35 ▼0.21 | 2.14 ▼0.10 | 42.64 ▼3.26 |
Dashboard /wp-admin | 2,220 ▲43 | 5.70 ▼0.06 | 87.29 ▼17.41 | 39.47 ▼3.60 |
Posts /wp-admin/edit.php | 2,088 ▼15 | 2.10 ▲0.16 | 34.98 ▼0.98 | 34.51 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,565 ▲30 | 23.49 ▲5.35 | 660.46 ▼31.80 | 37.74 ▼32.26 |
Media Library /wp-admin/upload.php | 1,435 ▲38 | 4.25 ▲0.12 | 102.16 ▼0.84 | 46.76 ▼2.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/glomex-oembed/vendor-prod/wpdesk/wp-builder/tests/integration/bootstrap.php
- > /wp-content/plugins/glomex-oembed/glomex-oembed.php
- > /wp-content/plugins/glomex-oembed/vendor-prod/wpdesk/wp-notice/tests/integration/bootstrap.php
- > /wp-content/plugins/glomex-oembed/vendor-prod/micropackage/requirements/tests/bootstrap.php
- 217× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/Plugin.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/ShopwareInstaller.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/HuradInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/KnownInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/glomex-oembed/vendor-prod/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/RadPHPInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'glomex_oEmbed\\Engine\\Base' not found in wp-content/plugins/glomex-oembed/backend/ImpExp.php:20
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/glomex-oembed/vendor-prod/cmb2/includes/CMB2_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/ImageCMSInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/glomex-oembed/vendor-prod/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Contributors: Plugin contributors field is missing
glomex-oembed/glomex-oembed.php 85% from 13 tests
Analyzing the main PHP file in "glomex oEmbed" version 0.8.5
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Git Repository: There should be no Git repositories present in your plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected66,486 lines of code in 524 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 121 | 14,324 | 18,513 | 32,369 |
PHP | 303 | 4,623 | 11,261 | 16,232 |
JSON | 17 | 0 | 0 | 8,105 |
CSS | 15 | 257 | 1,191 | 4,607 |
JavaScript | 15 | 369 | 590 | 1,582 |
Markdown | 18 | 467 | 0 | 1,519 |
Sass | 20 | 318 | 35 | 1,469 |
YAML | 6 | 52 | 3 | 300 |
XML | 8 | 25 | 3 | 183 |
Bourne Shell | 1 | 21 | 11 | 120 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 28 | |
Interfaces | 18 | |
Traits | 5 | |
Classes | 259 | |
▷ Abstract classes | 16 | 6.18% |
▷ Concrete classes | 243 | 93.82% |
▷ Final classes | 2 | 0.82% |
Methods | 1,196 | |
▷ Static methods | 136 | 11.37% |
▷ Public methods | 993 | 83.03% |
▷ Protected methods | 148 | 12.37% |
▷ Private methods | 55 | 4.60% |
Functions | 96 | |
▷ Named functions | 64 | 66.67% |
▷ Anonymous functions | 32 | 33.33% |
Constants | 89 | |
▷ Global constants | 24 | 26.97% |
▷ Class constants | 65 | 73.03% |
▷ Public constants | 62 | 95.38% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor-prod/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor-prod/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
vendor-prod/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor-prod/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor-prod/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |