Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/kanpress/kanpress.php+18
Undefined variable: wpdb
Server metrics [RAM: ▲0.01MB] [CPU: ▼265.98ms] Passed 4 tests
Analyzing server-side resources used by Kanpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 37.11 ▲18.49 |
Dashboard /wp-admin | 3.07 ▲0.02 | 49.04 ▲3.92 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 42.80 ▼4.99 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.01 | 87.98 ▼1,056.40 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 31.81 ▼6.43 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 39 new files
Database: 1 new table, no new options
New tables |
---|
wp_kanpress_task |
Browser metrics Passed 4 tests
Checking browser requirements for Kanpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,669 ▲63 | 15.86 ▲0.24 | 7.73 ▲0.64 | 48.74 ▲2.02 |
Dashboard /wp-admin | 2,947 ▲97 | 6.06 ▲0.26 | 147.71 ▲11.13 | 113.17 ▲10.66 |
Posts /wp-admin/edit.php | 2,726 ▲20 | 2.69 ▲0.02 | 68.82 ▲0.41 | 89.40 ▼6.62 |
Add New Post /wp-admin/post-new.php | 1,494 ▼94 | 18.49 ▼2.95 | 356.85 ▲75.78 | 110.81 ▼0.07 |
Media Library /wp-admin/upload.php | 1,792 ▲20 | 5.06 ▲0.05 | 151.23 ▲7.32 | 107.31 ▼9.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_kanpress_task
Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/kanpress/ajax_move_task.php
- > /wp-content/plugins/kanpress/ajax_link_task.php
- > /wp-content/plugins/kanpress/ajax_remove_task.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/kanpress/page_board.php:72
- > PHP Warning
Use of undefined constant TABLE_TASK - assumed 'TABLE_TASK' (this will throw an Error in a future version of PHP) in wp-content/plugins/kanpress/page_board.php on line 67
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/kanpress/page_board.php on line 68
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/kanpress/page_board.php on line 68
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/kanpress/kanpress.php:17
- > PHP Warning
Use of undefined constant TABLE_TASK - assumed 'TABLE_TASK' (this will throw an Error in a future version of PHP) in wp-content/plugins/kanpress/page_board.php on line 68
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/kanpress/page_board.view.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/kanpress/page_config.view.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/kanpress/page_config.view.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (The Kanban board in action), #2 (Task details: descriptions, assigned author, linked post...)
kanpress/kanpress.php Passed 13 tests
Analyzing the main PHP file in "Kanpress" version 1.1
57 characters long description:
Kanban board for managing the creation of Wordpress posts
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
Good job! No executable or dangerous file extensions detected1,896 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 259 | 259 | 642 |
PHP | 13 | 125 | 178 | 558 |
CSS | 1 | 20 | 13 | 316 |
JavaScript | 1 | 97 | 71 | 225 |
SVG | 1 | 1 | 1 | 155 |
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.50 |
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 | 0 | |
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 | 12 | |
▷ Named functions | 12 | 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 1 test
Image compression Passed 1 test
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/kanpress.png | 1.71KB | 1.39KB | ▼ 18.58% |
static/pr_high.png | 3.38KB | 1.02KB | ▼ 69.84% |
screenshot-1.png | 37.79KB | 13.06KB | ▼ 65.45% |
static/pr_medium.png | 3.45KB | 1.18KB | ▼ 65.68% |
static/pr_low.png | 3.36KB | 1.04KB | ▼ 69.14% |