Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.33ms] Passed 4 tests
This is a short check of server-side resources used by Kanban: Shortcodes
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.53 ▼0.84 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.29 ▼6.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.73 ▼3.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.52 ▼10.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.55 ▼0.77 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Kanban: Shortcodes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.19 | 1.73 ▲0.03 | 39.74 ▼2.94 |
Dashboard /wp-admin | 2,209 ▲18 | 4.86 ▼0.21 | 107.75 ▲3.76 | 41.03 ▼2.92 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.00 | 35.66 ▼5.54 | 32.33 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,542 ▲4 | 18.16 ▼5.12 | 607.89 ▼39.95 | 52.78 ▼7.04 |
Media Library /wp-admin/upload.php | 1,379 ▼12 | 4.24 ▲0.03 | 97.25 ▼1.64 | 40.97 ▼4.61 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/kanban-shortcodes/templates/board-iframe.php
- > /wp-content/plugins/kanban-shortcodes/templates/board-link.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kanban-shortcodes/templates/board-iframe.php on line 9
- > PHP Notice
Undefined variable: content in wp-content/plugins/kanban-shortcodes/templates/board-link.php on line 1
- > PHP Notice
Undefined variable: atts in wp-content/plugins/kanban-shortcodes/templates/board-iframe.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kanban-shortcodes/templates/board-link.php on line 1
- > PHP Notice
Undefined variable: atts in wp-content/plugins/kanban-shortcodes/templates/board-link.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kanban-shortcodes/templates/board-iframe.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Kanban_Utils' not found in wp-content/plugins/kanban-shortcodes/templates/list-board.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kanban-shortcodes/templates/board-iframe.php on line 1
- > PHP Notice
Undefined variable: atts in wp-content/plugins/kanban-shortcodes/templates/board-iframe.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kanban-shortcodes/templates/board-iframe.php on line 10
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 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
3 plugin tags: embed, kanban, shortcode
kanban-shortcodes/kanban-shortcodes.php 92% from 13 tests
The main PHP file in "Kanban: Shortcodes" ver. 0.0.6 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/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
Good job! No executable or dangerous file extensions detected254 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 155 | 46 | 254 |
PHP code Passed 2 tests
An overview 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.53 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 11 | 100.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 were not PNG files found in your plugin