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
Installer ran successfully
Server metrics [RAM: ▼0.56MB] [CPU: ▼14.10ms] Passed 4 tests
A check of server-side resources used by Author Chat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.12 | 41.08 ▼0.49 |
Dashboard /wp-admin | 3.71 ▲0.08 | 54.33 ▼11.79 |
Posts /wp-admin/edit.php | 3.82 ▲0.14 | 55.62 ▲5.50 |
Add New Post /wp-admin/post-new.php | 3.58 ▼2.57 | 49.51 ▼48.68 |
Media Library /wp-admin/upload.php | 3.63 ▲0.14 | 43.78 ▲4.55 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 20 new files
Database: 1 new table, 20 new options
New tables |
---|
wp_author_chat |
New WordPress options |
---|
widget_recent-comments |
author_chat_settings_access_author |
author_chat_settings_weekdays |
widget_recent-posts |
author_chat_settings_name |
author_chat_settings_access_all_users |
author_chat_settings_access_contributor |
author_chat_db_version |
author_chat_settings_access_subscriber |
author_chat_settings_access_editor |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Author Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,114 ▲368 | 13.78 ▼0.62 | 1.86 ▲0.09 | 40.51 ▼2.96 |
Dashboard /wp-admin | 2,505 ▲325 | 6.02 ▲0.32 | 98.96 ▲7.78 | 83.18 ▲41.93 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.39 ▲0.36 | 47.48 ▲12.57 | 34.26 ▼1.76 |
Add New Post /wp-admin/post-new.php | 1,561 ▲16 | 23.49 ▲0.30 | 678.01 ▼14.74 | 39.42 ▼16.58 |
Media Library /wp-admin/upload.php | 1,446 ▲43 | 4.61 ▲0.50 | 109.01 ▼8.67 | 43.98 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- author_chat_db_version
- 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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/author-chat/acppauthorchat-process.php on line 34
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/author-chat/acppauthorchat-process.php on line 34
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/author-chat/acppauthorchat-process.php on line 34
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/author-chat/acppauthorchat-process.php on line 34
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/author-chat/acppauthorchat-process.php on line 34
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/author-chat/acppauthorchat-process.php on line 34
- > PHP Warning
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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 to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
author-chat/acppauthorchat-author-chat.php 92% from 13 tests
Analyzing the main PHP file in "Author Chat" version 2.0.3
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("author-chat.php" instead of "acppauthorchat-author-chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,821 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 168 | 109 | 993 |
JavaScript | 1 | 124 | 156 | 839 |
PO File | 5 | 187 | 196 | 490 |
CSS | 1 | 33 | 99 | 425 |
Markdown | 1 | 12 | 0 | 74 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 24 | |
▷ Named functions | 21 | 87.50% |
▷ Anonymous functions | 3 | 12.50% |
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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
emoticons.png | 8.29KB | 4.61KB | ▼ 44.43% |