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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.28ms] Passed 4 tests
This is a short check of server-side resources used by Iframely – WP media embeds, cards and blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 46.18 ▼0.17 |
Dashboard /wp-admin | 3.41 ▲0.07 | 52.06 ▼17.12 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 54.02 ▲4.00 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 100.04 ▼4.63 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 40.27 ▲0.80 |
Iframely /wp-admin/options-general.php?page=iframely | 3.33 | 35.90 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 12 new options
New WordPress options |
---|
iframely_previews_enhance |
widget_theysaidso_widget |
iframely_cache_ttl |
iframely_version |
theysaidso_admin_options |
iframely_cache_refresh |
db_upgraded |
iframely_builtins_replace |
can_compress_scripts |
iframely_all_set |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Iframely – WP media embeds, cards and blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲23 | 14.73 ▲0.50 | 1.67 ▼0.34 | 44.38 ▲2.85 |
Dashboard /wp-admin | 2,218 ▲41 | 5.64 ▼0.01 | 91.46 ▼0.18 | 38.39 ▼5.24 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.05 | 38.33 ▲3.00 | 35.08 ▼2.08 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.11 ▲4.98 | 684.51 ▲34.34 | 52.72 ▼3.39 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.16 ▼0.04 | 95.57 ▼11.81 | 43.97 ▼0.38 |
Iframely /wp-admin/options-general.php?page=iframely | 940 | 1.96 | 26.52 | 31.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 12 options in the database
- widget_recent-posts
- iframely_version
- iframely_all_set
- iframely_cache_refresh
- theysaidso_admin_options
- iframely_builtins_replace
- iframely_previews_enhance
- widget_recent-comments
- iframely_cache_ttl
- db_upgraded
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/iframely/views/partials/notice.php
- > /wp-content/plugins/iframely/trunk/views/partials/notice.php
- 24× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: message in wp-content/plugins/iframely/trunk/views/partials/notice.php on line 2
- > PHP Notice
Undefined variable: message in wp-content/plugins/iframely/views/partials/notice.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iframely/trunk/views/settings.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iframely/trunk/views/partials/onboarding.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/iframely/views/tabs/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iframely/views/settings.php:7
- > PHP Notice
Undefined variable: dismissible in wp-content/plugins/iframely/views/partials/notice.php on line 1
- > PHP Notice
Undefined variable: status in wp-content/plugins/iframely/views/partials/notice.php on line 1
- > PHP Notice
Undefined variable: dismissible in wp-content/plugins/iframely/trunk/views/partials/notice.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/iframely/views/partials/onboarding.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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
7 plugin tags: instagram, twitch, tiktok, twitter, gutenberg...
iframely/iframely.php 85% from 13 tests
The main PHP file in "Iframely – WP media embeds, cards and blocks" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires PHP: Required version does not match the one declared in readme.txt ("7.2" instead of "7.4")
- Requires at least: Required version does not match the one declared in readme.txt ("3.8" instead of "5.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,185 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 236 | 60 | 1,183 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 6.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 180 | |
▷ Static methods | 172 | 95.56% |
▷ Public methods | 180 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 16 | |
▷ Global constants | 10 | 62.50% |
▷ Class constants | 6 | 37.50% |
▷ Public constants | 6 | 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 compressed PNG files occupy 0.34MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/onboarding@2x.png | 128.47KB | 138.28KB | 0.00% |
trunk/assets/onboarding.png | 46.18KB | 48.89KB | 0.00% |
trunk/assets/onboarding@2x.png | 128.47KB | 138.28KB | 0.00% |
assets/onboarding.png | 46.18KB | 48.89KB | 0.00% |