Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/uniplace-client/class.uniplace-widget.php+30
Declaration of Uniplace_Widget::widget() should be compatible with WP_Widget::widget($args, $instance)
Server metrics [RAM: ▼1.84MB] [CPU: ▼56.28ms] Passed 4 tests
This is a short check of server-side resources used by Uniplace client
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.09 ▼33.58 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.96 ▼47.95 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 7.89 ▼47.00 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 6.47 ▼96.57 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 6.24 ▼31.22 |
Uniplace /wp-admin/options-general.php?page=uniplace-installer-config | 2.17 | 6.17 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/uniplace-client/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
uniplace_charset |
widget_uniplace-widget |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Uniplace client
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.65 ▼0.74 | 1.90 ▲0.14 | 44.47 ▲4.09 |
Dashboard /wp-admin | 2,225 ▲31 | 5.83 ▼0.04 | 111.56 ▼0.11 | 53.12 ▲5.35 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.06 ▲0.04 | 41.79 ▲0.77 | 34.41 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,562 ▲21 | 18.42 ▲0.25 | 617.73 ▼45.52 | 66.25 ▲14.55 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.06 | 96.44 ▼17.21 | 43.18 ▼4.93 |
Uniplace /wp-admin/options-general.php?page=uniplace-installer-config | 834 | 2.02 | 26.30 | 27.51 |
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
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/uniplace-client/class.uniplace-widget.php+30
Declaration of Uniplace_Widget::widget() should be compatible with WP_Widget::widget($args, $instance)
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_uniplace-widget
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% 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
- > GET request to /wp-admin/options-general.php?page=uniplace-installer-config
- > Warning in wp-content/plugins/uniplace-client/class.uniplace-widget.php+30
Declaration of Uniplace_Widget::widget() should be compatible with WP_Widget::widget($args, $instance)
- > GET request to /wp-admin/options-general.php?page=uniplace-installer-config
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in Uniplace_Widget is deprecated since version 4.3.0! Use __construct() instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/uniplace-client/codes/php/uniplace_id/Update.php
- 5× PHP files trigger server errors when accessed directly:
- > PHP Warning
require_once(uniplacer_config.php): failed to open stream: No such file or directory in wp-content/plugins/uniplace-client/codes/php/uniplace_id/uniplacer.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/uniplace-client/class.uniplace-widget.php:14
- > PHP Fatal error
require_once(): Failed opening required 'uniplacer_config.php' (include_path='.:/usr/share/php') in wp-content/plugins/uniplace-client/codes/php/uniplace_id/uniplacer.php on line 12
- > PHP Warning
require_once(uniplacer_config.php): failed to open stream: No such file or directory in wp-content/plugins/uniplace-client/codes/php/uniplace_id/sync.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'uniplacer_config.php' (include_path='.:/usr/share/php') in wp-content/plugins/uniplace-client/codes/php/uniplace_id/sync.php on line 10
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There were no tags found
- Donate link: Invalid URI found ("")
uniplace-client/uniplace-installer.php 92% from 13 tests
The main file in "Uniplace client" v. 1.0.23 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("uniplace-client.php" instead of "uniplace-installer.php")
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 detected1,227 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 313 | 396 | 1,123 |
PO File | 1 | 34 | 67 | 104 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 58.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 18 | 40.91% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 11 | 61.11% |
▷ Class constants | 7 | 38.89% |
▷ Public constants | 7 | 100.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
No PNG files were detected