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: ▲0.00MB] [CPU: ▼0.93ms] Passed 4 tests
An overview of server-side resources used by ProSolution WP Client
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.39 ▼1.32 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.46 ▼3.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.43 ▲1.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.02 ▲2.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.39 ▲0.11 |
Server storage [IO: ▲2.92MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 143 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
prosolwpclient_frontend |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
ProSolution WP Client: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▼0.03 | 1.62 ▼0.12 | 40.23 ▲1.47 |
Dashboard /wp-admin | 2,198 ▲26 | 5.63 ▼0.04 | 90.90 ▼9.83 | 38.14 ▼4.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 39.19 ▲4.03 | 34.97 ▼0.25 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.01 ▼0.95 | 657.38 ▼16.41 | 54.06 ▼16.58 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.18 ▼0.05 | 93.28 ▼4.74 | 43.54 ▲0.27 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/prosolution-wp-client/includes/class-setting.php+1282
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/prosolution-wp-client/public/class-prosolwpclient-public.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/prosolution-wp-client/admin/templates/admin-overview.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Frontend job search window), #2 (Frontend job search result), #10 (Frontend job apply form - Side Dishes Data Step5), #11 (Frontend job apply form - Side Dishes Data Step5(2)), #12 (Backend - All table list with sync status), #13 (Backend - Example country list table with country listing), #14 (Backend Setting - Api Config), #15 (Backend Setting - Frontend Setting), #16 (Backend Setting - Tools)
prosolution-wp-client/prosolwpclient.php 85% from 13 tests
"ProSolution WP Client" version 1.8.13'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: Name the main plugin file the same as the plugin slug ("prosolution-wp-client.php" instead of "prosolwpclient.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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 review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected43,906 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 69 | 4,684 | 6,725 | 19,865 |
CSS | 10 | 1,758 | 204 | 11,723 |
JavaScript | 29 | 1,726 | 1,292 | 9,882 |
PO File | 2 | 1,048 | 1,456 | 2,148 |
SVG | 1 | 0 | 0 | 288 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 255)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 406.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 255.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 44 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 708 | |
▷ Static methods | 32 | 4.52% |
▷ Public methods | 644 | 90.96% |
▷ Protected methods | 58 | 8.19% |
▷ Private methods | 6 | 0.85% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
11 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
public/css/images/ui-icons_777620_256x240.png | 3.19KB | 3.49KB | 0.00% |
public/css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.08KB | 0.08KB | 0.00% |
public/css/images/ui-icons_cc0000_256x240.png | 3.19KB | 3.49KB | 0.00% |
public/css/images/ui-icons_555555_256x240.png | 3.20KB | 3.50KB | 0.00% |