Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.78ms] Passed 4 tests
A check of server-side resources used by ccRobot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.06 ▼15.31 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.13 ▼1.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.47 ▼10.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.32 ▼12.50 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.93 ▼0.30 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_ccr_button_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by ccRobot
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲162 | 13.67 ▼0.78 | 10.89 ▲8.24 | 44.33 ▼18.45 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▲0.96 | 111.19 ▼0.04 | 40.99 ▼1.81 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.02 | 37.12 ▼0.73 | 36.06 ▼0.71 |
Add New Post /wp-admin/post-new.php | 1,533 ▲3 | 23.04 ▲4.49 | 754.01 ▲133.66 | 61.72 ▲8.33 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.26 ▼0.10 | 112.63 ▼2.07 | 47.97 ▲1.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_ccr_button_widget
- theysaidso_admin_options
- 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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ccrobot/includes/ccrobot-class.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ccrobot/includes/ccrobot-scripts.php:9
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 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
6 plugin tags: chatbot, customer, ccrobot, automation, livechat...
ccrobot/ccrobot.php Passed 13 tests
The main PHP file in "ccRobot" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
38 characters long description:
Adds a button to start ccRobot chatbot
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
Good job! No executable or dangerous file extensions detected855 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 49 | 31 | 468 |
PHP | 3 | 20 | 22 | 386 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 9.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin