Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/matchchat/matchchat.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; Native_Trends has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼60.89ms] Passed 4 tests
Analyzing server-side resources used by Matchchat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 5.06 ▼37.64 |
Dashboard /wp-admin | 2.10 ▼1.21 | 6.66 ▼48.18 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.26 ▼53.62 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.23 ▼104.13 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.66 ▼31.40 |
Moderate Comments /wp-admin/admin.php?page=mc-plugin-moderate | 2.10 | 5.62 |
Settings /wp-admin/admin.php?page=mc-plugin-settings | 2.10 | 5.74 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_native_trends |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Matchchat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 13.73 ▼0.32 | 1.63 ▼0.09 | 45.54 ▲1.58 |
Dashboard /wp-admin | 2,248 ▲48 | 5.85 ▼0.00 | 101.27 ▼3.85 | 42.18 ▼2.89 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.03 ▼0.03 | 37.18 ▼1.85 | 30.31 ▼9.53 |
Add New Post /wp-admin/post-new.php | 1,567 ▲27 | 23.30 ▲0.22 | 627.65 ▼19.01 | 57.99 ▼2.04 |
Media Library /wp-admin/upload.php | 1,430 ▲33 | 4.23 ▼0.01 | 106.60 ▲0.98 | 45.48 ▼29.75 |
Moderate Comments /wp-admin/admin.php?page=mc-plugin-moderate | 1,831 | 3.92 | 83.91 | 81.61 |
Settings /wp-admin/admin.php?page=mc-plugin-settings | 915 | 2.06 | 26.69 | 25.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/matchchat/matchchat.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; Native_Trends has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_native_trends
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mc-plugin-settings
- > Deprecated in wp-content/plugins/matchchat/matchchat.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; Native_Trends has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mc-plugin-settings
- > Deprecated in wp-content/plugins/matchchat/matchchat.php+63
Function create_function() is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mc-plugin-settings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Native_Trends is deprecated since version 4.3.0! Use __construct() instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/matchchat/matchchat.php
- > /wp-content/plugins/matchchat/nocomments.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/matchchat/commentsystem.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=mc-plugin-moderate
- > Security (severe) in unknown
https://panel.matchchat.co.uk/ 352 Blocked autofocusing on a element in a cross-origin subframe.
- > GET request to /wp-admin/admin.php?page=mc-plugin-moderate
- > Security (severe) in unknown
https://panel.matchchat.co.uk/dummy.html 11 Blocked autofocusing on a element in a cross-origin subframe.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("")
matchchat/matchchat.php Passed 13 tests
The primary PHP file in "Matchchat" version 2.3.2 is used by WordPress to initiate all plugin functionality
35 characters long description:
Engage your fans like never before.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected258 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 38 | 17 | 258 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin