Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼1.78MB] [CPU: ▼183.90ms] Passed 4 tests
Analyzing server-side resources used by WP To Trello
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.85 ▼0.99 | 6.63 ▼23.36 |
Dashboard /wp-admin | 1.87 ▼1.19 | 6.54 ▼29.02 |
Posts /wp-admin/edit.php | 1.87 ▼1.24 | 7.74 ▼36.58 |
Add New Post /wp-admin/post-new.php | 1.87 ▼3.56 | 6.55 ▼642.98 |
Media Library /wp-admin/upload.php | 1.87 ▼1.13 | 5.98 ▼27.03 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP To Trello
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,723 ▲151 | 15.63 ▲0.10 | 8.35 ▼8.18 | 46.25 ▲2.23 |
Dashboard /wp-admin | 3,006 ▲75 | 6.03 ▼0.06 | 171.07 ▲25.70 | 110.85 ▼2.99 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.73 ▲0.01 | 74.26 ▲6.69 | 89.30 ▲5.06 |
Add New Post /wp-admin/post-new.php | 1,696 ▲24 | 18.80 ▼0.09 | 415.57 ▲25.18 | 112.02 ▲1.99 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.05 ▲0.02 | 161.27 ▲2.68 | 115.87 ▼2.40 |
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
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5505
load_plugin_textdomain was called with an argument that is deprecated since version 2.7.0 with no alternative available.
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-to-trello/wp-to-trello.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-to-trello/views/sharingTrello-post-setting.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-to-trello/views/sharingTrello-ApiKey-setting.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Enter your trello API key), #2 (Set which board list the card will be created in when you post to wordpress)
wp-to-trello/wp-to-trello.php Passed 13 tests
The main file in "WP To Trello" v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
124 characters long description:
This plugin integrates wordpress and Trello.When you post an article to wordpress, this plugin will create a card in Trello.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected368 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 58 | 38 | 329 |
PO File | 1 | 11 | 11 | 39 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
2 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wp-to-trello-screenshot-2.png | 34.64KB | 11.28KB | ▼ 67.44% |
wp-to-trello-screenshot-1.png | 34.98KB | 10.85KB | ▼ 68.97% |