Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.18ms] Passed 4 tests
Server-side resources used by Mantiq Integration for Slack
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.95 ▼8.30 |
Dashboard /wp-admin | 3.31 ▲0.01 | 55.20 ▼6.22 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 53.28 ▲4.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.80 ▼14.60 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 39.67 ▲0.41 |
Server storage [IO: ▲0.01MB] [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: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Mantiq Integration for Slack
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.25 ▼0.31 | 1.94 ▲0.08 | 44.89 ▲0.56 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.01 | 94.89 ▲5.17 | 43.68 ▲2.33 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 32.87 ▼1.60 | 34.73 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.31 ▲0.21 | 690.76 ▲18.61 | 55.26 ▼4.18 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.12 ▼0.07 | 109.38 ▲5.13 | 47.48 ▲3.99 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- 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
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Mantiq\\Models\\Action' not found in wp-content/plugins/mantiq-integration-for-slack/src/Actions/Slack/Messages/SendMessageToSlackChannel.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mantiq-integration-for-slack/views/actions/messages/send-message-to-slack-channel.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 80% 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: Add images for these screenshots: #1 (Slack events), #2 (Slack actions)
mantiq-integration-for-slack/plugin.php 62% from 13 tests
The entry point to "Mantiq Integration for Slack" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0.0" instead of "5.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("mantiq-integration-for-slack.php" instead of "plugin.php")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin212 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 34 | 22 | 212 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin