Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.17MB] [CPU: ▲513.79ms] 75% from 4 tests
An overview of server-side resources used by Muvi Media Connect
Please fix the following
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 513.79ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.80 ▼0.66 | 572.32 ▲528.90 |
Dashboard /wp-admin | 2.85 ▼0.46 | 574.03 ▲519.46 |
Posts /wp-admin/edit.php | 2.85 ▼0.51 | 576.86 ▲527.33 |
Add New Post /wp-admin/post-new.php | 2.85 ▼3.04 | 576.66 ▲479.45 |
Media Library /wp-admin/upload.php | 2.85 ▼0.38 | 572.50 ▲537.17 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Muvi Media Connect
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲57 | 13.26 ▼1.12 | 1.75 ▼0.30 | 41.38 ▼3.52 |
Dashboard /wp-admin | 2,231 ▲49 | 5.79 ▼0.09 | 105.24 ▼0.64 | 83.83 ▲43.54 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 1.96 ▼0.05 | 33.65 ▼6.58 | 33.81 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,515 ▲1 | 18.89 ▲1.36 | 733.85 ▲37.51 | 56.84 ▲4.86 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.09 ▼0.12 | 92.10 ▼4.71 | 77.06 ▲32.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/muvi-media-connect/src/init.php+110
Undefined index: category_list
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/muvi-media-connect/src/setup.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/muvi-media-connect/src/shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/muvi-media-connect/src/setup.php:569
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
muvi-media-connect/plugin.php 85% from 13 tests
"Muvi Media Connect" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("muvi-media-connect.php" instead of "plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin12,374 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 8,358 |
Sass | 3 | 157 | 3 | 1,589 |
PHP | 5 | 91 | 80 | 1,357 |
CSS | 3 | 12 | 5 | 506 |
JavaScript | 5 | 13 | 81 | 454 |
SVG | 3 | 10 | 2 | 93 |
Markdown | 1 | 8 | 0 | 17 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/block/loading.png | 6.17KB | 6.85KB | 0.00% |