Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲6.05MB] [CPU: ▲35.24ms] 75% from 4 tests
An overview of server-side resources used by Team Members – Best WordPress Team Plugin with Team Slider, Team Showcase & Team Builder
Please fix the following
- Extra RAM: Extra memory usage should kept under 5MB (currently 6.05MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.38 ▲5.92 | 75.30 ▲32.36 |
Dashboard /wp-admin | 9.40 ▲6.06 | 88.79 ▲25.92 |
Posts /wp-admin/edit.php | 9.40 ▲6.04 | 114.93 ▲64.35 |
Add New Post /wp-admin/post-new.php | 12.53 ▲6.64 | 131.69 ▲35.79 |
Media Library /wp-admin/upload.php | 9.40 ▲6.17 | 81.81 ▲46.89 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.40 | 73.81 |
Server storage [IO: ▲8.44MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 323 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_wps_team |
New WordPress options |
---|
fs_debug_mode |
fs_accounts |
wps_team_notice_demo_import_notice |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
_wps_team_installed_time |
widget_theysaidso_widget |
db_upgraded |
wps_team_version |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Team Members – Best WordPress Team Plugin with Team Slider, Team Showcase & Team Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲105 | 14.32 ▼0.39 | 1.56 ▼0.57 | 28.04 ▼15.49 |
Dashboard /wp-admin | 2,254 ▲74 | 5.54 ▼0.10 | 93.45 ▼5.86 | 83.56 ▲39.09 |
Posts /wp-admin/edit.php | 2,160 ▲63 | 2.00 ▼0.03 | 43.41 ▲4.12 | 40.60 ▲6.60 |
Add New Post /wp-admin/post-new.php | 1,528 ▼2 | 21.59 ▼1.30 | 599.95 ▼27.47 | 34.08 ▼20.56 |
Media Library /wp-admin/upload.php | 1,462 ▲65 | 4.18 ▲0.03 | 95.64 ▲0.68 | 69.32 ▲28.02 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,117 | 1.66 | 26.04 | 28.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wps-team/includes/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie tables were found after uninstall: 1 table
- wp_wps_team
- This plugin does not fully uninstall, leaving 14 options in the database
- db_upgraded
- widget_recent-comments
- fs_accounts
- fs_debug_mode
- wp_wps_team_db_ver
- widget_theysaidso_widget
- wps_team_notice_rating_notice
- theysaidso_admin_options
- fs_active_plugins
- _wps_team_installed_time
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(WPS_TEAM_INC_PATHfreemius/start.php): failed to open stream: No such file or directory in wp-content/plugins/wps-team/freemius.php on line 18
- > PHP Fatal error
require_once(): Failed opening required 'WPS_TEAM_INC_PATHfreemius/start.php' (include_path='.:/usr/share/php') in wp-content/plugins/wps-team/freemius.php on line 18
- > PHP Warning
Use of undefined constant WPS_TEAM_INC_PATH - assumed 'WPS_TEAM_INC_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wps-team/freemius.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wps-team/includes/integrations/elementor/widget.php:5
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: There are too many tags (19 tag instead of maximum 10)
wps-team/wps-team.php 92% from 13 tests
Analyzing the main PHP file in "Team Members – Best WordPress Team Plugin with Team Slider, Team Showcase & Team Builder" version 2.9.1
The following require your attention:
- 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 check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected57,641 lines of code in 255 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 209 | 10,555 | 19,252 | 45,661 |
SVG | 8 | 0 | 0 | 9,632 |
CSS | 21 | 11 | 4 | 1,272 |
JSON | 2 | 0 | 0 | 863 |
JavaScript | 15 | 37 | 61 | 213 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 42.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 4 | |
Classes | 129 | |
▷ Abstract classes | 14 | 10.85% |
▷ Concrete classes | 115 | 89.15% |
▷ Final classes | 1 | 0.87% |
Methods | 1,935 | |
▷ Static methods | 352 | 18.19% |
▷ Public methods | 1,410 | 72.87% |
▷ Protected methods | 120 | 6.20% |
▷ Private methods | 405 | 20.93% |
Functions | 123 | |
▷ Named functions | 107 | 86.99% |
▷ Anonymous functions | 16 | 13.01% |
Constants | 209 | |
▷ Global constants | 114 | 54.55% |
▷ Class constants | 95 | 45.45% |
▷ Public constants | 95 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
includes/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |