Benchmarks
Plugin footprint 83% 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.01MB] [CPU: ▼2.95ms] Passed 4 tests
This is a short check of server-side resources used by Supsis – Live Chat, Chatbots & Email Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.75 ▲2.28 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.95 ▼0.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.16 ▼2.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.62 ▼4.39 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.19 ▼4.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Supsis – Live Chat, Chatbots & Email Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,861 ▲115 | 13.20 ▼1.16 | 2.17 ▲0.49 | 36.46 ▼6.21 |
Dashboard /wp-admin | 2,236 ▲50 | 4.85 ▼0.25 | 128.38 ▲19.34 | 41.86 ▼2.35 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.04 ▲0.03 | 55.24 ▲20.15 | 36.38 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,547 ▲12 | 23.24 ▲0.18 | 628.86 ▼46.65 | 51.19 ▼19.33 |
Media Library /wp-admin/upload.php | 1,415 ▲30 | 4.20 ▼0.00 | 117.30 ▲13.33 | 42.45 ▼3.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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 take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/supsis/templates/iframe.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/supsis/supsis.php:28
- > PHP Fatal error
Uncaught Error: Class 'Supsis\\Config' not found in wp-content/plugins/supsis/Supsis/Modules/Admin.php:10
- > PHP Fatal error
Uncaught Error: Class 'Supsis\\Config' not found in wp-content/plugins/supsis/Supsis/Modules/Widget.php:10
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
supsis/supsis.php 77% from 13 tests
The entry point to "Supsis – Live Chat, Chatbots & Email Integration" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "7.2")
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin485 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 106 | 327 | 472 |
JSON | 1 | 0 | 0 | 12 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 35 | |
▷ Static methods | 6 | 17.14% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.71% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected