Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.78MB] [CPU: ▼4.16ms] Passed 4 tests
A check of server-side resources used by Vimeography: Vimeo Video Gallery WordPress Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.03 ▲0.56 | 45.89 ▼21.22 |
Dashboard /wp-admin | 4.14 ▲0.84 | 58.59 ▼3.86 |
Posts /wp-admin/edit.php | 4.25 ▲0.90 | 58.91 ▲5.07 |
Add New Post /wp-admin/post-new.php | 7.03 ▲1.15 | 108.54 ▲3.37 |
Media Library /wp-admin/upload.php | 4.06 ▲0.83 | 51.42 ▲15.31 |
Edit Galleries /wp-admin/admin.php?page=vimeography-edit-galleries | 4.24 | 41.93 |
New Gallery /wp-admin/admin.php?page=vimeography-new-gallery | 4.49 | 44.35 |
Welcome to Vimeography /wp-admin/options.php?page=vimeography-welcome | 4.01 | 35.26 |
Help /wp-admin/admin.php?page=vimeography-help | 4.83 | 432.99 |
Vimeography Pro /wp-admin/admin.php?page=vimeography-pro | 4.58 | 46.16 |
Manage Licenses /wp-admin/admin.php?page=vimeography-manage-activations | 4.35 | 51.77 |
Server storage [IO: ▲7.75MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- The plugin illegally modified 2 files (66.19KB) outside of "wp-content/plugins/vimeography/" and "wp-content/uploads/"
- (new file) wp-content/vimeography/cache/vimeography-gallery-56028dd5.cache
- (new file) wp-content/vimeography/cache/vimeography-gallery-26392b13.cache
Filesystem: 459 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_vimeography_gallery |
wp_vimeography_gallery_meta |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
vimeography_default_settings |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Vimeography: Vimeo Video Gallery WordPress Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲126 | 13.41 ▼0.85 | 2.13 ▼0.29 | 43.28 ▼14.73 |
Dashboard /wp-admin | 2,281 ▲96 | 5.91 ▲1.04 | 99.21 ▼20.50 | 40.72 ▼11.91 |
Posts /wp-admin/edit.php | 2,162 ▲70 | 2.02 ▼0.00 | 38.49 ▼1.68 | 39.46 ▲2.57 |
Add New Post /wp-admin/post-new.php | 6,442 ▲4,917 | 27.95 ▲4.66 | 868.50 ▲198.70 | 56.45 ▲0.31 |
Media Library /wp-admin/upload.php | 1,467 ▲79 | 4.19 ▼0.02 | 98.25 ▼6.59 | 44.53 ▼2.38 |
Edit Galleries /wp-admin/admin.php?page=vimeography-edit-galleries | 966 | 3.39 | 46.80 | 30.11 |
New Gallery /wp-admin/admin.php?page=vimeography-new-gallery | 1,175 | 2.23 | 42.13 | 38.08 |
Welcome to Vimeography /wp-admin/options.php?page=vimeography-welcome | 1,690 | 10.97 | 187.91 | 93.98 |
Help /wp-admin/admin.php?page=vimeography-help | 1,783 | 10.68 | 167.93 | 49.66 |
Vimeography Pro /wp-admin/admin.php?page=vimeography-pro | 1,123 | 2.91 | 26.42 | 31.52 |
Manage Licenses /wp-admin/admin.php?page=vimeography-manage-activations | 929 | 1.89 | 25.56 | 32.36 |
Uninstaller [IO: ▲0.06MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie tables detected upon uninstall: 2 tables
- wp_vimeography_gallery_meta
- wp_vimeography_gallery
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- vimeography_default_settings
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options.php?page=vimeography-welcome
- > Notice in wp-content/plugins/vimeography/lib/admin/menu.php+216
Undefined index: step
SRP 0% 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
Almost there! Just fix the following items
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/upload.php
- > /wp-content/plugins/vimeography/vendor/mustache/mustache/bin/build_bootstrap.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/vod.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/init.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/search.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/upload_texttrack.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/index.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/auth.php
- > /wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/upload_image.php
- 94× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
file_get_contents(wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/config.json): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/init.php on line 35
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/vimeography/vendor/mustache/mustache/src/Mustache/Loader/ArrayLoader.php:27
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vimeography/vendor/mustache/mustache/test/Mustache/Test/Functional/MustacheInjectionTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vimeography/vendor/mustache/mustache/test/Mustache/Test/Logger/AbstractLoggerTest.php:15
- > PHP Warning
require(wp-content/plugins/vimeography/vendor/mustache/mustache/test/../vendor/yaml/lib/sfYamlParser.php): failed to open stream: No such file or directory in wp-content/plugins/vimeography/vendor/mustache/mustache/test/bootstrap.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vimeography/vendor/mustache/mustache/test/Mustache/Test/Exception/UnknownHelperExceptionTest.php:12
- > PHP Fatal error
Uncaught Error: Class 'Mustache_Test_FunctionalTestCase' not found in wp-content/plugins/vimeography/vendor/mustache/mustache/test/Mustache/Test/Functional/HigherOrderSectionsTest.php:16
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/vimeography/vendor/mustache/mustache/test/Mustache/Test/Functional/InheritanceTest.php:16
- > PHP Warning
file_get_contents(wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/config.json): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/init.php on line 35
- > PHP Fatal error
Uncaught Exception: We could not locate your client id or client secret in "wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/config.json". Please create one, and reference config.json.example in /var/www/wordpress/wp-content/plugins/vimeography/vendor/vimeo/vimeo-api/example/init.php:38
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=vimeography-edit-galleries
- > Console-api (warning) in wp-content/plugins/vimeography/lib/admin/app/dist/index.9ed1f11011322d08d9e4.js?ver=1.0+0:4315
Initialization of sharing external failed: ScriptExternalLoadError: Loading script failed.\n(error: /wp-admin/admin.php?page=vimeography-edit-galleries)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vimeography-pro
- > Network (severe)
https://play.andoto.com/embed.js?id=mKKE3FL2g3bAG - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: video, vimeo, vimeo gallery, video gallery, gallery
vimeography/vimeography.php Passed 13 tests
Analyzing the main PHP file in "Vimeography: Vimeo Video Gallery WordPress Plugin" version 2.3.2
77 characters long description:
Vimeography is the easiest way to set up a custom Vimeo gallery on your site.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Almost there! Just fix the following issues
- Do not distribute dangerous files with your plugin
- .ms - Maxwell Script in Maxwell Render
- ☣ wp-content/plugins/vimeography/vendor/mustache/mustache/test/fixtures/templates/alpha.ms
- ☣ wp-content/plugins/vimeography/vendor/mustache/mustache/test/fixtures/templates/beta.ms
- .ms - Maxwell Script in Maxwell Render
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 16,299 |
PHP | 177 | 2,660 | 5,936 | 12,241 |
CSS | 16 | 148 | 360 | 10,334 |
JavaScript | 39 | 776 | 450 | 2,849 |
Mustache | 51 | 257 | 0 | 1,445 |
PO File | 3 | 280 | 330 | 751 |
SVG | 10 | 0 | 9 | 311 |
Markdown | 2 | 22 | 0 | 32 |
YAML | 2 | 4 | 0 | 28 |
XML | 1 | 2 | 0 | 15 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 7 | |
Traits | 0 | |
Classes | 169 | |
▷ Abstract classes | 7 | 4.14% |
▷ Concrete classes | 162 | 95.86% |
▷ Final classes | 0 | 0.00% |
Methods | 765 | |
▷ Static methods | 57 | 7.45% |
▷ Public methods | 651 | 85.10% |
▷ Protected methods | 39 | 5.10% |
▷ Private methods | 75 | 9.80% |
Functions | 50 | |
▷ Named functions | 6 | 12.00% |
▷ Anonymous functions | 44 | 88.00% |
Constants | 87 | |
▷ Global constants | 11 | 12.64% |
▷ Class constants | 76 | 87.36% |
▷ Public constants | 76 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
70 PNG files occupy 0.29MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/admin/assets/js/mce-button.png | 1.30KB | 0.37KB | ▼ 71.82% |
lib/admin/assets/img/icons/playlist.png | 1.49KB | 0.65KB | ▼ 56.47% |
lib/shared/assets/css/textures/highlight.png | 0.39KB | 0.36KB | ▼ 9.00% |
lib/admin/assets/css/plugins/jquery-ui/smoothness/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
lib/shared/assets/css/Material/sprite_kpi_2x.png | 1.44KB | 1.17KB | ▼ 18.82% |