Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/mpq-video-gallery-xmlrpc/mpqvideogllr_xmlrpc.php+27
require_once(wp-content/plugins/mpqvideogallery-xmlrpc/mpqvideogllr_xmlrpc.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.57ms] Passed 4 tests
Server-side resources used by MPQ Video Gallery XMLRPC
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.06 ▼3.18 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.70 ▼12.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.96 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.56 ▼20.18 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.20 ▲6.81 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for MPQ Video Gallery XMLRPC
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.62 ▼0.96 | 2.03 ▼0.02 | 42.80 ▼0.69 |
Dashboard /wp-admin | 2,206 ▲15 | 5.84 ▲0.03 | 99.90 ▼6.02 | 40.18 ▼1.44 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.07 | 36.77 ▼3.89 | 36.14 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,523 ▲4 | 23.23 ▲0.09 | 675.42 ▲66.05 | 47.61 ▼3.88 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.21 ▲0.02 | 103.75 ▲1.03 | 44.80 ▲1.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mpq-video-gallery-xmlrpc/mpqvideogllrxmlrpc_settings_page.php:16
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mpq-video-gallery-xmlrpc/mpqvideogllr_xmlrpc.php on line 27
- > PHP Warning
require_once(ABSPATHwp-content/plugins/mpqvideogallery-xmlrpc/mpqvideogllr_xmlrpc.php): failed to open stream: No such file or directory in wp-content/plugins/mpq-video-gallery-xmlrpc/mpqvideogllr_xmlrpc.php on line 27
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-content/plugins/mpqvideogallery-xmlrpc/mpqvideogllr_xmlrpc.php' (include_path='.:/usr/share/php') in wp-content/plugins/mpq-video-gallery-xmlrpc/mpqvideogllr_xmlrpc.php on line 27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Contributors: Plugin contributors not specified
mpq-video-gallery-xmlrpc/mpqvideogllr_xmlrpc.php 85% from 13 tests
The main PHP script in "MPQ Video Gallery XMLRPC" version 0.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mpq-video-gallery-xmlrpc.php" instead of "mpqvideogllr_xmlrpc.php")
- Description: The description should be shorter than 140 characters (currently 342 characters long)
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
Good job! No executable or dangerous file extensions detected867 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 251 | 462 | 867 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected