Benchmarks
Plugin footprint 65% 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: ▼1.03MB] [CPU: ▼43.88ms] Passed 4 tests
A check of server-side resources used by iFlyChat - WordPress Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▼0.51 | 15.46 ▼22.16 |
Dashboard /wp-admin | 2.99 ▼0.36 | 17.59 ▼40.35 |
Posts /wp-admin/edit.php | 2.99 ▼0.37 | 17.15 ▼31.61 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.90 | 18.83 ▼81.41 |
Media Library /wp-admin/upload.php | 2.99 ▼0.24 | 18.14 ▼10.73 |
iFlyChat Settings /wp-admin/options-general.php?page=iflychat_settings | 2.99 | 18.16 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 17 new options
New WordPress options |
---|
can_compress_scripts |
iflychat_popup_chat |
widget_recent-posts |
db_upgraded |
iflychat_api_key |
widget_theysaidso_widget |
iflychat_session_caching |
iflychat_chat_moderators_array |
iflychat_path_pages |
iflychat_app_id |
... |
Browser metrics Passed 4 tests
A check of browser resources used by iFlyChat - WordPress Chat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲163 | 14.43 ▲0.22 | 5.99 ▲4.36 | 41.89 ▼0.53 |
Dashboard /wp-admin | 2,205 ▲28 | 5.55 ▼0.09 | 88.75 ▼11.35 | 40.40 ▼1.01 |
Posts /wp-admin/edit.php | 2,116 ▲19 | 2.03 ▲0.01 | 40.69 ▲3.87 | 36.69 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 22.01 ▼1.01 | 685.78 ▲37.38 | 67.58 ▲17.66 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▼0.01 | 101.70 ▲0.91 | 43.46 ▼1.38 |
iFlyChat Settings /wp-admin/options-general.php?page=iflychat_settings | 1,094 | 2.17 | 27.15 | 30.24 |
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
You still need to fix the following
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
- This plugin did not uninstall successfully, leaving 17 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- iflychat_chat_admins_array
- iflychat_enable_friends
- iflychat_use_display_name
- iflychat_path_pages
- iflychat_embed_chat
- db_upgraded
- iflychat_app_id
- widget_recent-comments
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=iflychat_settings
- > User notice in wp-includes/functions.php+5905
Function WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.)
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/iflychat/iflychat.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=iflychat_settings
- > Network (severe)
http://cdn.iflychat.com/js/iflychat-v2.min.js?app_id= - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
iflychat/iflychat.php Passed 13 tests
The principal PHP file in "iFlyChat - WordPress Chat" v. 4.7.2 is loaded by WordPress automatically on each request
55 characters long description:
One on one chat, Multiple chatrooms, Embedded chatrooms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin1,247 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 148 | 335 | 1,169 |
JavaScript | 3 | 2 | 5 | 78 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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