Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.91MB] [CPU: ▼8.62ms] Passed 4 tests
Analyzing server-side resources used by Create by Mediavine
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.89 | 46.07 ▲10.06 |
Dashboard /wp-admin | 4.20 ▲0.86 | 40.88 ▼13.51 |
Posts /wp-admin/edit.php | 4.28 ▲0.92 | 46.09 ▼0.39 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.96 | 80.65 ▼22.59 |
Media Library /wp-admin/upload.php | 4.21 ▲0.98 | 37.73 ▲2.02 |
Add New Create Card /wp-admin/post-new.php?post_type=mv_create | 4.32 | 50.71 |
User Reviews /wp-admin/edit.php?post_type=mv_create&page=reviews | 4.21 | 41.12 |
Recipes /wp-admin/edit.php?post_type=mv_create&page=recipe | 4.21 | 47.34 |
Recommended Products /wp-admin/edit.php?post_type=mv_create&page=products | 4.21 | 38.05 |
All Create Cards /wp-admin/edit.php?post_type=mv_create | 4.28 | 39.39 |
Settings /wp-admin/edit.php?post_type=mv_create&page=settings | 4.21 | 39.79 |
Lists /wp-admin/edit.php?post_type=mv_create&page=list | 4.21 | 38.19 |
Create by Mediavine /wp-admin/options-general.php?page=mv_settings | 4.21 | 37.80 |
How-Tos /wp-admin/edit.php?post_type=mv_create&page=diy | 4.21 | 39.30 |
Server storage [IO: ▲6.40MB] [DB: ▲0.05MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 606 new files
Database: 11 new tables, 19 new options
New tables |
---|
wp_mv_products_map |
wp_mv_relations |
wp_mv_supplies |
wp_mv_revisions |
wp_mv_images |
wp_mv_creations |
wp_mv_products |
wp_mv_reviews |
wp_mv_nutrition |
wp_mv_shapes |
... |
New WordPress options |
---|
mv_settings_db_version |
mv_nutrition_db_version |
mv_create_version |
widget_recent-posts |
theysaidso_admin_options |
mv_relations_db_version |
widget_theysaidso_widget |
mv_revisions_db_version |
mv_images_db_version |
mv_supplies_db_version |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Create by Mediavine
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲131 | 18.03 ▲3.67 | 1.48 ▲0.03 | 39.55 ▲2.38 |
Dashboard /wp-admin | 2,283 ▲108 | 9.27 ▲3.63 | 195.24 ▲89.69 | 39.19 ▲2.38 |
Posts /wp-admin/edit.php | 2,202 ▲102 | 5.69 ▲3.68 | 60.24 ▲21.47 | 29.75 ▼6.39 |
Add New Post /wp-admin/post-new.php | 1,591 ▲61 | 26.45 ▲3.26 | 692.11 ▲85.99 | 39.85 ▼14.71 |
Media Library /wp-admin/upload.php | 1,495 ▲101 | 7.72 ▲3.46 | 118.92 ▲21.68 | 41.89 ▲0.38 |
Add New Create Card /wp-admin/post-new.php?post_type=mv_create | 1,826 | 8.33 | 103.84 | 48.56 |
User Reviews /wp-admin/edit.php?post_type=mv_create&page=reviews | 1,244 | 8.40 | 79.02 | 40.62 |
Recipes /wp-admin/edit.php?post_type=mv_create&page=recipe | 1,178 | 8.51 | 82.37 | 38.19 |
Recommended Products /wp-admin/edit.php?post_type=mv_create&page=products | 1,130 | 7.84 | 77.65 | 32.60 |
All Create Cards /wp-admin/edit.php?post_type=mv_create | 1,528 | 8.91 | 82.44 | 33.13 |
Settings /wp-admin/edit.php?post_type=mv_create&page=settings | 1,451 | 8.64 | 111.10 | 50.06 |
Lists /wp-admin/edit.php?post_type=mv_create&page=list | 1,175 | 8.38 | 76.63 | 33.78 |
Create by Mediavine /wp-admin/options-general.php?page=mv_settings | 1,453 | 8.78 | 105.50 | 40.71 |
How-Tos /wp-admin/edit.php?post_type=mv_create&page=diy | 1,175 | 8.56 | 79.21 | 34.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 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 were found after uninstall: 11 tables
- wp_mv_supplies
- wp_mv_relations
- wp_mv_settings
- wp_mv_reviews
- wp_mv_products_map
- wp_mv_images
- wp_mv_revisions
- wp_mv_products
- wp_mv_shapes
- wp_mv_nutrition
- ...
- This plugin did not uninstall successfully, leaving 19 options in the database
- mv_revisions_db_version
- mv_create_db_version
- mv_shapes_db_version
- mv_nutrition_db_version
- widget_theysaidso_widget
- db_upgraded
- mv_reviews_db_version
- mv_create_version
- mv_supplies_db_version
- theysaidso_admin_options
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=mv_create&page=diy
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
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
Please fix the following items
- 9× PHP files output text when accessed directly:
- > /wp-content/plugins/mediavine-create/vendor/mediavine/wordpress-router/src/class-app.php
- > /wp-content/plugins/mediavine-create/lib/views/v1/shortcode-mv-create-social-icon-pinterest.php
- > /wp-content/plugins/mediavine-create/lib/views/v1/shortcode-mv-create-footer.php
- > /wp-content/plugins/mediavine-create/lib/views/v1/shortcode-mv-create-social-icon-facebook.php
- > /wp-content/plugins/mediavine-create/lib/relations/class-relations-api.php
- > /wp-content/plugins/mediavine-create/lib/views/v1/shortcode-mv-create-social-icon-instagram.php
- > /wp-content/plugins/mediavine-create/mediavine-create.php
- > /wp-content/plugins/mediavine-create/lib/feature-flags.php
- > /wp-content/plugins/mediavine-create/lib/supplies/class-supplies-api.php
- 245× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Mediavine\\Create\\Creations_Views' not found in wp-content/plugins/mediavine-create/lib/views/v1/shortcode-mv-create-times.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Create\\Amazon\\ProductAdvertisingAPI\\v1\\com\\amazon\\paapi5\\v1\\ModelInterface' not found in wp-content/plugins/mediavine-create/scoped-vendor/mediavine/paapi5-php-sdk/src/com/amazon/paapi5/v1/BrowseNode.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Create\\Amazon\\ProductAdvertisingAPI\\v1\\com\\amazon\\paapi5\\v1\\ModelInterface' not found in wp-content/plugins/mediavine-create/scoped-vendor/mediavine/paapi5-php-sdk/src/com/amazon/paapi5/v1/LanguageType.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Create\\Amazon\\ProductAdvertisingAPI\\v1\\com\\amazon\\paapi5\\v1\\ModelInterface' not found in wp-content/plugins/mediavine-create/scoped-vendor/mediavine/paapi5-php-sdk/src/com/amazon/paapi5/v1/GetItemsRequest.php:28
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Create\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/mediavine-create/scoped-vendor/guzzlehttp/promises/src/RejectedPromise.php:11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/mediavine-create/lib/views/v1/shortcode-mv-create-video.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Mediavine\\Create\\GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/mediavine-create/scoped-vendor/guzzlehttp/promises/src/CancellationException.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Create\\Amazon\\ProductAdvertisingAPI\\v1\\com\\amazon\\paapi5\\v1\\ModelInterface' not found in wp-content/plugins/mediavine-create/scoped-vendor/mediavine/paapi5-php-sdk/src/com/amazon/paapi5/v1/OfferProgramEligibility.php:28
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/mediavine-create/lib/views/v1/big-image/shortcode-mv-create-title.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'Mediavine\\Create\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/mediavine-create/scoped-vendor/guzzlehttp/psr7/src/NoSeekStream.php:11
- > 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 issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: seo, schema, create, recipe, how to...
mediavine-create/mediavine-create.php 92% from 13 tests
The main PHP script in "Create by Mediavine" version 1.9.4 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 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
Success! There were no dangerous files found in this plugin65,879 lines of code in 459 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 402 | 6,300 | 29,994 | 62,025 |
Markdown | 12 | 1,058 | 0 | 2,228 |
JSON | 8 | 8 | 0 | 1,359 |
XML | 3 | 24 | 17 | 110 |
CSS | 10 | 14 | 1 | 65 |
JavaScript | 21 | 8 | 19 | 58 |
HTML | 2 | 0 | 0 | 17 |
YAML | 1 | 7 | 0 | 17 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 226.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 30 | |
Interfaces | 19 | |
Traits | 2 | |
Classes | 298 | |
▷ Abstract classes | 7 | 2.35% |
▷ Concrete classes | 291 | 97.65% |
▷ Final classes | 24 | 8.25% |
Methods | 3,769 | |
▷ Static methods | 877 | 23.27% |
▷ Public methods | 3,394 | 90.05% |
▷ Protected methods | 180 | 4.78% |
▷ Private methods | 195 | 5.17% |
Functions | 373 | |
▷ Named functions | 122 | 32.71% |
▷ Anonymous functions | 251 | 67.29% |
Constants | 443 | |
▷ Global constants | 45 | 10.16% |
▷ Class constants | 398 | 89.84% |
▷ Public constants | 397 | 99.75% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 compressed PNG files occupy 0.50MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
client/build/assets/icons/favicon-32x32.png | 1.45KB | 1.44KB | ▼ 0.54% |
admin/img/card-style-default.png | 71.46KB | 72.90KB | 0.00% |
client/build/assets/icons/favicon-16x16.png | 0.61KB | 0.72KB | 0.00% |
admin/img/card-style-centered.png | 70.62KB | 71.56KB | 0.00% |
client/build/assets/icons/mstile-150x150.png | 8.84KB | 5.01KB | ▼ 43.30% |