Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼139.74ms] Passed 4 tests
Analyzing server-side resources used by Easy Video Gallery Responsive HTML5
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 43.53 ▲19.50 |
Dashboard /wp-admin | 3.14 ▲0.08 | 43.89 ▲1.04 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 45.34 ▲8.55 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 90.31 ▼573.60 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 37.18 ▲5.05 |
Galleries /wp-admin/edit-tags.php?taxonomy=egallery&post_type=evideo | 3.08 | 36.30 |
Add New /wp-admin/post-new.php?post_type=evideo | 3.19 | 50.01 |
All Videos /wp-admin/edit.php?post_type=evideo | 3.12 | 40.72 |
Server storage [IO: ▲2.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Easy Video Gallery Responsive HTML5
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲260 | 16.59 ▲0.96 | 16.05 ▲8.04 | 47.33 ▲5.25 |
Dashboard /wp-admin | 3,019 ▲85 | 5.92 ▼0.05 | 134.97 ▼8.94 | 112.98 ▲1.46 |
Posts /wp-admin/edit.php | 2,785 ▲46 | 2.70 ▲0.01 | 67.67 ▲1.98 | 94.24 ▲10.30 |
Add New Post /wp-admin/post-new.php | 1,719 ▲115 | 18.81 ▲0.01 | 346.67 ▼16.16 | 106.96 ▼0.28 |
Media Library /wp-admin/upload.php | 1,853 ▲43 | 5.02 ▼0.02 | 146.76 ▲6.28 | 116.98 ▼7.90 |
Galleries /wp-admin/edit-tags.php?taxonomy=egallery&post_type=evideo | 1,757 | 2.49 | 61.02 | 78.25 |
Add New /wp-admin/post-new.php?post_type=evideo | 3,063 | 9.19 | 215.40 | 148.29 |
All Videos /wp-admin/edit.php?post_type=evideo | 1,454 | 2.63 | 63.31 | 74.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
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 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-video-gallery-responsive-html5/shortcode.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-video-gallery-responsive-html5/easy-video.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-video-gallery-responsive-html5/ajax.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-video-gallery-responsive-html5/admin.php:20
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (`/assets/screenshot-1.png`), #2 (`/assets/screenshot-2.png`), #3 (`/assets/screenshot-3.png`)
easy-video-gallery-responsive-html5/easy-video.php 85% from 13 tests
The primary PHP file in "Easy Video Gallery Responsive HTML5" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 448 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("easy-video-gallery-responsive-html5.php" instead of "easy-video.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected479 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 53 | 64 | 266 |
CSS | 1 | 7 | 0 | 107 |
JavaScript | 2 | 10 | 0 | 106 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 16 | |
▷ Named functions | 16 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 2.24MB with 1.38MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 2,179.96KB | 396.49KB | ▼ 81.81% |
screenshot-2.png | 60.83KB | 29.64KB | ▼ 51.28% |
screenshot-1.png | 51.73KB | 25.18KB | ▼ 51.33% |