Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.56ms] Passed 4 tests
Analyzing server-side resources used by Chatterbox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.68 ▲5.06 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.46 ▼0.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.26 ▲4.99 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.49 ▼6.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.41 ▲0.16 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Chatterbox: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.75 ▲0.38 | 1.96 ▼0.27 | 44.28 ▲2.61 |
Dashboard /wp-admin | 2,195 ▲15 | 5.65 ▼0.05 | 88.52 ▼0.64 | 39.53 ▼4.22 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.97 ▼0.03 | 40.73 ▲4.83 | 34.71 ▼3.37 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,825 | 27.79 ▲9.28 | 865.70 ▲206.73 | 54.93 ▼1.78 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.30 ▲0.09 | 98.29 ▼5.83 | 44.69 ▼1.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chatterbox/chatterbox.php:62
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in chatterbox/assets to your readme.txt
chatterbox/chatterbox.php Passed 13 tests
The principal PHP file in "Chatterbox" v. 0.1.1 is loaded by WordPress automatically on each request
74 characters long description:
Create chat threads using WordPress Blocks inside app and device wrappers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin357 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 10 | 1 | 279 |
PHP | 4 | 7 | 12 | 46 |
Markdown | 1 | 13 | 0 | 30 |
JavaScript | 1 | 0 | 4 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 1 | |
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 | 1 | |
▷ Named functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin