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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.57ms] Passed 4 tests
An overview of server-side resources used by jcwp youtube channel embed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.51 ▼4.37 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.74 ▼7.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.17 ▲2.76 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.27 ▲7.24 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.12 ▼1.28 |
JCWP Youtube channel embed /wp-admin/options-general.php?page=jcorgytce-plugin | 3.19 | 29.35 |
Server storage [IO: ▲0.46MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 22 new options
New WordPress options |
---|
theysaidso_admin_options |
jcorgytce_ytkey |
jcorgytce_order_by |
widget_theysaidso_widget |
jcorgytce_filter_by_videos |
jcorgytce_linkback_text |
jcorgytce_mode |
jcorgytce_thumbnail_width |
db_upgraded |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for jcwp youtube channel embed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲179 | 13.81 ▼0.58 | 5.09 ▲3.11 | 40.15 ▼8.57 |
Dashboard /wp-admin | 2,208 ▲20 | 5.19 ▼0.71 | 102.39 ▼12.05 | 39.98 ▼6.32 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.31 ▲0.32 | 36.45 ▼0.01 | 35.89 ▼0.27 |
Add New Post /wp-admin/post-new.php | 6,287 ▲4,765 | 23.57 ▲0.22 | 870.76 ▲181.55 | 34.19 ▼20.50 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.49 ▲0.29 | 99.29 ▼2.32 | 60.64 ▲17.81 |
JCWP Youtube channel embed /wp-admin/options-general.php?page=jcorgytce-plugin | 1,168 | 1.99 | 30.24 | 47.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 22 options
- jcorgytce_linkback_text
- jcorgytce_order_by
- jcorgytce_playlist
- jcorgytce_mode
- widget_recent-posts
- jcorgytce_video_width
- jcorgytce_thumbnail_width
- jcorgytce_thumb_quality
- jcorgytce_use
- jcorgytce_ytkey
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=jcorgytce-plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=jcorgytce-plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/jcwp-youtube-channel-embed/jcwp-youtube-channel-embed.php:24
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== jcwp-youtube-channel-embed ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (A screen shot of the options page), #2 (Shows mode: list), #3 (shows mode:thumbnails)
jcwp-youtube-channel-embed/jcwp-youtube-channel-embed.php Passed 13 tests
The primary PHP file in "jcwp youtube channel embed" version 2.0.0 is used by WordPress to initiate all plugin functionality
61 characters long description:
This plugin embeds a custom channel to wordpress page or post
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
Everything looks great! No dangerous files found in this plugin713 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 16 | 375 |
CSS | 2 | 1 | 1 | 202 |
JavaScript | 2 | 9 | 20 | 136 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
30 PNG files occupy 0.37MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/prettyPhoto/facebook/contentPatternLeft.png | 0.13KB | 0.10KB | ▼ 24.82% |
images/prettyPhoto/light_rounded/sprite.png | 4.00KB | 2.56KB | ▼ 36.16% |
images/prettyPhoto/facebook/btnPrevious.png | 0.81KB | 0.58KB | ▼ 27.90% |
images/prettyPhoto/default/sprite_prev.png | 1.34KB | 0.38KB | ▼ 71.73% |
images/prettyPhoto/light_square/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |