Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/themeid-caldera-form-to-slack/caladea-slack.php+31
require_once(wp-content/plugins/themeid-caldera-form-to-slack/includes/appsero/src/Client.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.33ms] Passed 4 tests
An overview of server-side resources used by Theme.id's Caldera Form to Slack
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.04 ▼3.33 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.19 ▼9.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.42 ▲0.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.93 ▼12.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.32 ▼0.42 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Theme.id's Caldera Form to Slack
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.75 ▲0.32 | 2.21 ▲0.66 | 39.06 ▼6.10 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▼0.09 | 91.98 ▼0.63 | 42.17 ▼0.66 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.07 | 40.86 ▲3.87 | 35.50 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.11 ▲0.04 | 654.88 ▼18.53 | 58.26 ▲4.87 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.15 ▼0.02 | 98.97 ▼5.17 | 41.20 ▼4.68 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
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 | 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
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/themeid-caldera-form-to-slack/includes/appsero/src/Client.php' (include_path='.:/usr/share/php') in wp-content/plugins/themeid-caldera-form-to-slack/caladea-slack.php on line 31
- > PHP Fatal error
Uncaught Error: Class 'Caldera_Forms_Processor_UI' not found in wp-content/plugins/themeid-caldera-form-to-slack/includes/templates/config.php:9
- > PHP Warning
require_once(wp-content/plugins/themeid-caldera-form-to-slack/includes/appsero/src/Client.php): failed to open stream: No such file or directory in wp-content/plugins/themeid-caldera-form-to-slack/caladea-slack.php on line 31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: A description for screenshot #2 is required in themeid-caldera-form-to-slack/assets to your readme.txt
themeid-caldera-form-to-slack/caladea-slack.php 85% from 13 tests
The main file in "Theme.id's Caldera Form to Slack" v. 0.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("themeid-caldera-form-to-slack.php" instead of "caladea-slack.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
Good job! No executable or dangerous file extensions detected308 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 77 | 89 | 246 |
Markdown | 1 | 43 | 0 | 61 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 8.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 4 | 36.36% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected