Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.13ms] Passed 4 tests
An overview of server-side resources used by SalezTalk
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.27 ▲0.19 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.49 ▼19.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.96 ▼4.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.11 ▼12.23 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.76 ▲5.43 |
SalezTalk /wp-admin/options-general.php?page=SalezTalk | 3.18 | 31.31 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for SalezTalk
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 14.58 ▲0.05 | 1.52 ▼0.37 | 40.43 ▼3.07 |
Dashboard /wp-admin | 2,218 ▲44 | 5.65 ▲0.01 | 89.53 ▼9.09 | 40.04 ▼2.03 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 2.01 ▲0.01 | 37.98 ▲2.02 | 34.19 ▼3.81 |
Add New Post /wp-admin/post-new.php | 1,543 ▲7 | 22.98 ▲0.08 | 668.28 ▲52.24 | 72.16 ▲17.06 |
Media Library /wp-admin/upload.php | 1,423 ▲26 | 4.38 ▲0.19 | 102.21 ▲5.78 | 44.97 ▼1.82 |
SalezTalk /wp-admin/options-general.php?page=SalezTalk | 757 | 1.99 | 24.87 | 25.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 50% 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=SalezTalk
- > Warning in wp-content/plugins/saleztalk/SalezTalk.php+131
include_once(wp-content/plugins/SalezTalk/views/settings.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=SalezTalk
- > Warning in wp-content/plugins/saleztalk/SalezTalk.php+131
include_once(): Failed opening 'wp-content/plugins/SalezTalk/views/settings.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/saleztalk/views/dashboard-notices.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/saleztalk/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/saleztalk/SalezTalk.php:39
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
saleztalk/SalezTalk.php 85% from 13 tests
"SalezTalk" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 150 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("saleztalk.php" instead of "SalezTalk.php")
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 plugin146 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 30 | 77 | 146 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected