Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.81ms] Passed 4 tests
Analyzing server-side resources used by Group Chat & Video Chat by AtomChat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.76 ▲1.12 |
Dashboard /wp-admin | 3.34 ▼0.00 | 53.19 ▼12.75 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 55.07 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.90 ▼22.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 44.53 ▲10.78 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Group Chat & Video Chat by AtomChat: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲48 | 14.20 ▲0.02 | 1.59 ▼0.06 | 44.14 ▲0.74 |
Dashboard /wp-admin | 2,191 ▲11 | 5.55 ▼0.02 | 88.82 ▲0.02 | 77.28 ▲37.37 |
Posts /wp-admin/edit.php | 2,111 ▲14 | 1.96 ▼0.03 | 42.08 ▲2.92 | 41.22 ▲2.55 |
Add New Post /wp-admin/post-new.php | 1,555 ▲18 | 23.14 ▲4.80 | 757.55 ▲133.43 | 55.33 ▼20.38 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.19 ▲0.04 | 104.98 ▲0.11 | 73.65 ▲26.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/atomchat/atomchat.php+103
Undefined index: atomchat_cms_file
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- 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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 16× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined index: username in wp-content/plugins/atomchat/api/v1/atomchatLogin.php on line 133
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_authenticate() in wp-content/plugins/atomchat/api/v1/atomchatLogin.php:21
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/atomchat/atomchat.php on line 13
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/atomchat/atomchat.php on line 13
- > PHP Notice
Undefined index: password in wp-content/plugins/atomchat/api/v1/atomchatLogin.php on line 134
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/atomchat/atomchat.php on line 13
- > PHP Notice
Undefined index: type in wp-content/plugins/atomchat/api/v1/atomchatLogin.php on line 135
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/atomchat/admin/atomchat-admin.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/atomchat/atomchat.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/atomchat/includes/atomchat_cloud.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
atomchat/atomchat.php Passed 13 tests
The primary PHP file in "Group Chat & Video Chat by AtomChat" version 1.1.4 is used by WordPress to initiate all plugin functionality
48 characters long description:
Voice, video & text chat for your WordPress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,580 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 208 | 163 | 1,556 |
CSS | 5 | 57 | 40 | 685 |
JavaScript | 5 | 42 | 25 | 317 |
SVG | 2 | 0 | 1 | 22 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 13.00 |
▷ Minimum method complexity | 9.00 |
▷ Maximum method complexity | 17.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 32 | |
▷ Named functions | 30 | 93.75% |
▷ Anonymous functions | 2 | 6.25% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.46MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo white.png | 40.03KB | 18.29KB | ▼ 54.31% |
images/atom_chat_white_ icon.png | 0.85KB | 0.62KB | ▼ 27.43% |
images/atom_chat_black_icon_logo.png | 6.68KB | 3.34KB | ▼ 50.08% |
images/atom_chat_white_main_ icon.png | 7.90KB | 3.76KB | ▼ 52.39% |
images/feedback_one.png | 13.68KB | 4.85KB | ▼ 64.51% |