Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.47MB] [CPU: ▲10.31ms] Passed 4 tests
An overview of server-side resources used by Advanced Responsive Video Embedder (Rumble, YouTube, Vimeo, HTML5 Video ...)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.86 ▲1.40 | 48.23 ▲9.93 |
Dashboard /wp-admin | 4.87 ▲1.52 | 64.56 ▲2.27 |
Posts /wp-admin/edit.php | 4.95 ▲1.60 | 67.55 ▲21.80 |
Add New Post /wp-admin/post-new.php | 7.31 ▲1.42 | 106.11 ▲11.46 |
Media Library /wp-admin/upload.php | 4.78 ▲1.55 | 56.22 ▲17.59 |
NextGenThemes Settings /wp-admin/options-general.php?page=nextgenthemes | 4.77 | 46.54 |
ARVE /wp-admin/options-general.php?page=nextgenthemes_arve | 4.79 | 48.64 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 128 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
nextgenthemes_arve_options_ver |
arve_install_date |
can_compress_scripts |
widget_recent-posts |
arve_version |
nextgenthemes_arve |
theysaidso_admin_options |
nextgenthemes_options_ver |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Advanced Responsive Video Embedder (Rumble, YouTube, Vimeo, HTML5 Video ...)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,974 ▲1,203 | 15.11 ▲0.72 | 1.74 ▼0.12 | 38.63 ▼4.68 |
Dashboard /wp-admin | 3,376 ▲1,199 | 6.43 ▲0.87 | 124.26 ▲34.89 | 40.76 ▼0.87 |
Posts /wp-admin/edit.php | 3,337 ▲1,240 | 3.66 ▲1.68 | 55.32 ▲19.58 | 34.16 ▼4.85 |
Add New Post /wp-admin/post-new.php | 7,301 ▲5,773 | 19.35 ▼3.67 | 865.22 ▲180.30 | 36.21 ▼14.61 |
Media Library /wp-admin/upload.php | 2,513 ▲1,113 | 4.50 ▲0.32 | 94.79 ▼7.37 | 42.03 ▼0.29 |
NextGenThemes Settings /wp-admin/options-general.php?page=nextgenthemes | 2,433 | 3.86 | 63.03 | 74.98 |
ARVE /wp-admin/options-general.php?page=nextgenthemes_arve | 5,635 | 5.46 | 96.98 | 88.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 11 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- arve_version
- nextgenthemes_arve
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- nextgenthemes_options_ver
- nextgenthemes_arve_options_ver
- arve_install_date
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-sc-video-files.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-sc-errors.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-sc-maxwidth.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-frontend.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function Nextgenthemes\\ARVE\\Common\\Admin\\esc_html() in wp-content/plugins/advanced-responsive-video-embedder/php/Common/Admin/partials/debug-info.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-url-params.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-sc-legacy.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-responsive-video-embedder/php/Common/functions-async-defer.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-options.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/advanced-responsive-video-embedder/tests/tests-settings.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in advanced-responsive-video-embedder/assets to your readme.txt
advanced-responsive-video-embedder/advanced-responsive-video-embedder.php 85% from 13 tests
The primary PHP file in "Advanced Responsive Video Embedder (Rumble, YouTube, Vimeo, HTML5 Video ...)" version 9.10.12 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Git Repository: Please do not include Git repositories 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 detected11,225 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 1,516 | 773 | 6,961 |
SVG | 2 | 1 | 2 | 1,734 |
Markdown | 13 | 587 | 0 | 1,027 |
TypeScript | 6 | 138 | 116 | 822 |
Sass | 4 | 60 | 2 | 282 |
JSON | 4 | 0 | 0 | 187 |
YAML | 3 | 23 | 1 | 145 |
HTML | 5 | 9 | 0 | 49 |
Bourne Again Shell | 1 | 3 | 0 | 7 |
JavaScript | 6 | 0 | 0 | 6 |
CSS | 4 | 0 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 2.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 1 | 4.35% |
Methods | 124 | |
▷ Static methods | 1 | 0.81% |
▷ Public methods | 101 | 81.45% |
▷ Protected methods | 1 | 0.81% |
▷ Private methods | 22 | 17.74% |
Functions | 193 | |
▷ Named functions | 186 | 96.37% |
▷ Anonymous functions | 7 | 3.63% |
Constants | 13 | |
▷ Global constants | 1 | 7.69% |
▷ Class constants | 12 | 92.31% |
▷ Public constants | 12 | 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
8 PNG files occupy 0.43MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/screenshot-1.png | 126.49KB | 57.79KB | ▼ 54.31% |
.wordpress-org/screenshot-4.png | 92.65KB | 41.10KB | ▼ 55.64% |
.wordpress-org/screenshot-3.png | 77.75KB | 35.29KB | ▼ 54.61% |
.wordpress-org/icon-128x128.png | 3.00KB | 2.00KB | ▼ 33.26% |
src/img/icon-128x128.png | 3.00KB | 2.00KB | ▼ 33.26% |