Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.25ms] Passed 4 tests
Server-side resources used by Dixa Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.75 ▼0.23 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.84 ▼2.20 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.76 ▼0.41 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.75 ▼14.05 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 32.99 ▼0.32 |
Dixa Chat /wp-admin/options-general.php?page=dixa-chat | 3.19 | 29.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Dixa Chat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲92 | 13.70 ▼0.68 | 1.84 ▼0.21 | 43.89 ▼5.14 |
Dashboard /wp-admin | 2,230 ▲42 | 4.82 ▼1.24 | 110.20 ▼6.52 | 39.62 ▼5.78 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.03 ▲0.01 | 41.85 ▲4.55 | 35.76 ▲3.65 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.36 ▲0.17 | 651.49 ▼21.17 | 49.97 ▼5.46 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.20 ▼0.01 | 99.31 ▲1.14 | 43.21 ▲0.33 |
Dixa Chat /wp-admin/options-general.php?page=dixa-chat | 770 | 2.07 | 23.90 | 25.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=dixa-chat
- > Warning in wp-content/plugins/wp-dixa-chat/dixa-chat.php+170
include_once(wp-content/plugins/dixa-chat/views/settings.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/options-general.php?page=dixa-chat
- > Warning in wp-content/plugins/wp-dixa-chat/dixa-chat.php+170
include_once(): Failed opening 'wp-content/plugins/dixa-chat/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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-dixa-chat/views/sidebar.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-dixa-chat/views/settings.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-dixa-chat/views/dashboard-notices.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-dixa-chat/dixa-chat.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Settings Screen) image not found
wp-dixa-chat/dixa-chat.php 92% from 13 tests
The principal PHP file in "Dixa Chat" v. 1.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-dixa-chat.php" instead of "dixa-chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin181 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 90 | 181 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.64 |
▷ 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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin