Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/handy-ultimate-content-embedder/handy-ultimate-content-embedder.php+172
Trying to access array offset on value of type null
Server metrics [RAM: ▼0.00MB] [CPU: ▼262.14ms] Passed 4 tests
A check of server-side resources used by Handy Ultimate Content Embedder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.00 | 33.44 ▼1.48 |
Dashboard /wp-admin | 3.06 ▲0.00 | 40.18 ▼4.86 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 43.23 ▼8.55 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 86.73 ▼1,026.00 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 30.03 ▼9.16 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Handy Ultimate Content Embedder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,648 ▲42 | 15.84 ▲0.20 | 7.91 ▼0.01 | 49.18 ▲2.91 |
Dashboard /wp-admin | 2,949 ▲99 | 6.09 ▲0.23 | 135.46 ▲3.86 | 101.63 ▼0.80 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.68 ▼0.01 | 62.93 ▼4.79 | 90.91 ▲9.36 |
Add New Post /wp-admin/post-new.php | 1,853 ▲2 | 18.89 ▲1.11 | 353.10 ▼11.78 | 109.84 ▲3.96 |
Media Library /wp-admin/upload.php | 1,775 ▼0 | 5.02 ▲0.03 | 151.34 ▼2.91 | 106.88 ▼8.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_register_style() in wp-content/plugins/handy-ultimate-content-embedder/handy-ultimate-content-embedder.php:60
- > PHP Parse error
syntax error, unexpected 'elseif' (T_ELSEIF), expecting function (T_FUNCTION) or const (T_CONST) in wp-content/plugins/handy-ultimate-content-embedder/options.php on line 135
- > PHP Fatal error
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 97% 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 require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== handy-ultimate-content-embedder ===
)
handy-ultimate-content-embedder/handy-ultimate-content-embedder.php Passed 13 tests
The principal PHP file in "Handy Ultimate Content Embedder" v. 1.0 is loaded by WordPress automatically on each request
133 characters long description:
Embeds mobile / desktop only, html page, another WP database, entire post, page or parts of a post or page contents inside your blog
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
No dangerous file extensions were detected799 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 237 | 120 | 758 |
CSS | 1 | 12 | 5 | 41 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin